You do realize that statically linking libstdc++ and libgcc_s while
dynamically linking LLVM won't work around the problem caused by Steam
overriding an older version of libstdc++, because LLVM will still be
dynamically linked against that?
As you'll note from my first submission, I sent a patch
On 16.03.2015 09:44, Vivek Das Mohapatra wrote:
>
> I've been doing a bit of work to make the patch compatible with static
> llvm (I had link failures), I'll check those as well. Currently I have
> no .so which pull in libstdc++ or libgcc_s, so I think I've got it covered.
You do realize that sta
+fi;
+STATIC_STDCPP_LIBS="-l:libgcc.a -l:libgcc_eh.a -l:libstdc++.a";
+STATIC_STDCPP_LDFLAGS="-static-libgcc -static-libstdc++ \
+ -l:libgcc.a -l:libstdc++.a \
Do we need this line considering the STATIC_STDCPP_LIBS above ?
Yes, I can't remember the exact fa
The original reference to the reason I found was in the dicussion of
a libtool bug about this, I can't find the exat place right now but
this looks similar in the details given:
http://www.trilithium.com/johan/2005/06/static-libstdc/
___
mesa-dev ma
That aside did you find any information as to why libtool adds the
explicit links despite -static-libgcc -static-libstdc++ ?
AIUI, exceptions can't cross a DSO boundary (eg from library to caller
outside that library) if there isn't a single dynamic libstdc++ linked
in.
_
Hi Vivek,
From a quick look it seems that your use-case (both build and
runtime-wise) is a bit narrow. Allow me to elaborate:
Most people build mesa once and then package the different modules
into separate packages.
As other (non-dri) components use the C++ linker (and thus the
modified postdep
Sttaically link gallium modules with libstdc++/libgcc/libgcc_eh
if --enable-static-libstdc++ is passed to ./configure:
---
configure.ac| 38 +
src/gallium/Automake.inc| 1 +
src/gallium/targets/dri/Makefile.am | 1 +
3 fil
Oops... that patch wasn't complete. Fixed version to follow as
soon as I've run it through a build each way. Apologies for
any inconvenience.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
As requested - The previous patch to enable static libstdc++/libgcc
linking but now controlled by a configure option:
---
configure.ac| 29 +
src/gallium/Automake.inc|1 +
src/gallium/targets/dri/Makefile.am |5 +
3 fi