AJH took care of it in Fedora already, can't find srpm ATM, on mobile, but version is 1.8.0.72-14.b16.el7.
On May 5, 2016 2:52:35 AM CDT, Pierre Labastie <[email protected]> wrote: >On 05/05/2016 09:31, Pierre Labastie wrote: >> On 05/05/2016 03:48, DJ Lucas wrote: >>> >>> >>> On 05/04/2016 04:05 PM, Pierre Labastie wrote: >>> >>>> >>>> I confirm that GCC-6 is not easy to work with: OpenJDK would not >build with >>>> it. I do not have CLANG and have no motivation to build it. >Furthermore, for >>>> OpenJDK, the variables CC and CXX are not honoured! What I have >done (as root): >>>> >>>> mv /usr/bin/gcc{,.orig} >>>> cat >/usr/bin/gcc << EOF >>>> #!/bin/bash >>>> gcc -std=c99 "\$@" >>>> EOF >>>> mv /usr/bin/g++{,.orig} >>>> cat >/usr/bin/g++ << EOF >>>> #!/bin/bash >>>> gcc -std=c99 "\$@" >>>> EOF >>>> >>>> But that's not enough. The compilation goes to completion, but all >the >>>> compiled executables segfault >>>> >>> >>> http://hg.openjdk.java.net/jdk9/dev/rev/9d77f922d694 >>> >>> That's for jdk9, but should backport easily enough. Looks like you >need >>> -std=gnu++98, -fno-delete-null-pointer-checks, and -fno-lifetime-dse >to make >>> it play nicely...can probably force it to work at configure time if >you don't >>> want to redo auto* files, but that's the correct way (assuming that >it >>> actually works). >>> >>> --DJ >>> >>> >> Thanks, will give it a try. Why do they have those big chunks of >empty lines? >> > >The patch does not work out of the box for jdk 8, since some .m4 files >do not >exist (for example flags.m4). > >I'll see if I can find a way to modify the existing files along the >lines of >the patch. >Pierre > > >-- >http://lists.linuxfromscratch.org/listinfo/blfs-dev >FAQ: http://www.linuxfromscratch.org/blfs/faq.html >Unsubscribe: See the above information page -- Sent from my Android device with K-9 Mail. Please excuse my brevity. -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
