-
Bug
-
Resolution: Fixed
-
P3
-
21
-
b06
We setup a bunch of default library (`-l<lib>`) flags for the JVM compilation in the variable BASIC_JVM_LIBS in LIB_SETUP_LIBRARIES. Almost all of these are dependent on OS, and are thus safe to use both the the target and build compilation (since we do not support cross-OS compilation). However, the recently added libatomic is only added for certain CPUs. This means that it needs to be different for the build and target CPUs, but we currently do not differentiate these. The typical end result of this is that when you try to cross-compile, the buildjdk will be build with flags that should only have been used when building for the target platform, and this can cause failures at runtime (e.g. if no libatomic is installed).
- blocks
-
JDK-8297851 Add devkit for RISC-V
-
- Resolved
-