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

C code is not compiled correctly due to undefined "i386"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 13
    • 13
    • hotspot
    • None
    • svc
    • b23

        Happens reliably on x86_32:

        Command line: ['/home/buildbot/worker/jdkX-linux/build/build/linux-x86-server-fastdebug/images/jdk/bin/java' '-XX:MaxRAMPercentage=1' '-cp' '/home/buildbot/worker/jdkX-linux/build/build/linux-x86-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_tier1/classes/4/serviceability/sa/ClhsdbJstack.d:/home/buildbot/worker/jdkX-linux/build/build/linux-x86-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_tier1/classes/4/test/lib' 'jdk.test.lib.apps.LingeredApp' '43189f67-6857-4491-896e-5f96628f6a41.lck' ]
        Attaching to process 122786, please wait...
        Warning: Nashorn engine is planned to be removed from a future JDK release
        javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54
        javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54
        Exception in thread "Thread-2" java.lang.UnsatisfiedLinkError: 'long[] sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.getThreadIntegerRegisterSet0(int)'
        at jdk.hotspot.agent/sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.getThreadIntegerRegisterSet0(Native Method)
        at jdk.hotspot.agent/sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal$1GetThreadIntegerRegisterSetTask.doit(LinuxDebuggerLocal.java:532)
        at jdk.hotspot.agent/sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal$LinuxDebuggerLocalWorkerThread.run(LinuxDebuggerLocal.java:151)
         stdout: [Warning! JS Engine can't start, some commands will not be available.

        The observable "failure" is test timeout, but the log above says there is UnsatisfiedLinkError caught in one of the threads.

              shade Aleksey Shipilev
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: