On 3/4/22 10:08, Baesken, Matthias wrote:
Hi , while attempting to build jdk on an Alpine Linux I was running into the 
following issue :
After some additional package installations  configure  was passing 
successfully , however hotspot build failed with

/openjdk_build/jdk_1/jdk/src/hotspot/os/linux/os_linux.cpp:109:11: fatal error: 
linux/elf-em.h: No such file or directory
   109 | # include <linux/elf-em.h>

Mhm. When I was doing the Alpine hints, it failed on devkit checks, suggesting to install linux-headers there:

https://github.com/openjdk/jdk/commit/a30aa52b77931bcea38213cf3d243d18a37dc858#diff-187e9e1165cff171d9373b1877f4e155746ec1a5fc2684cc103be8153beee4efR200

We should probably look into why this devkit check did not work for you?

--
Thanks,
-Aleksey

Reply via email to