Bug 131460 - sys-devel/flex-2.5.33-r1 builds without -fPIC
Bug#: 131460 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Other Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: base-system@gentoo.org Reported By: th_veith@web.de
Component: Core system
URL: 
Summary: sys-devel/flex-2.5.33-r1 builds without -fPIC
Keywords:  
Status Whiteboard: 
Opened: 2006-04-27 08:02 0000
Description:   Opened: 2006-04-27 08:02 0000
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 From SpanKY 2006-04-28 06:47:16 0000 -------
dont link flex into shared libs

------- Comment #2 From Thomas Veith 2006-04-28 06:58:25 0000 -------
(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 From SpanKY 2006-07-30 16:30:54 0000 -------
*** Bug 141857 has been marked as a duplicate of this bug. ***

------- Comment #4 From Pacho Ramos 2006-09-05 13:22:14 0000 -------
It also breaks glimpse. Please, add "pic" USE flag for trying to solve it.

Thanks a lot

------- Comment #5 From Jakub Moc (RETIRED) 2006-11-26 07:21:09 0000 -------
(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 From Jakub Moc (RETIRED) 2006-11-26 07:50:17 0000 -------
*** Bug 153381 has been marked as a duplicate of this bug. ***

------- Comment #7 From SpanKY 2006-11-26 10:45:01 0000 -------
the packages have always been broken then which implies improper KEYWORDing

------- Comment #8 From Charlie Shepherd (RETIRED) 2006-12-07 12:39:10 0000 -------
Any update on this? app-misc/glimpse and sci-mathematics/snns are still broken?

------- Comment #9 From Christopher Mire 2006-12-12 19:56:55 0000 -------
This bug also stops setools-2.4 on amd64 platform from building.

------- Comment #10 From Simon Stelling (RETIRED) 2007-01-24 07:41:52 0000 -------
*** Bug 155140 has been marked as a duplicate of this bug. ***

------- Comment #11 From Simon Stelling (RETIRED) 2007-02-06 11:57:25 0000 -------
*** Bug 137842 has been marked as a duplicate of this bug. ***

------- Comment #12 From Simon Stelling (RETIRED) 2007-02-06 11:57:33 0000 -------
fixed in 2.5.33-r2