Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 131460

Summary: sys-devel/flex-2.5.33-r1 builds without -fPIC
Product: Gentoo Linux Reporter: Thomas Veith <th_veith>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: amd64, douglas, elknco1, maintainer-needed, masterdriverz, pacho, patrizio.bassi, serzh, yuri
Priority: High    
Version: unspecified   
Hardware: All   
OS: Other   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 137842, 155140    

Description Thomas Veith 2006-04-27 08:02:24 UTC
when emerging flex, it gets built without -fPIC, which at least breaks sci-mathematics/snns. Adding "append-flags -fPIC" to src_compile() fixes the relocation problems.
Comment 1 SpanKY gentoo-dev 2006-04-28 06:47:16 UTC
dont link flex into shared libs
Comment 2 Thomas Veith 2006-04-28 06:58:25 UTC
(In reply to comment #1)
> dont link flex into shared libs
> 

why? what's so special about flex? there are apps in portage which do - so why dont compile flex with -fPIC?
Comment 3 SpanKY gentoo-dev 2006-07-30 16:30:54 UTC
*** Bug 141857 has been marked as a duplicate of this bug. ***
Comment 4 Pacho Ramos gentoo-dev 2006-09-05 13:22:14 UTC
It also breaks glimpse. Please, add "pic" USE flag for trying to solve it.

Thanks a lot
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-11-26 07:21:09 UTC
(In reply to comment #1)
> dont link flex into shared libs

This breaks at least two packages in the tree, not much of a solution... 

Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-11-26 07:50:17 UTC
*** Bug 153381 has been marked as a duplicate of this bug. ***
Comment 7 SpanKY gentoo-dev 2006-11-26 10:45:01 UTC
the packages have always been broken then which implies improper KEYWORDing
Comment 8 Charlie Shepherd (RETIRED) gentoo-dev 2006-12-07 12:39:10 UTC
Any update on this? app-misc/glimpse and sci-mathematics/snns are still broken?
Comment 9 Christopher Mire 2006-12-12 19:56:55 UTC
This bug also stops setools-2.4 on amd64 platform from building.
Comment 10 Simon Stelling (RETIRED) gentoo-dev 2007-01-24 07:41:52 UTC
*** Bug 155140 has been marked as a duplicate of this bug. ***
Comment 11 Simon Stelling (RETIRED) gentoo-dev 2007-02-06 11:57:25 UTC
*** Bug 137842 has been marked as a duplicate of this bug. ***
Comment 12 Simon Stelling (RETIRED) gentoo-dev 2007-02-06 11:57:33 UTC
fixed in 2.5.33-r2