-
Notifications
You must be signed in to change notification settings - Fork 729
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
jdk19 alinux build with gcc11.2 fails - Failed to get next dwarf CU header #15390
Comments
#15004 should mean the build is using |
I've provided machine details. |
gcc-11 seems to be generating debuginfo that even
|
@vsebe do you know how gcc 11.2 was created for the alinux docker container? Perhaps it's a bad build. |
Telling gcc to generate DWARF version 3 yields fewer issues, but doesn't work either, in particular note the version 5 compilation units:
|
The failure occurs on internal machines too. Internal builds do not use docker containers, thus they use a different gcc11 instance/build. |
@vsebe can you pls give gcc 11.3 a try on aarch64 to see if it works any better. |
Attempting to use DWARF version 5 doesn't look promising; there are numerous messages like this in the output of
It's unclear whether that's a deficiency of |
Using 11.3 didn't produce anything different.
|
Trying a build from levels ~April 19. |
eclipse-omr/omr#6457 seems a significant change that might have triggered the compiler misbehavior in producing the GC shared library. Can you try a consistent set of versions before that. |
Seems I picked some inconsistent SHAs. I'll try again later. |
Ah, I pushed the openj9 branch to the wrong repo. |
In https://openj9-jenkins.osuosl.org/job/Build_JDK19_aarch64_linux_gcc11_Personal/8/ it seems to have failed even earlier (on the first
|
alinux can't move to 11.2 due to eclipse-openj9#15390 Signed-off-by: Peter Shipton <[email protected]>
I suspect the alinux build systems need to be updated; |
@AdamBrousseau can you pls check an internal machine. Externally, attempting a build in #18279 using the latest container (3 days old). |
Still a problem
|
That doesn't refute my suggestion that |
The "build machine" is a docker container built by Adoptium. It was built fresh 3 days before I tried it. It is cent7 so the latest there may not be the latest available elsewhere. My build used adoptopenjdk/centos7_build_image@sha256:a5c3801ed73e8c68f9edc200387a094e5ca4de4a93cc8cab76bd459ff941fd6b which is still the latest version atm. The playbook used to create the container is https://github.com/adoptium/infrastructure/blob/master/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Common/vars/CentOS.yml |
I believe this job creates the container. |
alinux can't move to 11.2 due to eclipse-openj9/openj9#15390 Signed-off-by: Peter Shipton <[email protected]>
I can build JDK 21 for AArch64 Linux in my local environment, Ubuntu 22.04.
|
Is this still an issue? All the jobs (that are still available) listed at https://openj9-jenkins.osuosl.org/job/Build_JDK21_aarch64_linux_Nightly/ are green. |
That's because they are using gcc 10.3 |
Right, I forgot about that. |
All this is consistent with a docker image that's not self-consistent. It's not clear to me that CentOS:7 will ever be a reasonable platform for such recent tools. |
We need to build against glibc 2.17 in order to run on cent7. Either finding another way to do that, or updating the image with more recent versions of the dwarf libraries. |
I don't remember the circumstances where I encountered this error
but even with the latest code in libdwarf, |
Those circumstances were building with gcc 11.4 on Ubuntu and allowing the compiler to generate DWARF version 5 debuginfo: eclipse-omr/omr#7272 fixes those problems. |
https://openj9-jenkins.osuosl.org/job/Build_JDK19_aarch64_linux_gcc11_Personal/4/console
The text was updated successfully, but these errors were encountered: