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

Martin Doerr mdoerr at openjdk.java.net
Tue May 24 15:12:04 UTC 2022


On Tue, 24 May 2022 14:51:38 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:
> 
>  - Merge branch 'master' into thread_local-build-break
>  - Update compiler year
>  - Remove AIX-specific macro
>  - XL C compiler bug workaround

Thanks for the update!

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

Marked as reviewed by mdoerr (Reviewer).

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


More information about the hotspot-dev mailing list