Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: Cross-compilation of Crypto++ with i686-pc-mingw32-g++ fails https://bugzilla.redhat.com/show_bug.cgi?id=567847 Summary: Cross-compilation of Crypto++ with i686-pc-mingw32-g++ fails Product: Fedora Version: 11 Platform: x86_64 OS/Version: Linux Status: NEW Severity: high Priority: low Component: mingw32-gcc AssignedTo: rjo...@redhat.com ReportedBy: ian.culli...@nicta.com.au QAContact: extras...@fedoraproject.org CC: berra...@redhat.com, rjo...@redhat.com, ka...@smartlink.ee, fedora-mi...@lists.fedoraproject.org Classification: Fedora Description of problem: Trying to build cryptopp-5.6.0 (from http://www.cryptopp.com/) fails with an error message asking you to submit a bug report. Version-Release number of selected component (if applicable): mingw32-gcc-4.4.0-0.7.fc11.x86_64 mingw32-gcc-c++-4.4.0-0.7.fc11.x86_64 How reproducible: Always Steps to Reproduce: 1. Download and unpack the cryptopp-5.6.0 source from http://www.cryptopp.com/ 2. Download and apply this patch: http://cvs.fedoraproject.org/viewvc/rpms/cryptopp/F-11/cryptopp-5.6.1-autotools.patch?revision=1.1&view=co 3. rm GNUmakefile 4. autoreconf --verbose --force --install 5. mingw32-configure 6. sed -i -e '1 i #define CRYPTOPP_DISABLE_SSE2' config.h (to disable SSE2, which apparently doesn't build in x86_64) 7. make Actual results: *** buffer overflow detected ***: /usr/lib64/gcc/i686-pc-mingw32/4.4.0/../../../../i686-pc-mingw32/bin/as terminated ======= Backtrace: ========= /lib64/libc.so.6(__fortify_fail+0x37)[0x7fc762127507] /lib64/libc.so.6[0x7fc762125560] /lib64/libc.so.6[0x7fc7621249b9] /lib64/libc.so.6(_IO_default_xsputn+0x98)[0x7fc7620a3b88] /lib64/libc.so.6(_IO_vfprintf+0x18a9)[0x7fc762076389] /lib64/libc.so.6(__vsprintf_chk+0x9d)[0x7fc762124a5d] /lib64/libc.so.6(__sprintf_chk+0x7f)[0x7fc76212499f] /usr/lib64/gcc/i686-pc-mingw32/4.4.0/../../../../i686-pc-mingw32/bin/as[0x44a58d] /usr/lib64/gcc/i686-pc-mingw32/4.4.0/../../../../i686-pc-mingw32/bin/as[0x43ad5f] /usr/lib64/gcc/i686-pc-mingw32/4.4.0/../../../../i686-pc-mingw32/bin/as[0x413fc5] /usr/lib64/gcc/i686-pc-mingw32/4.4.0/../../../../i686-pc-mingw32/bin/as[0x49b9a7] /usr/lib64/gcc/i686-pc-mingw32/4.4.0/../../../../i686-pc-mingw32/bin/as[0x49ba66] /usr/lib64/gcc/i686-pc-mingw32/4.4.0/../../../../i686-pc-mingw32/bin/as[0x4045c5] /lib64/libc.so.6(__libc_start_main+0xfd)[0x7fc76204ea4d] /usr/lib64/gcc/i686-pc-mingw32/4.4.0/../../../../i686-pc-mingw32/bin/as[0x401ec9] ======= Memory map: ======== 00400000-00506000 r-xp 00000000 08:05 194639 /usr/i686-pc-mingw32/bin/as 00706000-00708000 rw-p 00106000 08:05 194639 /usr/i686-pc-mingw32/bin/as 00708000-00716000 rw-p 00000000 00:00 0 01ec8000-084ae000 rw-p 00000000 00:00 0 [heap] 7fc761b25000-7fc761b3e000 r-xp 00000000 08:05 14563 /lib64/libgcc_s-4.4.1-20090729.so.1 7fc761b3e000-7fc761d3e000 ---p 00019000 08:05 14563 /lib64/libgcc_s-4.4.1-20090729.so.1 7fc761d3e000-7fc761d3f000 rw-p 00019000 08:05 14563 /lib64/libgcc_s-4.4.1-20090729.so.1 7fc761d5d000-7fc762030000 rw-p 00000000 00:00 0 7fc762030000-7fc762194000 r-xp 00000000 08:05 11813 /lib64/libc-2.10.2.so 7fc762194000-7fc762394000 ---p 00164000 08:05 11813 /lib64/libc-2.10.2.so 7fc762394000-7fc762398000 r--p 00164000 08:05 11813 /lib64/libc-2.10.2.so 7fc762398000-7fc762399000 rw-p 00168000 08:05 11813 /lib64/libc-2.10.2.so 7fc762399000-7fc76239e000 rw-p 00000000 00:00 0 7fc76239e000-7fc7623bd000 r-xp 00000000 08:05 140 /lib64/ld-2.10.2.so 7fc7623d7000-7fc76259c000 rw-p 00000000 00:00 0 7fc7625ba000-7fc7625bc000 rw-p 00000000 00:00 0 7fc7625bc000-7fc7625bd000 r--p 0001e000 08:05 140 /lib64/ld-2.10.2.so 7fc7625bd000-7fc7625be000 rw-p 0001f000 08:05 140 /lib64/ld-2.10.2.so 7fff78d8b000-7fff78da0000 rw-p 00000000 00:00 0 [stack] 7fff78dff000-7fff78e00000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] i686-pc-mingw32-g++: Internal error: Aborted (program as) Please submit a full bug report. See <http://bugzilla.redhat.com/bugzilla> for instructions. make[1]: *** [regtest.o] Error 1 make[1]: Leaving directory `/home/icullinan/Download/cryptopp-5.6.0' make: *** [all] Error 2 Expected results: The library builds without error. Additional info: If you want to skip straight to the crashing, just run: i686-pc-mingw32-g++ -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields -MT regtest.o -MD -MP -MF .deps/regtest.Tpo -c -o regtest.o regtest.cpp -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ mingw mailing list mingw@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/mingw