Possibly affects other versions of prelink. Bug similar to bug #248800, we may re-use provided fix. Reproducible: Always Steps to Reproduce: 1. gcc-config x86_64-pc-linux-gnu-3.4.6 2. emerge =sys-devel/prelink-20100106 Actual Results: Making all in src make[2]: Entering directory `/home/.tmp/portage/sys-devel/prelink-20100106/work/prelink/src' source='execstack.c' object='execstack.o' libtool=no \ depfile='.deps/execstack.Po' tmpdepfile='.deps/execstack.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ x86_64-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 -march=nocona -O2 -pipe -c `test -f 'execstack.c' || echo './'`execstack.c cc1: error: unrecognized command line option "-Wno-pointer-sign" cc1: error: unrecognized command line option "-Wno-pointer-sign" make[2]: *** [execstack.o] Error 1 make[2]: Leaving directory `/home/.tmp/portage/sys-devel/prelink-20100106/work/prelink/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/.tmp/portage/sys-devel/prelink-20100106/work/prelink' make: *** [all] Error 2 * ERROR: sys-devel/prelink-20100106 failed: * emake failed Portage 2.2_rc67 (default/linux/amd64/10.0/no-multilib, gcc-3.4.6, glibc-2.9_p20081201-r2, 2.6.32.2-cust x86_64) ================================================================= System uname: Linux-2.6.32.2-xxxx-grs-ipv4-64-x86_64-Intel-R-_Pentium-R-_4_CPU_3.06GHz-with-gentoo-1.12.13 Timestamp of tree: Wed, 23 Jun 2010 20:15:03 +0000 ccache version 2.4 [disabled] app-shells/bash: 4.0_p37 dev-lang/python: 2.6.4-r1 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.65 sys-devel/automake: 1.10.3, 1.11.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 3.4.6-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/home/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FEATURES="assume-digests collision-protect distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" LC_ALL="fr_FR.UTF-8" LDFLAGS="-Wl,-O1" MAKEOPTS="-j1"
sed -i -e 's:-Wno-pointer-sign::' src/Makefile.in || die to src_unpack() should solve this.
(and also gcc-3 isn't really supported anymore, you should upgrade)
upgrade your gcc to latest stable. i see no compelling reason at this time to make sure gcc-3.4.x is still supported.
ssuominen, vapier, Thanks for your answers - quite expected though :D
*** Bug 329719 has been marked as a duplicate of this bug. ***
Created attachment 240019 [details] prelink-20100106.ebuild does this work?
(In reply to comment #6) > Created an attachment (id=240019) [details] > prelink-20100106.ebuild > > does this work? > It does, thanks for the fix Ryan, much appreciated (though I should have been less lazy and provided it in the first place).
Reopening..
Fixed.