Opened 5 years ago

Closed 8 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

Description

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 Changed 5 years ago by korli

Platform: Allx86-64

comment:2 Changed 5 years ago by luroh

Milestone: R1Unscheduled

Moving non-x86 related tickets out of R1 milestone.

comment:3 Changed 10 months ago by diver

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

comment:4 Changed 8 months ago by waddlesplash

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.