Opened 10 years ago

Closed 6 years ago

Last modified 5 years 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: R1/beta2
Component: System Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
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 (5)

comment:1 by korli, 10 years ago

Platform: Allx86-64

comment:2 by luroh, 10 years ago

Milestone: R1Unscheduled

Moving non-x86 related tickets out of R1 milestone.

comment:3 by diver, 6 years ago

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

comment:4 by waddlesplash, 6 years ago

Resolution: fixed
Status: newclosed

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

comment:5 by nielx, 5 years ago

Milestone: UnscheduledR1/beta2

Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone

Note: See TracTickets for help on using tickets.