RFR: 8286891: thread_local causes undefined symbol error with XL C [v2]

Jorn Vernee jvernee at openjdk.java.net
Tue May 24 14:51:38 UTC 2022


On Tue, 24 May 2022 14:32:53 GMT, Tyler Steele <tsteele at openjdk.org> wrote:

>> When using XLClang++ to compile a `thread_local` struct with a destructor, a compiler bug is exposed that results in a missing constructor and a linker error.
>> 
>> Adding the missing constructor solves this issue.
>> 
>> Changes
>> - Builds on AIX (previously broken)
>
> Tyler Steele has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Remove AIX-specific macro

Marked as reviewed by jvernee (Reviewer).

This looks good to me, but please note that this file was recently renamed to `upcallLinker.cpp` as well, so you might want to merge master into your PR branch before integrating to make sure the change is applied to the right file.

-------------

PR: https://git.openjdk.java.net/jdk/pull/8754


More information about the hotspot-dev mailing list