diff --git a/substratevm/mx.substratevm/mx_substratevm.py b/substratevm/mx.substratevm/mx_substratevm.py index 3f725d8724d5..f8b088c463de 100644 --- a/substratevm/mx.substratevm/mx_substratevm.py +++ b/substratevm/mx.substratevm/mx_substratevm.py @@ -903,7 +903,7 @@ def _native_image_launcher_extra_jvm_args(): res = [] jdk = mx.get_jdk(tag='default') if not mx_sdk_vm.jdk_enables_jvmci_by_default(jdk): - res.extend(['-XX:+UnlockExperimentalVMOptions', '-XX:+EnableJVMCI']) + res.extend(['-XX:+UnlockExperimentalVMOptions', '-XX:+EnableJVMCI', '-XX:-UseJVMCICompiler']) return res diff --git a/substratevm/mx.substratevm/suite.py b/substratevm/mx.substratevm/suite.py index 94064f8ddf78..68229d63abdb 100644 --- a/substratevm/mx.substratevm/suite.py +++ b/substratevm/mx.substratevm/suite.py @@ -447,6 +447,14 @@ "cflags": ["-Zi", "-O2", "-D_LITTLE_ENDIAN", "-DJDK_VER="], }, }, + "linux": { + "i386": { + "cflags": ["-g", "-fPIC", "-O2", "-D_LITTLE_ENDIAN", "-ffunction-sections", "-fdata-sections", "-fvisibility=hidden", "-D_FORTIFY_SOURCE=0", "-m32"], + }, + "": { + "cflags": ["-g", "-fPIC", "-O2", "-D_LITTLE_ENDIAN", "-ffunction-sections", "-fdata-sections", "-fvisibility=hidden", "-D_FORTIFY_SOURCE=0", "-m32"], + }, + }, "": { "": { "cflags": ["-g", "-fPIC", "-O2", "-D_LITTLE_ENDIAN", "-ffunction-sections", "-fdata-sections", "-fvisibility=hidden", "-D_FORTIFY_SOURCE=0"], @@ -484,8 +492,11 @@ }, }, "linux": { + "i386" : { + "cflags": ["-g", "-fPIC", "-O2", "-ffunction-sections", "-fdata-sections", "-fvisibility=hidden", "-D_FORTIFY_SOURCE=0", "-m32"], + }, "" : { - "cflags": ["-g", "-fPIC", "-O2", "-ffunction-sections", "-fdata-sections", "-fvisibility=hidden", "-D_FORTIFY_SOURCE=0"], + "cflags": ["-g", "-fPIC", "-O2", "-ffunction-sections", "-fdata-sections", "-fvisibility=hidden", "-D_FORTIFY_SOURCE=0", "-m32"], }, }, "": {