Skip to contentSkip to conversation

g0hl1n/jdk8-fix

meta-java Jacob Kroon 2 participants 2 messages May 6, 2020

lore
Share & tools
lore
#0 lore raw

Hi Richard,

Just a FYI, I successfully built branch g0hl1n/jdk8-fix, 00fa8f5e330679d00275010c7fda976caae44a00, on my Fedora 32 system with gcc v10.

I did notice a comment typo in commit, "openjdk-8: require GCC >= v6", 0207ab72c58662cf7ac60229a5e14879b73f461d:

recipes-core/openjdk/openjdk-8-common.inc EXTRA_OECONF_append = "\ · line 176

Quoted 12 lines
recipes-core/openjdk/openjdk-8-common.inc +1 -1
index 084ead9..c78bb2a 100644
@@ -171,7 +171,7 @@ EXTRA_OECONF_append = "\
 
 # Since v6, GCC sets the default C++ standard to C++14 and introduces
 # dead store elimination by default.
-# Since v10, GCC defaults to -fcommon.
+# Since v10, GCC defaults to -fno-common.
 # OpenJDK 8 is not ready for either of these changes.
 GLOBAL_FLAGS = "-fno-lifetime-dse -fno-delete-null-pointer-checks -fcommon"

/Jacob

#1 lore raw

Hi Jacob,

Quoted 5 lines · Jacob Kroon

Hi Richard,

Just a FYI, I successfully built branch g0hl1n/jdk8-fix, 00fa8f5e330679d00275010c7fda976caae44a00, on my Fedora 32 system with gcc v10.

Great! Thank you for testing!

Quoted 4 lines

I did notice a comment typo in commit, "openjdk-8: require GCC >= v6", 0207ab72c58662cf7ac60229a5e14879b73f461d:

Quoted 11 lines

recipes-core/openjdk/openjdk-8-common.inc EXTRA_OECONF_append = "\ · line 175

Quoted 11 lines
recipes-core/openjdk/openjdk-8-common.inc +1 -1
index 084ead9..c78bb2a 100644
@@ -171,7 +171,7 @@ EXTRA_OECONF_append = "\
 # Since v6, GCC sets the default C++ standard to C++14 and introduces
 # dead store elimination by default.
-# Since v10, GCC defaults to -fcommon.
+# Since v10, GCC defaults to -fno-common.
 # OpenJDK 8 is not ready for either of these changes.
 GLOBAL_FLAGS = "-fno-lifetime-dse -fno-delete-null-pointer-checks -fcommon"

Oh. Good catch. Thanks!

I'll fix that and merge the patches to master-next soon.

regards;rl

Quoted 2 lines

/Jacob