-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/4/2010 06:57, Larry Robinson wrote: > I'm trying to install the w64 compiler on a Ubuntu Linux machine, > following the instructions at: > http://sourceforge.net/apps/trac/mingw-w64/wiki/Cross Win32 and Win64 > compiler > > I am unable to build the shared 64 bit libgcc_s_sjlj-1.dll > > Tracking down the problem, it seems that the compiler emits symbols with > a leading underscore, but attempts to export those symbols without the > leading underscore in 64 bit mode (The 32-bit libgcc_s_sjlj-1.dll was > built with no problems). All exports fail with a message like: > > Cannot export _Unwind_Backtrace: symbol not defined. > > Using x86_64-w64-mingw32-nm to examine the intermediate library > .../build/x86_64-w64-mingw32/libgcc/shlib/libgcc_s.a.tmp, I can see the > symbols: > > libgcc_s.a.tmp:d000001.o:0000000000000000 T __Unwind_Backtrace > libgcc_s.a.tmp:d000001.o:0000000000000000 I __imp___Unwind_Backtrace > > Apparently in 64 bit mode GCC-4.5.1 tries to export the symbols without > the leading underscore when building a dll, and then fails when it can't > find the symbol. > > Here's my configuration: > > GCC-4.5 exported from the 4.5 branch, Revision 167434 on 12/3/2010. > Binutils 2.20.1 > > configure -v --with-pkgversion='GCC Mingw-w64 cross compiler' > --{host,build}=x86_64-linux-gnu --target=x86_64-w64-mingw32 > --enable-multilib --enable-64bit > --{prefix,with-sysroot}=/usr/local/Mingw-w64 --enable-static > --enable-shared=libgcc --enable-fully-dynamic-string > --enable-languages=c --enable-libssp --with-host-libstdcxx="-lstdc++ > -lsupc++" --with-{gmp,mpfr,mpc,cloog,ppl}=/usr --with-gnu-ld > --with-system-zlib --disable-werror --enable-targets=all > --enable-threads=win32 --enable-lto >
Hi, your binutils is too old, use the cvs version instead, or wait for the next release. GCC-4.5.0 and GCC 4.5.X ABI changed for win64. The latter is now using msvc compatible symbols. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (MingW32) iEYEARECAAYFAkz5nVMACgkQp56AKe10wHdICACfeIGCJajhyZYoQkFXCtlTqt0z yY0AoIGKCRy/OPghiehMI/x/+wgSuXZ4 =PSiA -----END PGP SIGNATURE-----
0xED74C077.asc
Description: application/pgp-keys
------------------------------------------------------------------------------ What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public