[Mesa-dev] [Bug 33221] New: Configure incorrectly determines whether C++ compiler understands -fvisibility=hidden

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jan 17 19:59:24 PST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=33221

           Summary: Configure incorrectly determines whether C++ compiler
                    understands -fvisibility=hidden
           Product: Mesa
           Version: 7.9
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Other
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: bryanh at giraffe-data.com


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.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list