Bug 1546714
Summary: | annotated build fails build of Mesa with underlinking errors | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Igor Gnatenko <ignatenko> |
Component: | annobin | Assignee: | Nick Clifton <nickc> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 28 | CC: | fweimer, nickc |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-10-03 11:45:05 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Igor Gnatenko
2018-02-19 11:57:22 UTC
Hi Igor, I am baffled by this one. Do you happen to know where the missing symbols should be defined ? The link is being performed with the -Wl,--no-undefined option enabled, so the symbols should be present in one of the objects/libraries on the command line. Plus in the logs for a successful build, with annotated_builds disabled, the link command line is *exactly* the same. So the symbols must be present somewhere in the successful build and missing in the failing build. Cheers Nick (In reply to Nick Clifton from comment #1) > Hi Igor, Hello ;) > I am baffled by this one. Do you happen to know where the missing symbols > should be defined ? I suppose in libxcb-dri[23].so. > > The link is being performed with the -Wl,--no-undefined option enabled, so > the symbols should be present in one of the objects/libraries on the > command line. Plus in the logs for a successful build, with > annotated_builds > disabled, the link command line is *exactly* the same. So the symbols must > be present somewhere in the successful build and missing in the failing > build. Florian said that this might be a bug in ld. This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle. Changing version to '28'. Sorry - I am completely stumped by this one. I cannot for the life of me work out how the annobin plugin could be causing the dri[23] libraries (and others) to be omitted from the link command line. It just does not make any sense. There must be something special in the mesa build system that is triggering this problem - as otherwise it would have been reported for other packages as well - but I just cannot figure out what it is that changes when annobin is enabled. :-( This doesn't seem to happen when using meson to build instead of autobleh. The meson build needs some love to build well on non-x86, but nothing too terrible, so I think we're better off just switching the build. OK then, I will close this BZ. |