Open garbear opened 7 years ago
Build error on Win64:
g++ -o mednafen_saturn_libretro.dll ... -static-libgcc -static-libstdc++ -lwinmm -shared -Wl,--no-undefined -Wl,--version-script=link.T
C:/jenkins/workspace/WIN-64/project/BuildDependencies/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: mednafen/ss/input/gamepad.o: invalid relocation type 42
C:/jenkins/workspace/WIN-64/project/BuildDependencies/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: BFD (GNU Binutils) 2.25.1 assertion fail ../../binutils-2.25.1/bfd/elf64-x86-64.c:341
C:/jenkins/workspace/WIN-64/project/BuildDependencies/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: mednafen/ss/input/gamepad.o: invalid relocation type 42
C:/jenkins/workspace/WIN-64/project/BuildDependencies/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: BFD (GNU Binutils) 2.25.1 assertion fail ../../binutils-2.25.1/bfd/elf64-x86-64.c:341
Error: 0-bit reloc in dll
Error: 0-bit reloc in dll
C:/jenkins/workspace/WIN-64/project/BuildDependencies/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: mednafen/ss/input/gamepad.o: invalid relocation type 42
C:/jenkins/workspace/WIN-64/project/BuildDependencies/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: BFD (GNU Binutils) 2.25.1 assertion fail ../../binutils-2.25.1/bfd/elf64-x86-64.c:341
C:/jenkins/workspace/WIN-64/project/BuildDependencies/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: mednafen/ss/input/gamepad.o: invalid relocation type 42
C:/jenkins/workspace/WIN-64/project/BuildDependencies/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: BFD (GNU Binutils) 2.25.1 assertion fail ../../binutils-2.25.1/bfd/elf64-x86-64.c:341
Error: 0-bit reloc in dll
Error: 0-bit reloc in dll
C:/jenkins/workspace/WIN-64/project/BuildDependencies/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: mednafen/ss/input/3dpad.o: invalid relocation type 42
C:/jenkins/workspace/WIN-64/project/BuildDependencies/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: BFD (GNU Binutils) 2.25.1 assertion fail ../../binutils-2.25.1/bfd/elf64-x86-64.c:341
C:/jenkins/workspace/WIN-64/project/BuildDependencies/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: mednafen/ss/input/3dpad.o: invalid relocation type 42
C:/jenkins/workspace/WIN-64/project/BuildDependencies/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: BFD (GNU Binutils) 2.25.1 assertion fail ../../binutils-2.25.1/bfd/elf64-x86-64.c:341
Error: 0-bit reloc in dll
Error: 0-bit reloc in dll
C:/jenkins/workspace/WIN-64/project/BuildDependencies/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: mednafen/ss/input/3dpad.o: invalid relocation type 42
C:/jenkins/workspace/WIN-64/project/BuildDependencies/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: BFD (GNU Binutils) 2.25.1 assertion fail ../../binutils-2.25.1/bfd/elf64-x86-64.c:341
C:/jenkins/workspace/WIN-64/project/BuildDependencies/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: mednafen/ss/input/3dpad.o: invalid relocation type 42
C:/jenkins/workspace/WIN-64/project/BuildDependencies/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: BFD (GNU Binutils) 2.25.1 assertion fail ../../binutils-2.25.1/bfd/elf64-x86-64.c:341
Error: 0-bit reloc in dll
Error: 0-bit reloc in dll
C:/jenkins/workspace/WIN-64/project/BuildDependencies/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: mednafen/ss/input/mouse.o: invalid relocation type 42
C:/jenkins/workspace/WIN-64/project/BuildDependencies/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: BFD (GNU Binutils) 2.25.1 assertion fail ../../binutils-2.25.1/bfd/elf64-x86-64.c:341
C:/jenkins/workspace/WIN-64/project/BuildDependencies/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: mednafen/ss/input/mouse.o: invalid relocation type 42
C:/jenkins/workspace/WIN-64/project/BuildDependencies/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: BFD (GNU Binutils) 2.25.1 assertion fail ../../binutils-2.25.1/bfd/elf64-x86-64.c:341
Error: 0-bit reloc in dll
Error: 0-bit reloc in dll
C:/jenkins/workspace/WIN-64/project/BuildDependencies/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: mednafen/ss/input/mouse.o: invalid relocation type 42
C:/jenkins/workspace/WIN-64/project/BuildDependencies/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: BFD (GNU Binutils) 2.25.1 assertion fail ../../binutils-2.25.1/bfd/elf64-x86-64.c:341
C:/jenkins/workspace/WIN-64/project/BuildDependencies/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: mednafen/ss/input/mouse.o: invalid relocation type 42
C:/jenkins/workspace/WIN-64/project/BuildDependencies/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: BFD (GNU Binutils) 2.25.1 assertion fail ../../binutils-2.25.1/bfd/elf64-x86-64.c:341
Error: 0-bit reloc in dll
Error: 0-bit reloc in dll
mednafen/ss/input/gamepad.o: In function `_GLOBAL__sub_I_gamepad.cpp':
gamepad.cpp:(.text.startup+0x29): undefined reference to `__dso_handle'
gamepad.cpp:(.text.startup+0x2f): undefined reference to `__cxa_atexit'
mednafen/ss/input/3dpad.o: In function `__static_initialization_and_destruction_0(int, int) [clone .constprop.9]':
3dpad.cpp:(.text.startup+0x38d): undefined reference to `__dso_handle'
3dpad.cpp:(.text.startup+0x395): undefined reference to `__cxa_atexit'
mednafen/ss/input/mouse.o: In function `_GLOBAL__sub_I_mouse.cpp':
mouse.cpp:(.text.startup+0x29): undefined reference to `__dso_handle'
mouse.cpp:(.text.startup+0x2f): undefined reference to `__cxa_atexit'
collect2.exe: error: ld returned 1 exit status
Makefile:370: recipe for target 'mednafen_saturn_libretro.dll' failed
make: *** [mednafen_saturn_libretro.dll] Error 1
make: Leaving directory '/xbmc/cmake/addons/build/beetle-saturn/src/beetle-saturn'
NMAKE : fatal error U1077: 'call' : return code '0x2'
Stop.
Windows build error (from jenkins):
OSX error (from jenkins):