bug-gnu-utils
[Top][All Lists]
Advanced

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

ld Bug report: BFD internal error


From: Hiroyuki Harada
Subject: ld Bug report: BFD internal error
Date: Wed, 12 Dec 2001 11:10:05 +0900

Hi all,

  I'm cross compiling/linking stuffs and ld dies with the following
  messages :

---*---*---*---*---*---*---*---*---*---*---*---*---*---*---*---*---*---*---*---*
/cross/bin//../lib/gcc-lib/sparc-netbsd/3.0.2/../../../../sparc-netbsd/bin/ld: 
BFD internal error, aborting at ../binutils-2.11.2/bfd/aoutx.h line 5059 in 
aout_link_input_section_std

/cross/bin//../lib/gcc-lib/sparc-netbsd/3.0.2/../../../../sparc-netbsd/bin/ld:
Please report this bug.

collect2: ld returned 1 exit status
---*---*---*---*---*---*---*---*---*---*---*---*---*---*---*---*---*---*---*---*

   Here I am, reporting!

   I'm using gcc 3.0.2 on a linux box (i686-linux-pc-gnu) with
   target=sparc-unknown-netbsd

   I'm using binutils-2.11.2, configured for the same target


   Configure process following:

   1. target header file copy to build machine : /netbsd/usr/include
   2. target library file copy to build machine : /netbsd/usr/lib


# tar xvzf binutils-2.11.2.tar.gz -C /usr/local/src/
# cd /usr/local/src/
# binutils-2.11.2/configure --prefix=/cross --target=sparc-netbsd
# make
# make install
# rm -fr *
# tar xvzf gcc-3.0.2.tar.gz -C /usr/local/src/
# cd /usr/local/src/
# gcc-3.0.2/configure --prefix=/cross --target=sparc-netbsd  
--enable-languages=c \
                      --with-headers=/netbsd/usr/include 
--with-libs=/netbsd/usr/lib
# export PATH=/cross/bin/:$PATH
# make 
# make install


Execute compile:
/cross/bin/sparc-netbsd-gcc hello.c -o hello

/cross/bin//../lib/gcc-lib/sparc-netbsd/3.0.2/../../../../sparc-netbsd/bin/ld: 
BFD internal error, aborting at ../binutils-2.11.2/bfd/aoutx.h line 5059 in 
aout_link_input_section_std

/cross/bin//../lib/gcc-lib/sparc-netbsd/3.0.2/../../../../sparc-netbsd/bin/ld:
 Please report this bug.

collect2: ld returned 1 exit status


I do not know what's going on.
Please help me.

---
Hiroyuki Harada             PFU LIMITED
E-mail: address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]