-
-
Notifications
You must be signed in to change notification settings - Fork 255
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
Building with Eclipse OpenJ9 will soon need libdwarf-dev pkg (AO8/J9 s390x break) #182
Comments
@mstoodle do you want to put together a pull request to add this to the ansible scripts? https://github.com/AdoptOpenJDK/openjdk-infrastructure/tree/master/ansible/playbooks |
@gdams Sure, I'll take a crack at it. Given current course and speed, it will probably not materialize until later in the week. |
thanks @mstoodle It would be good to get it on the machines before our builds break! |
OK, um, slightly embarrassed here but, as it turns out, the Ubuntu playbooks, which are used to build OpenJ9 I believe all have libdwarf-dev in the build requirements already. So this becomes a really easy issue to address . I also see libdwarf-devel being installed as an additional build tool in the rhel.yml file for RHEL7 specifically. Anyway, this dependency is important if we expand the set of platforms on which we build OpenJ9, but for now it would seem we're already covered where we need to be. I suggest we close, but I'll leave it up to @gdams @karianna for the final determination (maybe you're building OpenJ9 on a platform I'm not aware of?) |
https://ci.adoptopenjdk.net should list our existing infra hosts and what branches they build. Looks like we're trying to build on: openjdk9_openj9_build_arm64_linux |
@mstoodle is this additional dependency included in the |
It is. I checked the current builds with OpenJ9 and none of them are failing for lack of this dependency, so I think this can be closed. New builds and new platforms will need to account for the dependency, but that's just BAU. I'll close. |
@mstoodle @sxa, do either of you know, if this DDR compilation failure on s390x related to not having this issue (need libdwarf dependency)? Seems like it is... failing since Mar 23rd. Note, we should fix the job, so that it actual reports that it failed. Right now, even though the compilation failed, it says Built the SDK! Excerpt from (https://ci.adoptopenjdk.net/job/openjdk8_openj9_build_s390x_linux/107/console): a - ../gc/verbose/handler_standard/VerboseHandlerOutputStandard.o |
I will defer to someone like @keithc-ca on this question, but given this output from configure, it sounds likely @smlambert is correct:
Can someone check the configuration of that machine to confirm it does (not?) have libdwarf installed? |
Looking a little further back, you'll see:
So it would appear that machine does not have |
It's a SLES12 machine so I'm not even sure if that's in the default repos. A quick search of the package repository doesn't find anything matching For my own reference: machine is |
we are going to switch to building on rhel7 once the machine comes back so we should be okay |
So does RHEL7 definitely have a dwarf dev package available @gdams? |
Do we have a timeframe for when this will be resolved? (when rhel7 machine comes back) Right now, the fact that this is failing, blocks all nightly builds for openjdk8-openj9, so I have fixes coming in from the openj9 project that I can't verify, because there has been no nightly build since March 23. |
On SLES, I think the package we want is |
@smlambert I thought this was only affecting the |
@keithc-ca Got a reference or a SLES12 machine that already has it? As I mentionEd before it didn't seem to be in the default repos:
|
No, there are no other build issues on other platforms @sxa555 What I was describing is the fact that if one platform fails to build, no SDKs for any platform get published (see openjdk-build pipeline scripts). So its all or nothing, in terms of what is published and available for download from the api and website (which is ultimately how it should work), which means we should endeavour not to go days where we are broken (or rethink that deployment story). |
related: #279 (comment) |
@keithc-ca That's already on the machine but it only contains the runtime library, not the headers which is what the build is looking for. |
Perhaps you can use one of the RPMs available via [1]? |
Yeah always possible to pull random ones from places but would prefer to use something vaguely official (or perhaps grabbing the source from an official repo and utilising that would be the right answer) |
Just a heads up that Eclipse OpenJ9 is adding some valuable diagnostic tooling support (called Direct Dump Reader) to our default builds, and that carries a requirement for the
libdwarf-dev
package to be installed on machines used to build OpenJDK with Eclipse OpenJ9.Hopefully, it's only a small imposition to additionally install this package on the build machines in your farm. I'll gladly help if desired.
For a bit more info, I've quoted the motivation from our umbrella Issue 378 for your convenience:
...though I would have said "OpenJ9 issues are more difficult to debug without this support" :) . The DDR based tooling makes it much easier to find and walk through OpenJ9 internal data structures to debug a core file. We have found it to be an invaluable tool for analyzing problems in the JVM itself.
For more background, please see eclipse-openj9/openj9#378 and linked issues.
The text was updated successfully, but these errors were encountered: