Hotspot build broken with GNU make 4.0

Henry Jen henry.jen at oracle.com
Wed May 7 17:59:00 UTC 2014


I think you hit on this bug,

https://bugs.openjdk.java.net/browse/JDK-8028407

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