NetBSD-Bugs archive

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

kern/46176: netbsd-5 failed to cross-compiled on gentoo hardened with gcc-4.5.X but compiled fine with gcc-4.4.X



>Number:         46176
>Category:       kern
>Synopsis:       netbsd-5 failed to cross-compiled on gentoo hardened with 
>gcc-4.5.X but compiled fine with gcc-4.4.X
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 11 18:10:00 +0000 2012
>Originator:     loux thefuture
>Release:        NetBSD-5
>Organization:
my home
>Environment:
Linux atom 3.2.2-hardened-r1 #1 SMP Fri Feb 3 13:56:33 CET 2012 x86_64 Intel(R) 
Core(TM) i5-2400 CPU @ 3.10GHz GenuineIntel GNU/Linux
>Description:
Compiling netbsd-5 on Linux (gentoo hardened) with gcc-4.5.X failed but compile 
fine with gcc-4.4 :
<-
#     build  libgcc_eh/libgcc_eh.a
rm -f libgcc_eh.a
/home/netbsd/netbsd-5/201202282310Z/build/usr/src/../obj32/bin/i386--netbsdelf-ar
 cq libgcc_eh.a 
`NM=/home/netbsd/netbsd-5/201202282310Z/build/usr/src/../obj32/bin/i386--netbsdelf-nm
 
NM=/home/netbsd/netbsd-5/201202282310Z/build/usr/src/../obj32/bin/i386--netbsdelf-nm
 MKTEMP=/home/netbsd/netbsd-5/201202282310Z/build/usr/src/../obj32/bin/nbmktemp 
/home/netbsd/netbsd-5/201202282310Z/build/usr/src/../obj32/bin/nblorder 
unwind-dw2.o unwind-dw2-fde.o unwind-sjlj.o gthr-gnat.o unwind-c.o | 
/home/netbsd/netbsd-5/201202282310Z/build/usr/src/../obj32/bin/nbtsort -q`
*** buffer overflow detected ***: i386--netbsdelf-ar - terminated
i386--netbsdelf-ar: buffer overflow attack in function <unknown> - terminated
Report to http://bugs.gentoo.org/
 sh: line 8: 14290 Killed                  
/home/netbsd/netbsd-5/201202282310Z/build/usr/src/../obj32/bin/i386--netbsdelf-ar
 cq libgcc_eh.a 
`NM=/home/netbsd/netbsd-5/201202282310Z/build/usr/src/../obj32/bin/i386--netbsdelf-nm
 
NM=/home/netbsd/netbsd-5/201202282310Z/build/usr/src/../obj32/bin/i386--netbsdelf-nm
 MKTEMP=/home/netbsd/netbsd-5/201202282310Z/build/usr/src/../obj32/bin/nbmktemp 
/home/netbsd/netbsd-5/201202282310Z/build/usr/src/../obj32/bin/nblorder 
unwind-dw2.o unwind-dw2-fde.o unwind-sjlj.o gthr-gnat.o unwind-c.o | 
/home/netbsd/netbsd-5/201202282310Z/build/usr/src/../obj32/bin/nbtsort -q`
*** [libgcc_eh.a] Error code 137
1 error

nbmake: stopped in 
/home/netbsd/netbsd-5/201202282310Z/build/usr/src/gnu/lib/libgcc4/libgcc_eh
*** [dependall] Error code 2
1 error
->

>How-To-Repeat:
get latest netbsd-5 either by cvs or sets of sources and try to run ./build.sh 
to compile the GENERIC kernel on Linux (Gentoo hardened gcc-4.5.X amd64)
>Fix:
i don't know



Home | Main Index | Thread Index | Old Index