Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76436 - nm: can't set BFD default target to `i686-pc-linux-gnu': Invalid bfd target
Summary: nm: can't set BFD default target to `i686-pc-linux-gnu': Invalid bfd target
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-02 11:39 UTC by Daniel Herzog
Modified: 2005-01-25 06:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Herzog 2005-01-02 11:39:58 UTC
The first line of the following message is repeatet quite a few times (lets say 30 times or so). this happens when compiling gcc. i switched useflags from +pie +pic to -pie -pic and adde fortran, gcj, and objc.
Running gcc-config, or rebuilding binutils didnt help. i also installed a binary gcc package - but recompile is still failing.


nm: can't set BFD default target to `i686-pc-linux-gnu': Invalid bfd target
rm -rf ./libgcc_eh.a
{ nm -pg  libgcc/./_muldi3.o libgcc/./_negdi2.o libgcc/./_lshrdi3.o libgcc/./_ashldi3.o libgcc/./_ashrdi3.o libgcc/./_cmpdi2.o libgcc/./_ucmpdi2.o libgcc/./_floatdidf.o libgcc/./_floatdisf.o libgcc/./_fixunsdfsi.o libgcc/./_fixunssfsi.o libgcc/./_fixunsdfdi.o libgcc/./_fixdfdi.o libgcc/./_fixunssfdi.o libgcc/./_fixsfdi.o libgcc/./_fixxfdi.o libgcc/./_fixunsxfdi.o libgcc/./_floatdixf.o libgcc/./_fixunsxfsi.o libgcc/./_fixtfdi.o libgcc/./_fixunstfdi.o libgcc/./_floatditf.o libgcc/./_clear_cache.o libgcc/./_trampoline.o libgcc/./__main.o libgcc/./_exit.o libgcc/./_absvsi2.o libgcc/./_absvdi2.o libgcc/./_addvsi3.o libgcc/./_addvdi3.o libgcc/./_subvsi3.o libgcc/./_subvdi3.o libgcc/./_mulvsi3.o libgcc/./_mulvdi3.o libgcc/./_negvsi2.o libgcc/./_negvdi2.o libgcc/./_ctors.o libgcc/./_stack_smash_handler.o libgcc/./_ffssi2.o libgcc/./_ffsdi2.o libgcc/./_clz.o libgcc/./_clzsi2.o libgcc/./_clzdi2.o libgcc/./_ctzsi2.o libgcc/./_ctzdi2.o libgcc/./_popcount_tab.o libgcc/./_popcountsi2.o libgcc/./_popcountdi2.o libgcc/./_paritysi2.o libgcc/./_paritydi2.o libgcc/./_divdi3.o libgcc/./_moddi3.o libgcc/./_udivdi3.o libgcc/./_umoddi3.o libgcc/./_udiv_w_sdiv.o libgcc/./_udivmoddi4.o  libgcc/./unwind-dw2.o libgcc/./unwind-dw2-fde-glibc.o libgcc/./unwind-sjlj.o libgcc/./unwind-c.o; echo %%; \
  cat /var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/libgcc-std.ver /var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/config/libgcc-glibc.ver | sed -e "/^[    ]*#/d" -e 's/^%\(if\|else\|elif\|endif\|define\)/#\1/' \
  | ./xgcc -B./ -B/usr/i686-pc-linux-gnu/bin/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -DHAVE_SYSLOG -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -D_LIBC_PROVIDES_SSP_ -I. -I. -I/var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc -I/var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/. -I/var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/config -I/var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/../include  -E -xassembler-with-cpp -; \
} | gawk -f /var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/mkmap-symver.awk  > libgcc/./tmp-libgcc.map
ar  rc ./libgcc_eh.a libgcc/./unwind-dw2.o libgcc/./unwind-dw2-fde-glibc.o libgcc/./unwind-sjlj.o libgcc/./unwind-c.o
nm: can't set BFD default target to `i686-pc-linux-gnu': Invalid bfd target
if [ -f ranlib ] || ( [ i686-pc-linux-gnu = i686-pc-linux-gnu ] && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ) ; then \
  ranlib ./libgcc_eh.a ; \
else true; fi;
rm -rf ./libgcc.a
No symbols seen -- broken or mis-installed nm?
ar  rc ./libgcc.a libgcc/./_muldi3.oS libgcc/./_negdi2.oS libgcc/./_lshrdi3.oS libgcc/./_ashldi3.oS libgcc/./_ashrdi3.oS libgcc/./_cmpdi2.oS libgcc/./_ucmpdi2.oS libgcc/./_floatdidf.oS libgcc/./_floatdisf.oS libgcc/./_fixunsdfsi.oS libgcc/./_fixunssfsi.oS libgcc/./_fixunsdfdi.oS libgcc/./_fixdfdi.oS libgcc/./_fixunssfdi.oS libgcc/./_fixsfdi.oS libgcc/./_fixxfdi.oS libgcc/./_fixunsxfdi.oS libgcc/./_floatdixf.oS libgcc/./_fixunsxfsi.oS libgcc/./_fixtfdi.oS libgcc/./_fixunstfdi.oS libgcc/./_floatditf.oS libgcc/./_clear_cache.oS libgcc/./_trampoline.oS libgcc/./__main.oS libgcc/./_exit.oS libgcc/./_absvsi2.oS libgcc/./_absvdi2.oS libgcc/./_addvsi3.oS libgcc/./_addvdi3.oS libgcc/./_subvsi3.oS libgcc/./_subvdi3.oS libgcc/./_mulvsi3.oS libgcc/./_mulvdi3.oS libgcc/./_negvsi2.oS libgcc/./_negvdi2.oS libgcc/./_ctors.oS libgcc/./_stack_smash_handler.oS libgcc/./_ffssi2.oS libgcc/./_ffsdi2.oS libgcc/./_clz.oS libgcc/./_clzsi2.oS libgcc/./_clzdi2.oS libgcc/./_ctzsi2.oS libgcc/./_ctzdi2.oS libgcc/./_popcount_tab.oS libgcc/./_popcountsi2.oS libgcc/./_popcountdi2.oS libgcc/./_paritysi2.oS libgcc/./_paritydi2.oS libgcc/./_divdi3.oS libgcc/./_moddi3.oS libgcc/./_udivdi3.oS libgcc/./_umoddi3.oS libgcc/./_udiv_w_sdiv.oS libgcc/./_udivmoddi4.oS libgcc/./_eprintf.oS libgcc/./_bb.oS libgcc/./__gcc_bcmp.oS
make[3]: *** [libgcc/./libgcc.map] Error 1
make[3]: *** Waiting for unfinished jobs....
if [ -f ranlib ] || ( [ i686-pc-linux-gnu = i686-pc-linux-gnu ] && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ) ; then \
  ranlib ./libgcc.a ; \
else true; fi;
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/gcc-3.3.4-r1/work/build/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/var/tmp/portage/gcc-3.3.4-r1/work/build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.3.4-r1/work/build/gcc'
make: *** [bootstrap-lean] Error 2

!!! ERROR: sys-devel/gcc-3.3.4-r1 failed.
!!! Function src_compile, Line 547, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:




hoshino packages # emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r6 i686)
=================================================================
System uname: 2.6.9-gentoo-r6 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -mmmx -m3dnow -Os -pipe -fomit-frame-pointer
-frename-registers -ftracer -fforce-addr -finline-functions"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-tbird -mmmx -m3dnow -Os -pipe -fomit-frame-pointer
-frename-registers -ftracer -fforce-addr -finline-functions"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp.gentoo.mesh-solutions.com/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex S3TC X acpi adns alsa apache2 async atlas audiofile avi
bash-completion bcmath bidi bzlib cairo calendar cap cdparanoia cdrom cgi chroot
client codecs cpdflib crypt css ctype cups curl curlwrappers dedicated dga dio
distcache distribution divx4linux dts dv encode ethereal exif extensions fastcgi
fbcon fdftk fftw flac flash flood fmod foomaticdb fortran freetype ftp gcj geoip
gif gimp gimpprint glitz gmttria gnutls gphoto2 gs gstreamer gtk gtk2 hal hbci
iconv imlib imlib2 intl isdn jabber jikes joystick jp2 jpeg lcms ldap lesstif
libedit mad make-busybox-symlinks makecheck memlimit mhash mime ming mixer mjpeg
mmap mmx mng mozilla mozsvg mp3 mpeg mpeg4 mpi mplayer native ncurses net
network nis nls nntp no-old-linux no-opts no_wxgtk1 nocardbus nocd nodrm
noplugin nowin nptl ntlm nvidia objc ocaml offensive oggvorbis openal opengl
operanom2 opie pam pcntl pcre pda perl png pnp posix ppds print pthreads python
qemu-fast qt quicktime readline real recode rtc ruby sasl savedconfig sdl
session shared sharedmem silc simplexml slang slp sms snmp snortsam sockets
socks5 speex spell sqlite sqlite3 src ssl stats svg svga sysvipc szip tcltk
threads tidy transcode truetype truetype-fonts unicode uptimed usb userlocales
v4l v4l2 vcd vcdimager wddx wmf wxwin wxwindows xine xml xml2 xmlrpc xmms xosd
xpm xprint xscreensaver xsl xv xvid xvmc zlib linguas_de"
Comment 1 Daniel Herzog 2005-01-02 11:41:21 UTC
Of course it is possible that other things broke it, i gave as much info as i can think of right now.
If you need any thing else, tell me.
Comment 2 Daniel Herzog 2005-01-25 06:48:24 UTC
Dont know about it, reinstalled anyway because of a cpu upgrade and other ugly stuff.