Re: Build failure on Fedora 28

2018-05-15 Thread Yasumasa Suenaga
Hi Severin, >> > Looks like another case of UB in the JDK. This time libjimage.so with a >> > signed integer overflow: >> > >> > https://bugs.openjdk.java.net/browse/JDK-8203223 It works on my Fedora 28. I hope your change will be merged ASAP. Thanks again! Yasumasa 2018-05-16 0:09 GMT+09:00

Re: Build failure on Fedora 28

2018-05-15 Thread Severin Gehwolf
Hi Yasumasa, On Tue, 2018-05-15 at 23:56 +0900, Yasumasa Suenaga wrote: > Hi Severin, > > > Looks like another case of UB in the JDK. This time libjimage.so with a > > signed integer overflow: > > > > https://bugs.openjdk.java.net/browse/JDK-8203223 > > Thanks! > Can you fix pointer increment

Re: Build failure on Fedora 28

2018-05-15 Thread Yasumasa Suenaga
Hi Severin, Looks like another case of UB in the JDK. This time libjimage.so with a signed integer overflow: https://bugs.openjdk.java.net/browse/JDK-8203223 Thanks! Can you fix pointer increment issue (I reported) at the same time? Yasumasa On 2018/05/15 23:07, Severin Gehwolf wrote:

Re: Build failure on Fedora 28

2018-05-15 Thread Severin Gehwolf
Hi, On Fri, 2018-05-11 at 12:55 +0900, Yasumasa Suenaga wrote: > Hi, > > I found 1 GCC optimization issue, but it is not enough. > > http://cr.openjdk.java.net/~ysuenaga/openjdk-fc28/gcc8-opt/gdb-before.txt > > I traced class loading from `modules`. Above log is copy of GDB > console in

Re: Build failure on Fedora 28

2018-05-10 Thread Yasumasa Suenaga
Hi, I found 1 GCC optimization issue, but it is not enough. http://cr.openjdk.java.net/~ysuenaga/openjdk-fc28/gcc8-opt/gdb-before.txt I traced class loading from `modules`. Above log is copy of GDB console in ImageFileReader::verify_location(). The code expects `*next++` increments after

Re: Build failure on Fedora 28

2018-05-09 Thread Severin Gehwolf
Hi, Note that slowdebug builds work: $ ./build/linux-x86_64-normal-server-slowdebug/images/jdk/bin/java -version openjdk version "11-internal" 2018-09-25 OpenJDK Runtime Environment (slowdebug build 11-internal+0-adhoc.sgehwolf.openjdk-hs) OpenJDK 64-Bit Server VM (slowdebug build

Re: Build failure on Fedora 28

2018-05-09 Thread Thomas Stüfe
Hi Yasumasa, On Wed, May 9, 2018 at 10:03 AM, Yasumasa Suenaga wrote: > Hi Thomas, > > Build was succeeded with --with-build-jdk= configure > option, but JDK image does not work as below: > > ``` > [ysuenaga@f4i jdk]$ >

Re: Build failure on Fedora 28

2018-05-09 Thread Yasumasa Suenaga
Hi Thomas, Build was succeeded with --with-build-jdk= configure option, but JDK image does not work as below: ``` [ysuenaga@f4i jdk]$ ./build/linux-x86_64-normal-server-fastdebug/images/jdk/bin/java --version Error occurred during initialization of VM java/lang/NoClassDefFoundError:

Re: Build failure on Fedora 28

2018-05-09 Thread David Holmes
On 9/05/2018 5:40 PM, Yasumasa Suenaga wrote: Hi David, 2018-05-09 16:26 GMT+09:00 David Holmes : On 9/05/2018 5:19 PM, Yasumasa Suenaga wrote: Hi David, I uploaded trace log: http://cr.openjdk.java.net/~ysuenaga/openjdk-fc28/trace-all.log It seems to open

Re: Build failure on Fedora 28

2018-05-09 Thread Yasumasa Suenaga
Hi David, 2018-05-09 16:26 GMT+09:00 David Holmes : > On 9/05/2018 5:19 PM, Yasumasa Suenaga wrote: >> >> Hi David, >> >> I uploaded trace log: >>http://cr.openjdk.java.net/~ysuenaga/openjdk-fc28/trace-all.log >> >> It seems to open module file, but any class is not

Re: Build failure on Fedora 28

2018-05-09 Thread David Holmes
On 9/05/2018 5:19 PM, Yasumasa Suenaga wrote: Hi David, I uploaded trace log: http://cr.openjdk.java.net/~ysuenaga/openjdk-fc28/trace-all.log It seems to open module file, but any class is not loaded from there. The last line I see is: [0.266s][trace][gc,tlab ] TLAB: fill

Re: Build failure on Fedora 28

2018-05-09 Thread Yasumasa Suenaga
Hi David, I uploaded trace log: http://cr.openjdk.java.net/~ysuenaga/openjdk-fc28/trace-all.log It seems to open module file, but any class is not loaded from there. Thanks, Yasumasa 2018-05-09 15:31 GMT+09:00 David Holmes : > On 9/05/2018 1:46 PM, Yasumasa

Re: Build failure on Fedora 28

2018-05-09 Thread David Holmes
On 9/05/2018 1:46 PM, Yasumasa Suenaga wrote: Hi David, I uploaded build.log: http://cr.openjdk.java.net/~ysuenaga/openjdk-fc28/build.log Is it enough? It's all there is. :) But no errors. It all is fine right up to the part that it isn't. Can you run:

Re: Build failure on Fedora 28

2018-05-08 Thread Thomas Stüfe
Hi, sorry for quick dropping in. Just wanted to remark that it may be useful to run with --with-build-jdk= with being a good working jdk you trust. It must be close to the source you build - I usually use a clean current release build. This excludes build errors which may be caused by the JDK

Re: Build failure on Fedora 28

2018-05-08 Thread Yasumasa Suenaga
Hi David, I uploaded build.log: http://cr.openjdk.java.net/~ysuenaga/openjdk-fc28/build.log Is it enough? Thanks, Yasumasa 2018-05-09 11:17 GMT+09:00 David Holmes : > On 9/05/2018 12:09 PM, Yasumasa Suenaga wrote: >> >> Hi David, >> >> 2018-05-09 10:48 GMT+09:00

Re: Build failure on Fedora 28

2018-05-08 Thread David Holmes
On 9/05/2018 12:09 PM, Yasumasa Suenaga wrote: Hi David, 2018-05-09 10:48 GMT+09:00 David Holmes : Can you build with LOG=trace to try and see the actual command that is failing? I tried it and got following logs. They look good to me. Not enough there for me to

Re: Build failure on Fedora 28

2018-05-08 Thread Yasumasa Suenaga
Hi David, 2018-05-09 10:48 GMT+09:00 David Holmes : > Can you build with LOG=trace to try and see the actual command that is > failing? I tried it and got following logs. They look good to me. * Creating interim-image +

Re: Build failure on Fedora 28

2018-05-08 Thread David Holmes
Can you build with LOG=trace to try and see the actual command that is failing? David On 9/05/2018 11:39 AM, Yasumasa Suenaga wrote: Hi, 2018-05-09 0:27 GMT+09:00 Erik Joelsson : Hello, Your assessment is looks correct so far. At this point, one would have to

Re: Build failure on Fedora 28

2018-05-08 Thread Yasumasa Suenaga
Hi, 2018-05-09 0:27 GMT+09:00 Erik Joelsson : > Hello, > > Your assessment is looks correct so far. At this point, one would have to > start debugging the image to figure out what's wrong with it. Are you able > to run the exploded image in >

Re: Build failure on Fedora 28

2018-05-08 Thread Severin Gehwolf
On Tue, 2018-05-08 at 08:27 -0700, Erik Joelsson wrote: > Hello, > > Your assessment is looks correct so far. At this point, one would have > to start debugging the image to figure out what's wrong with it. Are you > able to run the exploded image in >

Re: Build failure on Fedora 28

2018-05-08 Thread Severin Gehwolf
On Tue, 2018-05-08 at 22:42 +0900, Yasumasa Suenaga wrote: > Hi all, > > I tried to build OpenJDK (jdk/jdk) on Fedora 28 x64, but it failed as > following: > > ``` > [ysuenaga@fc28 jdk]$ make images > Building target 'images' in configuration > 'linux-x86_64-normal-server-fastdebug' >

Re: Build failure on Fedora 28

2018-05-08 Thread Erik Joelsson
Hello, Your assessment is looks correct so far. At this point, one would have to start debugging the image to figure out what's wrong with it. Are you able to run the exploded image in ./build/linux-x86_64-normal-server-fastdebug/jdk/bin/java? Has anyone at Redhat built successfully on