JDK-8241092 : make test-bundles fails on Alpine Linux because of TestTLS.java test
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: repo-portola
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: other
  • CPU: x86
  • Submitted: 2020-03-17
  • Updated: 2021-06-28
  • Resolved: 2021-06-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
repo-portolaResolved
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
Steps to reproduce:
- Get sources from portola repository and the latest jdk changes
- configure the build
- run
> make test-bundles
--------------------
* For target support_test_hotspot_jtreg_native_support_exestack-tls_exestack-tls.o:
jdk-dev/test/hotspot/jtreg/runtime/TLS/exestack-tls.c:29:10: fatal error: gnu/libc-version.h: No such file or directory
   29 | #include <gnu/libc-version.h>
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
--------------------

This is the regression from JDK-8239449 [TESTBUG] test/hotspot/jtreg/runtime/TLS/TestTLS.java: skip test if glibc too old for AdjustStackSizeForTLS
https://hg.openjdk.java.net/jdk/jdk/rev/af80fedc56a2
Comments
Only issues with associated changesets should be closed as "Fixed". If this issue has been solved by JDK-8247589 , then this bug should be closed as a duplicate of JDK-8247589 .
28-06-2021

The test is updated to check __GLIBC__ as part of the fix JDK-8247589 https://github.com/openjdk/jdk/commit/63009f90ec7df053c936226663b463b8584364a9#diff-ce72520237c752f00f83ef16f142ad50bcaad8f434ef104998cc67ce0e272411R30
28-06-2021

[~avoitylov] Has this issue been fixed? Should this bug be closed? Thanks
25-06-2021

this test is fixed as part of http://cr.openjdk.java.net/~avoitylov/webrev.8247589/
23-07-2020