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

clang fastdebug assertion failure in os_linux_x86:os::verify_stack_alignment()

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 15
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b18
    • CPU:
      x86_64
    • OS:
      linux

      Description

      If I try to build openjdk10 with clang-4.0 fastdebug on linux-x86_64, I see a crash:

      # Internal Error (/home/martin/ws/jdk10-hs-clang-4.0/hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp:825), pid=638, tid=639
      # assert(((intptr_t)os::current_stack_pointer() & (StackAlignmentInBytes-1)) == 0) failed: incorrect stack alignment
      #
      # JRE version: (10.0) (fastdebug build )
      # Java VM: OpenJDK 64-Bit Server VM (fastdebug 10-internal+0-adhoc.martin.jdk10-hs-clang-4.0, mixed mode, tiered, compressed oops, serial gc, linux-amd64)

      Recipe:
      bash ./configure --with-toolchain-type=clang --disable-warnings-as-errors --with-toolchain-path=/usr/lib/llvm-4.0/bin --with-extra-ldflags=-z execstack --disable-precompiled-headers --enable-unlimited-crypto --with-native-debug-symbols=none --with-default-make-target=jdk-image test-image --with-debug-level=fastdebug --with-boot-jdk=/home/martin/jdk/jdk9

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                martin Martin Buchholz
                Reporter:
                martin Martin Buchholz
              • Votes:
                0 Vote for this issue
                Watchers:
                17 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: