gcc-4.8.3 unbuildable on x86_64 (with thread-local-storage support)
|Reported by:||zooey||Owned by:||pdziepak|
|Has a Patch:||no||Platform:||x86-64|
gcc-4.8.3 is no longer buildable on x86_64 with haikuporter when thread-local-storage support is active - it consistently fails with an ICE (internal compiler error) that complains about an unknown instruction in libcpp/lex.c. Support for ELF-TLS of the OS is detected automatically by gcc's build system.
As a workaround, I have explicitly disabled TLS support for x86_64 in all gcc recipes. For libstdc++-compatibility reasons, the same has been done for the host cross compiler.
We should really find out the actual cause for the ICE and fix that. Once that is done, ELF-TLS support should be activated for x86_64, too.
Assigning to Pawel in hope that he might shed some light ...