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:          feedback
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 14 20:55:02 +0000 2009
>Closed-Date:    
>Last-Modified:  Tue Dec 31 17:10:36 +0000 2013
>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)


>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.