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

Tyler Steele tsteele at openjdk.java.net
Tue May 24 14:51:38 UTC 2022


> 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

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/8754/files
  - new: https://git.openjdk.java.net/jdk/pull/8754/files/5dd93583..3c096adc

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8754&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8754&range=01-02

  Stats: 24604 lines in 776 files changed: 12702 ins; 8574 del; 3328 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8754.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8754/head:pull/8754

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


More information about the hotspot-dev mailing list