Hotspot build broken with GNU make 4.0

David Holmes david.holmes at oracle.com
Thu May 8 02:45:42 UTC 2014


On 8/05/2014 3:59 AM, Henry Jen wrote:
> I think you hit on this bug,
>
> https://bugs.openjdk.java.net/browse/JDK-8028407

Which is fixed, so that begs the question as to which forest Emmanuel 
was using?

David

> Cheers,
> Henry
>
>
> On 05/07/2014 12:36 AM, Emmanuel Bourg wrote:
>> Hi,
>>
>> GNU make has been upgraded to the version 4.0 in Debian and it broke the
>> hotspot build.
>>
>> The issue is caused by the adjust-mflags.sh script in
>> hotspot/make/linux/makefiles, the sed regexp corrupts the first argument
>> containing the character 'j'.
>>
>> For example invoking this:
>>
>>      sh ./hotspot/make/linux/makefiles/adjust-mflags.sh '-rRs
>> -I/home/ebourg/openjdk8/make/common' 2
>>
>> generates:
>>
>>      -rRs -I/home/ebourg/open -j2 -dk8/make/common
>>
>> make 4.0 complains about the invalid parameters and returns an error. I
>> guess make 3.x is more lenient and ignores unknown the parameters.
>>
>> Emmanuel Bourg
>>


More information about the hotspot-dev mailing list