NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[cross-compile] netbsd 5.1 with gcc-4.5.3 failed



with netbsd-5.1 201110091140Z (and older too) and gcc-4.5.3 amd64,
the cross-compile failed but works with gcc-4.4.5 :


*** buffer overflow detected ***: /home/netbsd/netbsd-5-1/201110091140Z/build/usr/src/../obj/bin/i386--netbsdelf-ar terminated
======= Backtrace: =========
/lib64/libc.so.6(__fortify_fail+0x37)[0x7fe65b121557]
/lib64/libc.so.6(+0xe83b0)[0x7fe65b11f3b0]
/lib64/libc.so.6(+0xe7749)[0x7fe65b11e749]
/lib64/libc.so.6(_IO_default_xsputn+0x83)[0x7fe65b0aa5a3]
/lib64/libc.so.6(_IO_padn+0xa8)[0x7fe65b09ea18]
/lib64/libc.so.6(_IO_vfprintf+0x2a83)[0x7fe65b07e813]
/lib64/libc.so.6(__vsprintf_chk+0x9d)[0x7fe65b11e7ed]
/lib64/libc.so.6(__sprintf_chk+0x7f)[0x7fe65b11e72f]
/home/netbsd/netbsd-5-1/201110091140Z/build/usr/src/../obj/bin/i386--netbsdelf-ar[0x406880]
/home/netbsd/netbsd-5-1/201110091140Z/build/usr/src/../obj/bin/i386--netbsdelf-ar[0x40866a]
/home/netbsd/netbsd-5-1/201110091140Z/build/usr/src/../obj/bin/i386--netbsdelf-ar[0x40f018]
/home/netbsd/netbsd-5-1/201110091140Z/build/usr/src/../obj/bin/i386--netbsdelf-ar[0x4039c5]
/home/netbsd/netbsd-5-1/201110091140Z/build/usr/src/../obj/bin/i386--netbsdelf-ar[0x403dc1]
/home/netbsd/netbsd-5-1/201110091140Z/build/usr/src/../obj/bin/i386--netbsdelf-ar[0x404a9a]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x7fe65b058e9d]
/home/netbsd/netbsd-5-1/201110091140Z/build/usr/src/../obj/bin/i386--netbsdelf-ar[0x401ea9]
======= Memory map: ========
00400000-0046f000 r-xp 00000000 08:03 11160655 /home/netbsd/netbsd-5-1/201110091140Z/build/usr/obj/bin/i386--netbsdelf-ar 0066e000-0066f000 r--p 0006e000 08:03 11160655 /home/netbsd/netbsd-5-1/201110091140Z/build/usr/obj/bin/i386--netbsdelf-ar 0066f000-00670000 rw-p 0006f000 08:03 11160655 /home/netbsd/netbsd-5-1/201110091140Z/build/usr/obj/bin/i386--netbsdelf-ar
00670000-00674000 rw-p 00000000 00:00 0
024e8000-0252a000 rw-p 00000000 00:00 0 [heap] 7fe65ae21000-7fe65ae36000 r-xp 00000000 08:03 5112156 /lib64/libgcc_s.so.1 7fe65ae36000-7fe65b035000 ---p 00015000 08:03 5112156 /lib64/libgcc_s.so.1 7fe65b035000-7fe65b036000 r--p 00014000 08:03 5112156 /lib64/libgcc_s.so.1 7fe65b036000-7fe65b037000 rw-p 00015000 08:03 5112156 /lib64/libgcc_s.so.1 7fe65b037000-7fe65b198000 r-xp 00000000 08:03 5112142 /lib64/libc-2.12.2.so 7fe65b198000-7fe65b398000 ---p 00161000 08:03 5112142 /lib64/libc-2.12.2.so 7fe65b398000-7fe65b39c000 r--p 00161000 08:03 5112142 /lib64/libc-2.12.2.so 7fe65b39c000-7fe65b39d000 rw-p 00165000 08:03 5112142 /lib64/libc-2.12.2.so
7fe65b39d000-7fe65b3a2000 rw-p 00000000 00:00 0
7fe65b3a2000-7fe65b3c0000 r-xp 00000000 08:03 5112140 /lib64/ld-2.12.2.so
7fe65b587000-7fe65b58a000 rw-p 00000000 00:00 0
7fe65b5be000-7fe65b5bf000 rw-p 00000000 00:00 0
7fe65b5bf000-7fe65b5c0000 r--p 0001d000 08:03 5112140 /lib64/ld-2.12.2.so 7fe65b5c0000-7fe65b5c1000 rw-p 0001e000 08:03 5112140 /lib64/ld-2.12.2.so
7fe65b5c1000-7fe65b5c2000 rw-p 00000000 00:00 0
7fff92f35000-7fff92f58000 rw-p 00000000 00:00 0 [stack] 7fff92fff000-7fff93000000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
1 error

ERROR: Failed to make all in /home/netbsd/netbsd-5-1/201110091140Z/build/usr/src/../obj/sys/arch/i386/compile/GENERIC
*** BUILD ABORTED ***




Home | Main Index | Thread Index | Old Index