Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8247388

Minimal build broken after JDK-8240245 (undefined reference to `MetaspaceShared::_use_optimized_module_handling')

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b28
    • Verification:
      Verified

      Backports

        Description

        $ make clean hotspot CONF=minimal-re
        Building targets 'clean hotspot' in configuration 'linux-x86_64-minimal-release'
        Cleaning hotspot build artifacts ... done
        Cleaning jdk build artifacts ... done
        Cleaning bootcycle-build build artifacts ... done
        Cleaning test-results build artifacts ... done
        Cleaning test-support build artifacts ... done
        Cleaning test build artifacts ... done
        Cleaning buildtools build artifacts ... done
        Cleaning support build artifacts ... done
        Cleaning support/images build artifacts ... done
        Cleaning images build artifacts ... done
        Cleaning make-support build artifacts ... done
        Cleaning test-make build artifacts ... done
        Cleaning bundles build artifacts ... done
        Cleaning buildjdk build artifacts ... done
        Cleaned all build artifacts.
        Compiling 1 files for BUILD_JFR_TOOLS
        Compiling 2 files for BUILD_JVMTI_TOOLS
        Creating support/modules_libs/java.base/minimal/libjvm.so from 518 file(s)
        Creating hotspot/variant-minimal/libjvm/libgtest/libgtest.a from 2 file(s)
        Creating hotspot/variant-minimal/libjvm/gtest/libjvm.so from 105 file(s)
        Creating hotspot/variant-minimal/libjvm/gtest/gtestLauncher from 1 file(s)
        /home/aoqi/work/jdk/build/linux-x86_64-minimal-release/hotspot/variant-minimal/libjvm/objs/arguments.o: In function `Arguments::add_property(char const*, Arguments::PropertyWriteable, Arguments::PropertyInternal)':
        /home/aoqi/work/jdk/src/hotspot/share/memory/metaspaceShared.hpp:379: undefined reference to `MetaspaceShared::_use_optimized_module_handling'
        /home/aoqi/work/jdk/build/linux-x86_64-minimal-release/hotspot/variant-minimal/libjvm/objs/arguments.o: In function `Arguments::parse_each_vm_init_arg(JavaVMInitArgs const*, bool*, JVMFlag::Flags)':
        /home/aoqi/work/jdk/src/hotspot/share/memory/metaspaceShared.hpp:379: undefined reference to `MetaspaceShared::_use_optimized_module_handling'
        collect2: error: ld returned 1 exit status
        gmake[3]: *** [lib/CompileJvm.gmk:152: /home/aoqi/work/jdk/build/linux-x86_64-minimal-release/support/modules_libs/java.base/minimal/libjvm.so] Error 1
        gmake[3]: *** Waiting for unfinished jobs....
        /home/aoqi/work/jdk/build/linux-x86_64-minimal-release/hotspot/variant-minimal/libjvm/objs/arguments.o: In function `Arguments::add_property(char const*, Arguments::PropertyWriteable, Arguments::PropertyInternal)':
        /home/aoqi/work/jdk/src/hotspot/share/memory/metaspaceShared.hpp:379: undefined reference to `MetaspaceShared::_use_optimized_module_handling'
        /home/aoqi/work/jdk/build/linux-x86_64-minimal-release/hotspot/variant-minimal/libjvm/objs/arguments.o: In function `Arguments::parse_each_vm_init_arg(JavaVMInitArgs const*, bool*, JVMFlag::Flags)':
        /home/aoqi/work/jdk/src/hotspot/share/memory/metaspaceShared.hpp:379: undefined reference to `MetaspaceShared::_use_optimized_module_handling'
        collect2: error: ld returned 1 exit status
        gmake[3]: *** [lib/CompileGtest.gmk:90: /home/aoqi/work/jdk/build/linux-x86_64-minimal-release/hotspot/variant-minimal/libjvm/gtest/libjvm.so] Error 1
        gmake[2]: *** [make/Main.gmk:259: hotspot-minimal-libs] Error 2

        ERROR: Build failed for targets 'clean hotspot' in configuration 'linux-x86_64-minimal-release' (exit code 2)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                aoqi Qi Ao
                Reporter:
                aoqi Qi Ao
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: