Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26885 - emerge of rss_glx fails if -fPIC is set in CFLAGS
Summary: emerge of rss_glx fails if -fPIC is set in CFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-18 14:48 UTC by Svein Erik Brostigen
Modified: 2003-08-18 17:51 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Svein Erik Brostigen 2003-08-18 14:48:56 UTC
When trying to emerge x11-misc/rss_glx, the compile phase fails if the -fPIC
flag is set in CFLAGS in /etc/make.conf.

Would it be possible to change the ebuild to remove this specific flag?
Comment 1 SpanKY gentoo-dev 2003-08-18 16:43:29 UTC
i've filtered it in the 0.7.x ebuilds but i'd suggest you remove -fPIC from CFLAGS 
since we dont support it 
Comment 2 Svein Erik Brostigen 2003-08-18 17:36:20 UTC
Gentoo does not support -fPIC? That is news to me. Is this a new policy started 
just now? 
This flag is necessary for prelinking to work and if we don't support it, we 
need to remove prelink from the Portage tree since it relies on having the 
ebuilds compiled with the Position Indepedent Code flag set so it can 
pre-calculate the load position rather than having the dynamic linker do that 
during startup of the application. 
 
If we don't support -fPIC then it has some serious implications. 
 
Comment 3 SpanKY gentoo-dev 2003-08-18 17:51:47 UTC
we dont support users setting fpic ... we let the packages do it themselves ... 
 
there was quite a large discussion this sometime ago, i dont have it in my 
mailbox any longer so i cant quote it ... 
 
but it's why you wont find the 'pic' USE flag in portage anymore