https://bugs.freedesktop.org/show_bug.cgi?id=105697
Bug ID: 105697 Summary: gcc -static-libgcc -static-libstdc++ support is broken by libtool for dri drivers Product: Mesa Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: sylvain.bertrand@gmail.com QA Contact: dri-devel@lists.freedesktop.org
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.