I am trying to compile ImageMagic-6.1.8.8 but everytime the compilation fails with the following error. ... /bin/sh ./libtool --silent --tag=CC --mode=link i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -fomit-frame-pointer -funroll-loops -msse -m3dnow -mmmx -mfpmath=sse,387 -pipe -ffast-math -Wall -pthread -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s -lfreetype -lz -L/usr/lib -o coders/cip.la -rpath /usr/lib/ImageMagick-6.1.8/modules-Q16/coders -no-undefined -module -avoid-version coders/coders_cip_la-cip.lo magick/libMagick.la /bin/sh ./libtool --silent --tag=CC --mode=link i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -fomit-frame-pointer -funroll-loops -msse -m3dnow -mmmx -mfpmath=sse,387 -pipe -ffast-math -Wall -pthread -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s -lfreetype -lz -L/usr/lib -o coders/clip.la -rpath /usr/lib/ImageMagick-6.1.8/modules-Q16/coders -no-undefined -module -avoid-version coders/coders_clip_la-clip.lo magick/libMagick.la /bin/sh ./libtool --silent --tag=CC --mode=link i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -fomit-frame-pointer -funroll-loops -msse -m3dnow -mmmx -mfpmath=sse,387 -pipe -ffast-math -Wall -pthread -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s -lfreetype -lz -L/usr/lib -o coders/cmyk.la -rpath /usr/lib/ImageMagick-6.1.8/modules-Q16/coders -no-undefined -module -avoid-version coders/coders_cmyk_la-cmyk.lo magick/libMagick.la /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: BFD 2.15.92.0.2 20040927 internal error, aborting at elflink.c line 6103 in elf_link_output_extsym /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: Please report this bug. collect2: ld returned 1 exit status make[1]: *** [coders/cmyk.la] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/imagemagick-6.1.8.8/work/ImageMagick-6.1.8' make: *** [all] Error 2 It always happens at the same point. Reproducible: Always Steps to Reproduce: 1. emerge imagemagick 2. 3. Actual Results: Failed to compile. Expected Results: Succesfull compilation. # emerge info Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-nitro4 i686) ================================================================= System uname: 2.6.10-nitro4 i686 AMD Athlon(tm) Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 17 2005, 08:46:28)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.9.4, 1.5 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -funroll-loops -msse -m3dnow -mmmx -mfpmath=sse,387 -pipe -ffast-math" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /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/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -funroll-loops -msse -m3dnow -mmmx -mfpmath=sse,387 -pipe -ffast-math -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://www.linorg.usp.br/gentoo/ http://gentoo.mirrors.pair.com" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 #cpu #gcc #glibc #gnome #graphics #hardware #kde #other #perl #print #sound #video 3dnow X aalib acpi alsa avi berkdb cdr crypt curl dvd dvdr emboss encode f77 fam fbcon flac gdbm gif gpm imagemagick imlib ithreads java jpeg kde kdeenablefinal libg++ libwww lirc mad mikmod mmx motif mpeg ncurses nls nptl oggvorbis opengl pam pdflib perl pic png python qt quicktime readline sdl specific spell sse ssl svga tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 xine xml2 xv xvid zlib linguas_pt_BR" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL
Please retry with sane flags, e.g. "-O2 -march=athlon-xp -fomit-frame-pointer -pipe". If this doesn't help, it's likely that you have a hardware problem.