| Summary: | 11.3 bootstrap GHC compiler fails linking programs on 12.0 ld.lld: error: OSMem.c:(.SUNW_dof+0x160): unrecognized reloc 8 | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Gleb Popov <arrowd> |
| Component: | bin | Assignee: | Mark Johnston <markj> |
| Status: | Closed FIXED | ||
| Severity: | Affects Some People | CC: | markj, toolchain |
| Priority: | --- | Flags: | koobs:
mfc-stable12+
koobs: mfc-stable11- |
| Version: | 11.3-RELEASE | ||
| Hardware: | amd64 | ||
| OS: | Any | ||
|
Description
Gleb Popov
2020-01-30 19:43:36 UTC
Interestingly, the same steps work on 13-CURRENT. And the link should read http://arrowd.name/ghc-8.6.5-boot-amd64-freebsd.tar.xz This is related to some use of userspace DTrace probes, though I don't know how that gets integrated into GHC. I suspect the issue is related to r313262. Since it's a bootstrap compiler, you could presumably work around the issue by simply disabling dtrace? (In reply to Mark Johnston from comment #2) I already worked it around by using GCC, but I'll also try your suggestion. Thanks. (In reply to Gleb Popov from comment #3) That makes sense, the issue solved by r313262 was specific to lld. That revision is also not in 11.3 AFAIK, which is why you're hitting it. Ok, since this is fixed in CURRENT and I managed to workaround it, the PR can be closed? (In reply to Gleb Popov from comment #5) Yes I think so. ^Triage: - Consider issue resolved (FIXED), given an associated change (commit) in base r313262 was made. Assign to committer that resolved accordingly. - Issue relates to 11.3 built (bootstrap) GHC. Track Version accordingly. - Track merge (mfc-stable*) flags (In reply to Kubilay Kocak from comment #7) What's the point of triaging closed PRs? (In reply to Gleb Popov from comment #8) ^Triage in this case is just a tag/label we use when commenting on issues when in that role, the bug isn't actually being triaged. Its metadata fields are just being changed to more accurately reflect the final state. This ensures/helps future viewers of the issue, including our future selves have clarity on that final state. In most cases, this all happens during initial triage or while the bug is in progress. (In reply to Kubilay Kocak from comment #9) P.S Bugmeister is working on being able to make certain changes without the associated email that gets sent out. Unfortunately, Bugzilla doesn't provide this functionality out of the box. |