Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 325269 - =sys-devel/prelink-20100106 w/sys-devel/gcc-3.4.x can't recognize -Wno-pointer-sign
Summary: =sys-devel/prelink-20100106 w/sys-devel/gcc-3.4.x can't recognize -Wno-pointe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 329719 (view as bug list)
Depends on:
Blocks: 321951
  Show dependency tree
 
Reported: 2010-06-23 21:44 UTC by Gef
Modified: 2010-07-24 17:59 UTC (History)
2 users (show)

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


Attachments
prelink-20100106.ebuild (prelink-20100106.ebuild,1.99 KB, text/plain)
2010-07-24 17:39 UTC, Ryan Hill (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gef 2010-06-23 21:44:54 UTC
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"
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-06-23 22:06:48 UTC
sed -i -e 's:-Wno-pointer-sign::' src/Makefile.in || die

to src_unpack() should solve this.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-06-23 22:07:39 UTC
(and also gcc-3 isn't really supported anymore, you should upgrade)
Comment 3 SpanKY gentoo-dev 2010-06-24 16:43:26 UTC
upgrade your gcc to latest stable.  i see no compelling reason at this time to make sure gcc-3.4.x is still supported.
Comment 4 Gef 2010-06-25 23:31:46 UTC
ssuominen, vapier,
Thanks for your answers - quite expected though :D
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-07-24 16:54:17 UTC
*** Bug 329719 has been marked as a duplicate of this bug. ***
Comment 6 Ryan Hill (RETIRED) gentoo-dev 2010-07-24 17:39:37 UTC
Created attachment 240019 [details]
prelink-20100106.ebuild

does this work?
Comment 7 Gef 2010-07-24 17:50:54 UTC
(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).
Comment 8 Ryan Hill (RETIRED) gentoo-dev 2010-07-24 17:59:14 UTC
Reopening..
Comment 9 Ryan Hill (RETIRED) gentoo-dev 2010-07-24 17:59:25 UTC
Fixed.