Re: Building with GCC 6

2016-02-18 Thread Andrew Haley
On 02/18/2016 01:41 PM, dalibor topic wrote: > Thanks, Andrew - it sounds like it could affect 8u as well within the > year, then. Certainly. We've patched OpenJDK for Fedora -- so we're running -- but we really need to get some build fixes into OpenJDK. We might as well do it now. Andrew.

Re: Building with GCC 6

2016-02-18 Thread dalibor topic
Thanks, Andrew - it sounds like it could affect 8u as well within the year, then. cheers, dalibor topic On 18.02.2016 13:46, Andrew Haley wrote: On 02/18/2016 12:20 PM, dalibor topic wrote: On 16.02.2016 15:40, Andrew Haley wrote: GCC 6 is quite new, so we have a little time before the vario

Re: Building with GCC 6

2016-02-18 Thread Andrew Haley
On 02/18/2016 12:20 PM, dalibor topic wrote: > On 16.02.2016 15:40, Andrew Haley wrote: >> GCC 6 is quite new, so we have a little time before the various users >> of OpenJDK start to hit these problems, > > What does the general adoption timeline for GCC 6 look for Linux > distributions? It's n

Re: Building with GCC 6

2016-02-18 Thread dalibor topic
On 16.02.2016 15:40, Andrew Haley wrote: GCC 6 is quite new, so we have a little time before the various users of OpenJDK start to hit these problems, What does the general adoption timeline for GCC 6 look for Linux distributions? cheers, dalibor topic -- Dalibor Top

Building with GCC 6

2016-02-16 Thread Andrew Haley
GCC Version 6 doesn't build a working HotSpot without two flags: -fno-delete-null-pointer-checks -fno-lifetime-dse These are because HotSpot uses undefined behaviour in some places. "-fno-delete-null-pointer-checks" is needed because HotSpot dereferences null pointers in soe places. "-fno-l