xmingw-binutils has previously comipled successfully for me, but after upgrading to gcc-4.1, it fails. relevant output: gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -I. -I. -I../bfd -I./../bfd -I./../include -I./../intl -I../intl -DLOCALEDIR="\"/opt/xmi ngw/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation -W -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -march=athlon- xp -pipe -fforce-addr -c dllwrap.c dllwrap.c:104: error: static declaration of 'program_name' follows non-static declaration bucomm.h:179: error: previous declaration of 'program_name' was here dllwrap.c: In function 'main': dllwrap.c:1046: warning: signed and unsigned type in conditional expression make[3]: *** [dllwrap.o] Error 1 make[3]: *** Waiting for unfinished jobs.... readelf.c: In function 'display_debug_macinfo': readelf.c:7217: warning: pointer targets in passing argument 2 of 'read_leb128' differ in signedness readelf.c:7219: warning: pointer targets in passing argument 2 of 'read_leb128' differ in signedness readelf.c:7231: warning: pointer targets in passing argument 2 of 'read_leb128' differ in signedness readelf.c:7233: warning: pointer targets in assignment differ in signedness readelf.c:7239: warning: pointer targets in passing argument 2 of 'read_leb128' differ in signedness readelf.c:7241: warning: pointer targets in assignment differ in signedness readelf.c:7250: warning: pointer targets in passing argument 2 of 'read_leb128' differ in signedness readelf.c:7252: warning: pointer targets in assignment differ in signedness readelf.c: In function 'display_debug_frames': readelf.c:8753: warning: pointer targets in assignment differ in signedness readelf.c:8754: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness readelf.c:8754: warning: pointer targets in assignment differ in signedness readelf.c:8809: warning: pointer targets in assignment differ in signedness make[3]: Leaving directory `/var/tmp/portage/xmingw-binutils-2.15.90.0.2/work/binutils-2.15.90.0.2/binutils' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/xmingw-binutils-2.15.90.0.2/work/binutils-2.15.90.0.2/binutils' make[1]: *** [all-recursive-am] Error 2 make[1]: Leaving directory `/var/tmp/portage/xmingw-binutils-2.15.90.0.2/work/binutils-2.15.90.0.2/binutils' make: *** [all-binutils] Error 2 emerge --info: Portage 2.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r4 i686) ================================================================= System uname: 2.6.17-gentoo-r4 i686 AMD Sempron(tm) 2400+ Gentoo Base System version 1.12.4 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O1 -march=athlon-xp -pipe -fforce-addr" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O1 -march=athlon-xp -pipe -fforce-addr" DISTDIR="/usr/local/src" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict" GENTOO_MIRRORS="http://mirror.isp.net.au/ftp/pub/gentoo http://planetmirror.com/pub/gentoo http://mirror.pacific.net.au/linux/Gentoo http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LC_ALL="en_AU" MAKEOPTS="-j2" PKGDIR="/usr/local/src/packages" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/var/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" USE="x86 X aac acpi alsa apache2 asf audiofile avi bash-completion berkdb bitmap-fonts bzip2 caps cdparanoia cdr cjk cli crypt curl directfb dlloader dri dvd emacs encode exif expat fam fastcgi ffmpeg flac gcj gd gdbm gif glut gmp gnutls gpm gtk gtk2 idn imagemagick imap imlib ipv6 isdnlog javascript jpeg lcms libg++ logrotate mad maildir mbox mhash mime mng mp3 mpeg mysql ncurses nls nptl nptlonly nvidia offensive ogg oggvorbis openal opengl pam pcre perl php png ppds pppd python qt4 readline real reflection samba sdl session slang sockets speex spell spl srvdir ssl tcltk tcpd tetex theora threads tiff timidity truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs xcomposite xine xml xml2 xmms xorg xsl xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia video_cards_nv video_cards_vesa video_cards_fbdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS
*** This bug has been marked as a duplicate of 117489 ***