Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99896 - glibc ebuild filters -mno-tls-direct-seg-refs CFLAG
Summary: glibc ebuild filters -mno-tls-direct-seg-refs CFLAG
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Toolchain Maintainers
Depends on:
Reported: 2005-07-22 04:42 UTC by Ernst Bachmann
Modified: 2005-07-22 14:48 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Ernst Bachmann 2005-07-22 04:42:21 UTC
glibc 3.3.5 supports a different model for accessing TLS memory when compiled 
with the -mno-tls-direct-seg-refs CFLAG (gcc 3.4.4) (glibc Makefiles check for 
that flag and add defines for it, changing some of the ASM code)  
however, the "strip-flags" call in the glibc ebuild removes that flag, so this  
feature of glibc is lost. This feature would however be important to Xen 
users. (getting good performance for NPTL under Xen) 
Simply adding that option into flag-o-matic.eclass solved the problem for me, 
but a more "permanent" solution would be nice, maybe with an additional USE 
flag for glibc enabling that option. 

Reproducible: Always
Steps to Reproduce:
Comment 1 SpanKY gentoo-dev 2005-07-22 14:48:06 UTC
USE flag is kind of pointless overkill

added to flag-o-matic as an ABI flag