Re: RFR (S): JDK-8150201 Restore missing -g flags to files with OPT_CFLAGS/per-file

2016-02-18 Thread David Holmes
Hi Magnus, On 19/02/2016 9:16 AM, Magnus Ihse Bursie wrote: There seems to be a bit of confusion as to OPT_CFLAGS meant "CFLAGS for optimization" or "CFLAGS for optimized/product build". Some usages seems to suggest the first interpretation, while other usages seems to have made the second (wher

RFR (S): JDK-8150201 Restore missing -g flags to files with OPT_CFLAGS/per-file

2016-02-18 Thread Magnus Ihse Bursie
There seems to be a bit of confusion as to OPT_CFLAGS meant "CFLAGS for optimization" or "CFLAGS for optimized/product build". Some usages seems to suggest the first interpretation, while other usages seems to have made the second (where OPT_CFLAGS align with DEBUG_CFLAGS/FASTDEBUG_CFLAGS). Th

Re: Compile error on Solaris (Bad value 'wbadlkginit' for flag '-erroff')

2016-02-18 Thread Magnus Ihse Bursie
On 2016-02-18 11:17, Volker Simonis wrote: Thanks. Unfortunately, --disable-warnings-as-errors doesn't help in this case. If we want to still make it possible to build with 12u3 we have to filter out the corresponding -erroff options depending on the compiler version. Due to reasons like this, w

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

Re: Compile error on Solaris (Bad value 'wbadlkginit' for flag '-erroff')

2016-02-18 Thread Volker Simonis
Thanks. Unfortunately, --disable-warnings-as-errors doesn't help in this case. If we want to still make it possible to build with 12u3 we have to filter out the corresponding -erroff options depending on the compiler version. At least I found a machine with SS12u4 and could verify that it builds

Re: Compile error on Solaris (Bad value 'wbadlkginit' for flag '-erroff')

2016-02-18 Thread Erik Joelsson
I updated the part with the compilers used by Oracle. On 2016-02-18 10:13, Volker Simonis wrote: Hi Erik, thanks for the info. Can you please also update the Wiki? Regards, Volker On Thu, Feb 18, 2016 at 9:58 AM, Erik Joelsson wrote: Oh right, that wiki is not updated. We switched to SS12u

Re: Compile error on Solaris (Bad value 'wbadlkginit' for flag '-erroff')

2016-02-18 Thread Volker Simonis
Hi Erik, thanks for the info. Can you please also update the Wiki? Regards, Volker On Thu, Feb 18, 2016 at 9:58 AM, Erik Joelsson wrote: > Oh right, that wiki is not updated. We switched to SS12u4 a couple of months > ago and I updated README-builds. I think you can get around it with > --disa

Re: Compile error on Solaris (Bad value 'wbadlkginit' for flag '-erroff')

2016-02-18 Thread Erik Joelsson
Oh right, that wiki is not updated. We switched to SS12u4 a couple of months ago and I updated README-builds. I think you can get around it with --disable-warnings-as-errors. /Erik On 2016-02-18 09:32, Volker Simonis wrote: Hi, after integration of "8148629: Disable remaining warnings in awt

Compile error on Solaris (Bad value 'wbadlkginit' for flag '-erroff')

2016-02-18 Thread Volker Simonis
Hi, after integration of "8148629: Disable remaining warnings in awt/fontmanager" I get the following error messages: Bad value 'wbadlkginit' for flag '-erroff' for '/sapmnt/global/tools/compiler/SS12u3/SUNWspro/prod/bin/ccfe'. Bad value 'w_novirtualdescr' for flag '-erroff' for '/sapmnt/global/t