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

diagnose and fix bug in mach-o LLD code: invalid x86_64 Reference Kind #662

Open
andrewrk opened this Issue Dec 19, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@andrewrk
Member

andrewrk commented Dec 19, 2017

Right now we have this patch applied to our in-tree fork of LLD:

ddca67a

It's an ugly workaround and does not solve the root cause. It's currently the only patch we have on top of LLD. If we fix this then we can go back to using upstream LLD.

Upstream bug: https://bugs.llvm.org/show_bug.cgi?id=32254

The bug is triggered by trivial hello world code. It seems the Mach-O LLD code is not well supported by the LLD team. Zig project will have to pick up the slack.

@andrewrk andrewrk added this to the 0.3.0 milestone Dec 19, 2017

@andrewrk andrewrk modified the milestones: 0.3.0, 0.4.0 Feb 28, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment