-
Bug
-
Resolution: Unresolved
-
P4
-
25
GHA experiences a couple of such cases:
1. https://bugs.openjdk.org/browse/JDK-8349399?focusedId=14749789&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14749789
Building fastdebug static-jdk-image fails in GHA due to space issue.
2. https://github.com/openjdk/jdk/blob/53db57648a09c4c380064eea11fcdb680011d741/.github/workflows/build-linux.yml#L137
GHA linux jobs cannot include static-libs-bundles in non-release builds.
We have also experiences the similar issue in other build environments where there is no unlimited build resources.
I think for all these issues, one of the fundamental causes is compiling the same C/C++ source file twice and creating two different `.o` files for static and non-static, due to STATIC_BUILD difference. This was briefly in JDK-8303796 description/comments.
1. https://bugs.openjdk.org/browse/JDK-8349399?focusedId=14749789&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14749789
Building fastdebug static-jdk-image fails in GHA due to space issue.
2. https://github.com/openjdk/jdk/blob/53db57648a09c4c380064eea11fcdb680011d741/.github/workflows/build-linux.yml#L137
GHA linux jobs cannot include static-libs-bundles in non-release builds.
We have also experiences the similar issue in other build environments where there is no unlimited build resources.
I think for all these issues, one of the fundamental causes is compiling the same C/C++ source file twice and creating two different `.o` files for static and non-static, due to STATIC_BUILD difference. This was briefly in JDK-8303796 description/comments.
- relates to
-
JDK-8303796 Optionally build fully statically linked JDK image
-
- Open
-
-
JDK-8349399 GHA: Add static-jdk build on linux-x64
-
- Resolved
-