View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0002112 | Spring engine | Linux | public | 2010-09-12 19:20 | 2010-09-13 19:30 | ||||
Reporter | spliff | ||||||||
Assigned To | abma | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | resolved | Resolution | won't fix | ||||||
Product Version | 0.82.5 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0002112: ArchiveBuilder fails to link under mingw cross-compile. Boost error | ||||||||
Description | * i686-pc-mingw32-gcc version 4.4.3 (Gentoo 4.4.3-r2 p1.2) * using prebuilt mingwlibs from Spring github (boost 1.42) | ||||||||
Additional Information | Linking CXX executable ArchiveMover.exe cd /mnt/work/workspace/spring-patch-git/win32/build/tools/ArchiveMover && /usr/bin/cmake -E cmake_ link_script CMakeFiles/ArchiveMover.dir/link.txt --verbose=1 /usr/bin/i686-pc-mingw32-g++ -mwindows -march=i686 -msse -mfpmath=sse -mthreads -fsingle-precisi on-constant -frounding-math -mieee-fp -pipe -fno-strict-aliasing -O0 -Wall -Wno-sign-compare -D DEBUG -D_DEBUG -DNO_CATCH_EXCEPTIONS -gstabs -Wl,--enable-auto-import CMakeFiles/ArchiveMover.dir /ArchiveMover.cpp.obj icon.o -o ArchiveMover.exe -Wl,--out-implib,libArchiveMover.dll.a -Wl,--maj or-image-version,0,--minor-image-version,0 /mnt/work/workspace/spring-patch-git/win32/mingwlibs/l ib/libboost_system-mt.a /mnt/work/workspace/spring-patch-git/win32/mingwlibs/lib/libboost_filesyst em-mt.a ../../rts/lib/7z/lib7zip.a ../../rts/lib/minizip/libminizip.a /mnt/work/workspace/spring-p atch-git/win32/mingwlibs/dll/zlib1.dll -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -l oleaut32 -luuid -lcomdlg32 -ladvapi32 /mnt/work/workspace/spring-patch-git/win32/mingwlibs/lib/libboost_system-mt.a(error_code.o):error_ code.cpp:(.text+0x1c4): undefined reference to `__Unwind_Resume' .... | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
spliff (reporter) 2010-09-12 19:34 |
I actually solved this just as I finished writing it. The problem is caused by checking out the master branch of mingwlibs instead of the 4.4.2 branch when using gcc >= 4.4.2. |