AArch64: Apple M1: getting a core dump

Vladimir Kempik vkempik at azul.com
Wed Apr 21 16:43:37 UTC 2021


Hello
you might want to slightly hack openjdk’s build system and remove these —options runtime

$ egrep -ir "\-\-options runtime" make
make/Bundles.gmk:	    --timestamp --options runtime --deep --force \
make/Bundles.gmk:	    --timestamp --options runtime --deep --force \
make/common/NativeCompilation.gmk:		  $(CODESIGN) -s "$(MACOSX_CODESIGN_IDENTITY)" --timestamp --options runtime \

then make clean images.

Regards, Vladimir

> 21 апр. 2021 г., в 18:53, Andrew Haley <aph at redhat.com> написал(а):
> 
> On 4/21/21 4:48 PM, Vladimir Kempik wrote:
>> Hello
>> That sounds like a limitation of hardened runtime in macos.
>> So you need to resign you jdk without hardened runtime ( its -o runtime option to codesign)
> 
> OK. I guess I don't have any idea how codesign happens when JDK is built.
> All I do is type "make".  :-)
> 
> --
> Andrew Haley  (he/him)
> Java Platform Lead Engineer
> Red Hat UK Ltd. <https://www.redhat.com>
> https://keybase.io/andrewhaley
> EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671



More information about the hotspot-dev mailing list