Bug 33221

Summary: Configure incorrectly determines whether C++ compiler understands -fvisibility=hidden
Product: Mesa Reporter: Bryan Henderson <bryanh>
Component: OtherAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: 7.9   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Bryan Henderson 2011-01-17 19:59:24 UTC
When Configure attempts to determin whether the C++ compiler understands -fvisibility=hidden, it always concludes that it does.  This is because it does the test link using the C compiler with CFLAGS, which at that time does not contain -fvisibility=hidden.  The test adds -fvisibility=hidden to CXXFLAGS, but that does not get used in the test compile.
Comment 1 Matt Turner 2012-08-18 06:34:43 UTC
Fixed by commit 560f76227ccc848390095414e93d199e588b0c92

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.