Opened 5 years ago

Closed 12 months ago

#11002 closed bug (fixed)

gcc-4.8.3 unbuildable on x86_64 (with thread-local-storage support)

Reported by: zooey Owned by: pdziepak
Priority: normal Milestone: Unscheduled
Component: System Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
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 ...

Change History (4)

comment:1 by korli, 5 years ago

Platform: Allx86-64

comment:2 by luroh, 5 years ago

Milestone: R1Unscheduled

Moving non-x86 related tickets out of R1 milestone.

comment:3 by diver, 14 months ago

Could someone please check if this is still the case with GCC7?

comment:4 by waddlesplash, 12 months ago

Resolution: fixed
Status: newclosed

Nope, TLS seems to be enabled there. Closing as fixed.

Note: See TracTickets for help on using tickets.