configure misses check for linux-glibc-devel / linux-headers / kernel-headers ?
Baesken, Matthias
matthias.baesken at sap.com
Fri Mar 4 11:41:56 UTC 2022
Hi Aleksey I did not use a devkit, just installed gcc/g++ on the Alpine docker image I used .
Maybe that's why I do not see this help output you added ?
Best regards, Matthias
>> 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?
More information about the build-dev
mailing list