-
Bug
-
Resolution: Fixed
-
P4
-
11, 13, 16, 17
-
b06
-
x86
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8263298 | 16.0.2 | Andrew Hughes | P4 | Resolved | Fixed | b01 |
JDK-8263047 | 16.0.1 | Andrew Hughes | P4 | Resolved | Fixed | b08 |
JDK-8263046 | 13.0.7 | Andrew Hughes | P4 | Resolved | Fixed | b03 |
JDK-8261786 | 11.0.11 | Andrew Hughes | P4 | Resolved | Fixed | b03 |
https://gcc.gnu.org/git/?p=gcc.git;a=blobdiff;f=gcc/config/i386/i386-options.c;h=a70f6edf7b0bfa6994db372c2507dbacb5526646;hp=6819a04238965f0ad63b10323823caa2fb8b147c;hb=77d372abec0fbf2cfe922e3140ee3410248f979e;hpb=5ebdd53534db25401473db5f6a0ad30f41410241
At least back to OpenJDK 11, the JDK build forces -march=i586 and the build fails with '-fcf-protection is not compatible with this target'
I've successfully tested a patch which uses -march=i686 instead if -fcf-protection is detected in the compiler flags.
- backported by
-
JDK-8261786 x86 32-bit build fails when -fcf-protection is passed in the compiler flags
- Resolved
-
JDK-8263046 x86 32-bit build fails when -fcf-protection is passed in the compiler flags
- Resolved
-
JDK-8263047 x86 32-bit build fails when -fcf-protection is passed in the compiler flags
- Resolved
-
JDK-8263298 x86 32-bit build fails when -fcf-protection is passed in the compiler flags
- Resolved
- relates to
-
JDK-8039426 gcc can target wrong instruction set when building JDK native code
- Resolved
- links to
-
Commit openjdk/jdk13u-dev/b8d5fcbe
-
Commit openjdk/jdk16u/189fe433
-
Commit openjdk/jdk/07851474
-
Review openjdk/jdk13u-dev/140
-
Review openjdk/jdk16u/74
-
Review openjdk/jdk/2153