NetBSD Problem Report #41208
From dyoung@cuw.ojctech.com Tue Apr 14 20:52:09 2009
Return-Path: <dyoung@cuw.ojctech.com>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id AC8FB63BD8A
for <gnats-bugs@gnats.NetBSD.org>; Tue, 14 Apr 2009 20:52:09 +0000 (UTC)
Message-Id: <20090414194803.3B33C28036@cuw.ojctech.com>
Date: Tue, 14 Apr 2009 14:48:03 -0500 (CDT)
From: dyoung@cuw.ojctech.com
Reply-To: dyoung@netbsd.org
To: gnats-bugs@gnats.NetBSD.org
Subject: objcopy -S -O binary aborts w/ BFD internal error
X-Send-Pr-Version: 3.95
>Number: 41208
>Category: toolchain
>Synopsis: objcopy -S -O binary aborts w/ BFD internal error
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: toolchain-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Apr 14 20:55:02 +0000 2009
>Closed-Date: Sun May 29 23:42:26 +0000 2016
>Last-Modified: Sun May 29 23:42:26 +0000 2016
>Originator: David Young
>Release: NetBSD 5.99.10
>Organization:
OJC Technologies
>Environment:
System: NetBSD cuw.ojctech.com 2.99.10 NetBSD 2.99.10 (GENERIC.cuw) #0: Sun Nov 14 15:35:49 CST 2004 dyoung@cuw.ojctech.com:/u3/dyoung/pristine-nbsd/O/sys/arch/i386/compile/GENERIC.cuw i386
Architecture: i386
Machine: i386
>Description:
When I use objcopy(1) built by 'build.sh tools' to try to convert an
i386 ELF kernel with embedded ramdisk to a "raw" binary, objcopy aborts
with a "BFD 2.16.1 internal error".
>How-To-Repeat:
% file skyking-14-Apr-2009.md
skyking-14-Apr-2009.md: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, not stripped
% /u3/dyoung/pristine-nbsd/T/bin/i486--netbsdelf-objcopy -S -O binary ./skyking-14-Apr-2009.md skyking-14-Apr-2009.md.b
BFD: BFD 2.16.1 internal error, aborting at /u3/dyoung/pristine-nbsd/src/gnu/dist/binutils/bfd/elfcode.h line 190 in bfd_elf32_swap_symbol_in
BFD: Please report this bug.
%
>Fix:
Unknown.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 31 Dec 2011 19:38:46 +0000
State-Changed-Why:
Does this still happen with the new binutils?
State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 22 Jan 2012 18:20:25 +0000
State-Changed-Why:
Fix submitter's address...
State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 22 Jan 2012 18:20:50 +0000
State-Changed-Why:
...and try again:
Does this still happen with the new binutils?
State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Tue, 31 Dec 2013 17:09:15 +0000
State-Changed-Why:
update sender address
State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Tue, 31 Dec 2013 17:10:36 +0000
State-Changed-Why:
and try again:
Does this still happen with the new binutils?
(at the time, this meant the binutils now in -6; the newer binutils now
in -current is also a reasonable candidaet)
From: "Greg A. Woods" <woods@planix.ca>
To: NetBSD GNATS <gnats-bugs@NetBSD.org>
Cc:
Subject: Re: toolchain/41208: objcopy -S -O binary aborts w/ BFD internal error
Date: Fri, 13 Mar 2015 12:55:26 -0700
--pgp-sign-Multipart_Fri_Mar_13_12:55:26_2015-1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
FYI I just encountered this same error when building an INSTALL kernel
image on netbsd-5/amd64.
The problem was resolved by re-instating the "no options
MEMORY_DISK_DYNAMIC" line that I'd accidentally removed from the config.
I.e. with MEMORY_DISK_DYNAMIC this error may(?) occur.
--=20
Greg A. Woods
Planix, Inc.
<woods@planix.com> +1 250 762-7675 http://www.planix.com/
--pgp-sign-Multipart_Fri_Mar_13_12:55:26_2015-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (NetBSD)
iEYEABECAAYFAlUDQK4ACgkQZn1xt3i/9H9VjwCg6KV6n9v1UbTUI7vr/pntN7Wx
0VEAnRXKgdaEgWeKj7CqhQxUa7CGZUuJ
=+SOj
-----END PGP SIGNATURE-----
--pgp-sign-Multipart_Fri_Mar_13_12:55:26_2015-1--
State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 29 May 2016 23:42:26 +0000
State-Changed-Why:
Multi-year feedback timeout. Problem has not been reported for any binutils
newer than the one in -5 and -5 is EOL.
>Unformatted:
(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-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.