hrev47389 adds 1 changeset to branch 'master' old head: eb503978b79a7c5197738cd58c050828e599865c new head: 2b103ca8bea2fed01e9399c0ec3ad97ae2dde095 overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=2b103ca+%5Eeb50397 ---------------------------------------------------------------------------- 2b103ca: Enable TLS support in gcc. Since hrev47198 we have ELF-based TLS support in Haiku. When building gcc with haikuporter, this is detected by the configure script, but when cross compiling gcc we need to manually enable it, as no runtime check can be performed to detect the feature. This should fix #10938 by avoiding the mix of TLS and non-TLS libstdc++. [ Adrien Destugues <pulkomandy@xxxxxxxxxxxxx> ] ---------------------------------------------------------------------------- Revision: hrev47389 Commit: 2b103ca8bea2fed01e9399c0ec3ad97ae2dde095 URL: http://cgit.haiku-os.org/haiku/commit/?id=2b103ca Author: Adrien Destugues <pulkomandy@xxxxxxxxxxxxx> Date: Mon Jun 16 13:19:11 2014 UTC Ticket: https://dev.haiku-os.org/ticket/10938 ---------------------------------------------------------------------------- 1 file changed, 1 insertion(+), 1 deletion(-) build/scripts/build_cross_tools_gcc4 | 2 +- ---------------------------------------------------------------------------- diff --git a/build/scripts/build_cross_tools_gcc4 b/build/scripts/build_cross_tools_gcc4 index cece149..444a5dc 100755 --- a/build/scripts/build_cross_tools_gcc4 +++ b/build/scripts/build_cross_tools_gcc4 @@ -209,7 +209,7 @@ CFLAGS="$ccFlags" CXXFLAGS="$cxxFlags" "$gccSourceDir/configure" \ --prefix="$installDir" $buildHostSpec --target=$haikuMachine \ --disable-nls --disable-shared --with-system-zlib \ --enable-languages=c,c++ --enable-lto --enable-frame-pointer \ - --with-sysroot="$sysrootDir" --enable-threads=posix \ + --with-sysroot="$sysrootDir" --enable-threads=posix --enable-tls \ $gccConfigureArgs \ || exit 1