Compile error on Solaris (Bad value 'wbadlkginit' for flag '-erroff')
Volker Simonis
volker.simonis at gmail.com
Thu Feb 18 10:17:28 UTC 2016
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 fine.
Regards,
Volker
On Thu, Feb 18, 2016 at 10:42 AM, Erik Joelsson
<erik.joelsson at oracle.com> wrote:
> 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 <erik.joelsson at oracle.com>
>> 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
>>> --disable-warnings-as-errors.
>>>
>>> /Erik
>>>
>>>
>>> On 2016-02-18 09:32, Volker Simonis wrote:
>>>>
>>>> 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/tools/compiler/SS12u3/SUNWspro/prod/bin/ccfe'.
>>>> Bad value 'arrowrtn2' for flag '-erroff' for
>>>> '/sapmnt/global/tools/compiler/SS12u3/SUNWspro/prod/bin/ccfe'.
>>>>
>>>> I'm using SS 12u3 (i.e. CC: Sun C++ 5.12 SunOS_i386 2011/11/16) which,
>>>> according to [1] should be the supported solaris compiler for jdk9.
>>>> Unfortunately I couldn't find any list of supported tags for the
>>>> '-erroff' command [2].
>>>>
>>>> Any idea why I'm seeing this and how I can et rid of the problem?
>>>>
>>>> Thank you and best regards,
>>>> Volker
>>>>
>>>> [1]
>>>> https://wiki.openjdk.java.net/display/Build/Supported+Build+Platforms
>>>> [2] https://docs.oracle.com/cd/E24457_01/html/E21990/bjapr.html#bjaqe
>>>
>>>
>
More information about the build-dev
mailing list