We haven't yet agreed on how to fix
https://bugs.openjdk.java.net/browse/JDK-8186780

You can locally apply any of the fixes from the bug report and you can
give an opinion on which fix you like.

On Mon, Sep 17, 2018 at 6:26 AM, Leslie Zhai <zhaixi...@loongson.cn> wrote:
> https://bugs.openjdk.java.net/browse/JDK-8186780
>
>
>
> 在 2018年09月16日 13:21, Leslie Zhai 写道:
>>
>> Hi,
>>
>> I just want to verify JDK-8206183 and JDK-8205965 built with clang-8[1]
>>
>>
>> http://mail.openjdk.java.net/pipermail/build-dev/2018-September/023172.html
>>
>> $ hg log | head
>> changeset:   51758:6c956c883137
>> tag:         tip
>> user:        igerasim
>> date:        Sat Sep 15 13:53:43 2018 -0700
>> summary:     8210787: Object.wait(long, int) throws inappropriate
>> IllegalArgumentException
>>
>> $ ./configure --with-debug-level=fastdebug --with-toolchain-type=clang
>> --with-boot-jdk=/home/xiangzhai/jdk-10.0.2 --disable-warnings-as-errors
>>
>> Tools summary:
>> * Boot JDK:       openjdk version "10.0.2" 2018-07-17 OpenJDK Runtime
>> Environment 18.3 (build 10.0.2+13) OpenJDK 64-Bit Server VM 18.3 (build
>> 10.0.2+13, mixed mode)  (at /home/xiangzhai/jdk-10.0.2)
>> * Toolchain:      clang (clang/LLVM)
>> * C Compiler:     Version 8.0.0 (at /opt/llvm-git/bin/clang)
>> * C++ Compiler:   Version 8.0.0 (at /opt/llvm-git/bin/clang++)
>>
>> $ make images
>>
>> ...
>>
>> Building target 'images' in configuration
>> 'linux-x86_64-normal-server-fastdebug'
>> # To suppress the following error report, specify this argument
>> # after -XX: or in .hotspotrc: SuppressErrorAt=/os_linux_x86.cpp:833
>> #
>> # A fatal error has been detected by the Java Runtime Environment:
>> #
>> #  Internal Error
>> (/home/xiangzhai/project/jdk/src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp:833),
>> pid=3156, tid=3157
>> #  assert(((intptr_t)os::current_stack_pointer() &
>> (StackAlignmentInBytes-1)) == 0) failed: incorrect stack alignment
>> #
>> # JRE version:  (12.0) (fastdebug build )
>> # Java VM: OpenJDK 64-Bit Server VM (fastdebug
>> 12-internal+0-adhoc.xiangzhai.jdk, mixed mode, tiered, compressed oops,
>> serial gc, linux-amd64)
>> # Core dump will be written. Default location: Core dumps may be processed
>> with "/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t %P %I" (or dumping to
>> /home/xiangzhai/project/jdk/make/core.3156)
>> #
>> # An error report file with more information is saved as:
>> # /home/xiangzhai/project/jdk/make/hs_err_pid3156.log
>> #
>> # If you would like to submit a bug report, please visit:
>> #   http://bugreport.java.com/bugreport/crash.jsp
>> #
>> Current thread is 3157
>> Dumping core ...
>>
>> ----- 8< -------- 8< -------- 8< -------- 8< -------- 8< -------- 8< ---
>> But clang-3.9[2] is OK!
>>
>> Tools summary:
>> * Boot JDK:       openjdk version "10.0.2" 2018-07-17 OpenJDK Runtime
>> Environment 18.3 (build 10.0.2+13) OpenJDK 64-Bit Server VM 18.3 (build
>> 10.0.2+13, mixed mode)  (at /home/xiangzhai/jdk-10.0.2)
>> * Toolchain:      clang (clang/LLVM)
>> * C Compiler:     Version 3.9.1 (at /usr/bin/clang)
>> * C++ Compiler:   Version 3.9.1 (at /usr/bin/clang++)
>>
>> $ strings ./build/linux-x86_64-normal-server-slowdebug/images/jdk/bin/java
>> | grep clang
>> clang version 3.9.1 (tags/RELEASE_391/final)
>>
>> $ ./build/linux-x86_64-normal-server-slowdebug/images/jdk/bin/java
>> -version
>> openjdk version "12-internal" 2019-03-19
>> OpenJDK Runtime Environment (slowdebug build
>> 12-internal+0-adhoc.xiangzhai.jdk)
>> OpenJDK 64-Bit Server VM (slowdebug build
>> 12-internal+0-adhoc.xiangzhai.jdk, mixed mode)
>>
>> [1] $ clang -v
>> LLVM China clang version 8.0.0 (g...@github.com:llvm-mirror/clang.git
>> 7f223b8fbf26fa0e4d8f98847a53c4ba457720f0)
>> (g...@github.com:llvm-mirror/llvm.git
>> 841e300fb15be4f9931d18d2f24f48cb59ef24a8) (based on LLVM 8.0.0svn)
>> Target: x86_64-redhat-linux
>> Thread model: posix
>> InstalledDir: /opt/llvm-git/bin
>> Found candidate GCC installation: /usr/lib/gcc/i686-redhat-linux/6.4.1
>> Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/6.4.1
>> Selected GCC installation: /usr/lib/gcc/x86_64-redhat-linux/6.4.1
>> Candidate multilib: .;@m64
>> Candidate multilib: 32;@m32
>> Selected multilib: .;@m64
>>
>> [2] $ clang -v
>> clang version 3.9.1 (tags/RELEASE_391/final)
>> Target: x86_64-unknown-linux-gnu
>> Thread model: posix
>> InstalledDir: /usr/bin
>> Found candidate GCC installation:
>> /usr/bin/../lib/gcc/i686-redhat-linux/6.4.1
>> Found candidate GCC installation:
>> /usr/bin/../lib/gcc/x86_64-redhat-linux/6.4.1
>> Found candidate GCC installation: /usr/lib/gcc/i686-redhat-linux/6.4.1
>> Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/6.4.1
>> Selected GCC installation: /usr/bin/../lib/gcc/x86_64-redhat-linux/6.4.1
>> Candidate multilib: .;@m64
>> Candidate multilib: 32;@m32
>> Selected multilib: .;@m64
>>
>
> --
> Regards,
> Leslie Zhai
>
>

Reply via email to