Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should we use GCC11 for building Alpine JDK19+? #3001

Open
sxa opened this issue Jun 24, 2022 · 0 comments
Open

Should we use GCC11 for building Alpine JDK19+? #3001

sxa opened this issue Jun 24, 2022 · 0 comments
Labels
aarch Issues that affect or relate to the aarch ARCHITECTURE alpine-linux Issues that affect or relate to the Alpine LINUX OS docker Issues related to our docker files and docker scripts enhancement Issues that enhance the code or documentation of the repo in any way question Issues that are queries about the code base or potential problems that have been spotted

Comments

@sxa
Copy link
Member

sxa commented Jun 24, 2022

#2990 highlighted an issue where an upgrade to the docker base image from 3.15 to 3.16 bumped the GCC version from 10 to 11. This was fixed by locking the version of the build container to 3.15 so it continued to use the GCC10 compiler built into that Alpine version.

On (non-Alpine) Linux/x64 we use different compiler versions based on the java versions. Should we do the same for Alpine? Since we've already shipped versions of all JDKs up to 17 on GCC10 I'm ok with leaving them as-is, but we have recently bumped Linux platforms up to GCC11, and we could do the same for Alpine.

I've got a built version of GCC11.2 for Alpine/x64 at https://ci.adoptopenjdk.net/userContent/gcc/gcc112.alpinex64.tar.xz and it appears to work ok for building JDK head on Alpine 3.15 (Built with --disable-libsanitizer) NOTE: I haven't got a working one for Alpine/aarch64 yet.

This issue should cover whether we want to do it and any subsequent PRs to this repository and infrastructure covering any required PRs.

@sxa sxa added enhancement Issues that enhance the code or documentation of the repo in any way question Issues that are queries about the code base or potential problems that have been spotted labels Jun 24, 2022
@github-actions github-actions bot added aarch Issues that affect or relate to the aarch ARCHITECTURE alpine-linux Issues that affect or relate to the Alpine LINUX OS docker Issues related to our docker files and docker scripts labels Jun 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aarch Issues that affect or relate to the aarch ARCHITECTURE alpine-linux Issues that affect or relate to the Alpine LINUX OS docker Issues related to our docker files and docker scripts enhancement Issues that enhance the code or documentation of the repo in any way question Issues that are queries about the code base or potential problems that have been spotted
Projects
Status: Todo
Development

No branches or pull requests

1 participant