Hotspot build broken with GNU make 4.0

Emmanuel Bourg ebourg at apache.org
Wed May 7 07:36:42 UTC 2014


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