Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103827 - libstdc++-v3 should filter -mno-tls-direct-seg-refs
Summary: libstdc++-v3 should filter -mno-tls-direct-seg-refs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Travis Tilley (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-26 07:45 UTC by Chris Bainbridge (RETIRED)
Modified: 2005-09-25 08:10 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 Chris Bainbridge (RETIRED) gentoo-dev 2005-08-26 07:45:08 UTC
gcc 3.4 supports the flag -mno-tls-direct-seg-refs. It should be filtered out in
the        

# xgcc wont understand gcc 3.4 flags...

section.
Comment 1 Stian Skjelstad 2005-08-26 15:57:41 UTC
you lack your emerge info.

you have set CFLAGS your C compiler don't support? Or does libstdc++-v3 add 
this itself?
Comment 2 Chris Bainbridge (RETIRED) gentoo-dev 2005-08-27 03:31:05 UTC
libstdc++-v3 filters out gcc 3.4 flags. '-mno-tls-direct-seg-refs' is a gcc 3.4
flag. You put it in CFLAGS to make sure that all of your compiled code will
perform well under Xen. 
Comment 3 Chris Bainbridge (RETIRED) gentoo-dev 2005-09-25 08:10:59 UTC
Fixed by me.