Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125465 - libXfont must filter out Bdirect ldflag
Summary: libXfont must filter out Bdirect ldflag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Lowest enhancement (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-08 05:14 UTC by Maxim Grechkin
Modified: 2009-10-14 23:00 UTC (History)
1 user (show)

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 Maxim Grechkin 2006-03-08 05:14:27 UTC
libXfont ebuild must filter out -Wl,-Bdirect flag from CFLAGS and LDFLAGS until it is fixed to support direct linking.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-08 05:17:25 UTC
We don't support any LDFLAGS at all... So, filtering every single LDFLAG someone might invent is really too much (and yes, I'm aware of Bug 114008).
Comment 2 Patrizio Bassi 2006-03-19 00:50:55 UTC
jakub i agree with you, but it's not a "normal" flag.

and, however, it's filtered in glibc ebuild for example.
in this package it's really critical (make X does't start).
Comment 3 Maxim Grechkin 2006-03-20 09:01:18 UTC
Maybe you should strip off all LDFLAGS? It will be safier. Or make USE flag (e.g: stripldflags)
Comment 4 Patrizio Bassi 2006-03-20 09:19:15 UTC
why?? it's the only broken. other works.
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2006-04-04 15:05:33 UTC
Fixed in 1.1.0-r1.
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2009-10-12 22:58:06 UTC
Remi (in response to IRC, since you keep disappearing at inopportune times): see http://bugs.gentoo.org/show_bug.cgi?id=112159 for the symptom solved by this.
Comment 7 Chí-Thanh Christopher Nguyễn gentoo-dev 2009-10-14 23:00:20 UTC
Filtering flags is a not so great workaround. A better solution might be something similar to what opensolaris did:
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6755532
The problem was fixed in commit 626:ae63e95c0f64 by tagging the problematic objects as NODIRECT in a custom ld mapfile.
Unfortunately, GNU ld seems not to allow passing of custom mapfiles directly, as opposed to Sun ld.