Compile error on Solaris (Bad value 'wbadlkginit' for flag '-erroff')
Volker Simonis
volker.simonis at gmail.com
Fri Feb 19 08:40:17 UTC 2016
On Thu, Feb 18, 2016 at 9:45 PM, Magnus Ihse Bursie
<magnus.ihse.bursie at oracle.com> wrote:
> 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, we would like to support a minimal span of
> versions for the solstudio compiler. So if you are alright with upgrading to
> 12u4, we'd prefer to drop support for 12u3 completely. Filtering out error
> options like this is quite a pain, otherwise.
>
> I believe there are few community users that care much about Solaris and
> solstudio. Had you not told me you were building on Solaris, I would have
> guessed only Oracle did so. This gives us, I believe, a better chance at
> enforcing stricter restrictions on the set of supported versions, compared
> to the situation for e.g. gcc and linux.
>
For our product builds we will most probably have to stay with older
version for a couple of reasons (building on older OS release,
dependency on other products/libraries, licensing/support issues,
etc). But as long as the problem is just a few unknown compiler
options I'm fine if you say you don't want to support them any more
(we can easily remove them in our proprietary build).
This assessment would of course change if it would be necessary to
make bigger source code changes (i.e. template code) in order to
support older compilers. But fortunately we're not there until now :)
By the way, do you know if the upcoming "HotSpot C++ Unit-Test
Framework" (JEP 281) will impose further restrictions on the supported
C++ compilers?
Regards,
Volker
> /Magnus
>
>
>>
>> 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