issues building jdk8u/jdk8u20

Matthias Klose doko at
Tue Jul 8 14:28:05 UTC 2014

Am 07.07.2014 21:47, schrieb Matthias Klose:
>  - The demos build fails to build with the hardening defaults
>    used in Debian and Ubuntu. Sure, you don't see this, because
>    the extra flags are ignored.

trying to pass -Wl-z,relro ...

make[3]: Leaving directory
CompileDemos.gmk:310: *** missing separator (did you mean TAB instead of 8
spaces?).  Stop.
BuildJdk.gmk:93: recipe for target 'demos' failed
make[2]: *** [demos] Error 2

this is a not very robust make macro, and apparently somebody already did see
that with Solaris builds, but did choose to only fix or work-around it for Solaris:

see the comment in jdk/make/CompileDemos.gmk (SetupJVMTIDemo):

  # Workaround for CFLAGS_JDKLIB containing ',' on solaris. If this is added as
'CFLAGS' to the
  # eval call below, the comma gets expanded too early.

More information about the distro-pkg-dev mailing list