Bug 105697 - gcc -static-libgcc -static-libstdc++ support is broken by libtool for dri drivers
Summary: gcc -static-libgcc -static-libstdc++ support is broken by libtool for dri dri...
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
Depends on:
Reported: 2018-03-22 20:12 UTC by Sylvain BERTRAND
Modified: 2019-09-25 18:03 UTC (History)
0 users

See Also:
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.