Bug 105697

Summary: gcc -static-libgcc -static-libstdc++ support is broken by libtool for dri drivers
Product: Mesa Reporter: Sylvain BERTRAND <sylvain.bertrand>
Component: Drivers/Gallium/radeonsiAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact: Default DRI bug account <dri-devel>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Sylvain BERTRAND 2018-03-22 20:12:55 UTC
When building mesa with gcc -static-libgcc -static-libstdc++ options, I noticed that
libtool is linking in a weird way the dri drivers (gallium and mesa), hence making them dependent on the shared libstdc++.
I did work around it by hiding the shared libstdc++ while I was building mesa.
Comment 1 Sylvain BERTRAND 2018-04-08 17:13:07 UTC
To be more accurate: the .so and .la files from the toolchain libstdc++
Comment 2 GitLab Migration User 2019-09-25 18:03:29 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1309.

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.