sys-devel/prelink-20100106 fails to compile with gcc-3. source='checksum.c' object='checksum.o' libtool=no \ depfile='.deps/checksum.Po' tmpdepfile='.deps/checksum.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall -Wno-pointer-sign -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"' -Wall -Wno-pointer-sign -Os -march=pentium3 -momit-leaf-frame-pointer -c `test -f 'checksum.c' || echo './'`checksum.c cc1: error: unrecognized command line option "-Wno-pointer-sign" cc1: error: unrecognized command line option "-Wno-pointer-sign" cc1: error: unrecognized command line option "-Wno-pointer-sign" cc1: error: unrecognized command line option "-Wno-pointer-sign" make[2]: *** [checksum.o] Error 1 The problem is that -Wno-pointer-sign is only legal in gcc-4. This was added upstream - from the Changelog: 2009-06-15 Jakub Jelinek <jakub@redhat.com> [...] * src/Makefile.am (DEFS, AM_CFLAGS): Add -Wno-pointer-sign. However, gentoo still supports gcc-3, so should probably either patch it out for gcc < 4, or enforce gcc-4 for prelink. === relevant system info: # gcc-config -c i686-pc-linux-gnu-3.4.6 # cat /etc/make.conf CHOST="i686-pc-linux-gnu" CFLAGS="-Os -march=pentium3 -momit-leaf-frame-pointer" CXXFLAGS="${CFLAGS}" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2 -l1.2" USE="X acl acpi apache2 caps fam flac gif gmp icc idn jpeg libnotify logrotate lzo mbox mmap mmx motif ncurses nis nptl offensive pch pcre pic png posix spell sse ssl threads tiff truetype xattr xcb xulrunner zlib -apache2 -apm -arts -audio -bzip2 -emboss -esd -gpm -gstreamer -joystick -kde -ldap -maildir -mailwrapper -mikmod -mysql -oss -qt3 -quicktime -session -spl -tcltk -unicode -video -vorbis -xv" LINGUAS="en_GB en_US en" INPUT_DEVICES="keyboard mouse" VIDEO_CARDS="radeon vesa" ALSA_CARDS="" LCD_DEVICES="" FEATURES="ccache fixpackages noinfo userfetch userpriv usersandbox usersync" #FEATURES="ccache distcc fixpackages noinfo userfetch userpriv usersandbox" CCACHE_SIZE="4G" PORTAGE_COMPRESS="gzip" PORTAGE_COMPRESS_FLAGS="-8" PORTAGE_NICENESS=5 PORTAGE_TMPFS="/dev/shm" http_proxy="localhost:3128" ftp_proxy="localhost:3128" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.netnitco.net"
wont be fixed, time to upgrade to gcc-4.3/4.4 *** This bug has been marked as a duplicate of bug 325269 ***