NetBSD Problem Report #46176

From www@NetBSD.org  Sun Mar 11 18:09:57 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 25D7063E0EE
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 11 Mar 2012 18:09:57 +0000 (UTC)
Message-Id: <20120311180956.2646063B8C0@www.NetBSD.org>
Date: Sun, 11 Mar 2012 18:09:56 +0000 (UTC)
From: loux.thefuture@gmail.com
Reply-To: loux.thefuture@gmail.com
To: gnats-bugs@NetBSD.org
Subject: netbsd-5 failed to cross-compiled on gentoo hardened with gcc-4.5.X but compiled fine with gcc-4.4.X
X-Send-Pr-Version: www-1.0

>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:          closed
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 11 18:10:00 +0000 2012
>Closed-Date:    Sat Dec 19 02:43:21 +0000 2015
>Last-Modified:  Sat Dec 19 02:43:21 +0000 2015
>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

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 19 Dec 2015 02:43:21 +0000
State-Changed-Why:
-5 is now EOL.

It appears nobody ever responded to this report at all... sorry about that.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.