Skip to content
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

add error message for -fno-llvm -flld #19810

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Rexicon226
Copy link
Contributor

@andrewrk
Copy link
Member

andrewrk commented Apr 29, 2024

Can you please explain the purpose of this change in the commit message? The diff is small, but why is this warranted?

@Rexicon226
Copy link
Contributor Author

How's this?

@andrewrk
Copy link
Member

Zig will never support linking in stage2 with LLD as the self-hosted backends are linker driven.

I don't think that's accurate. Since zig supports build-obj, that functionality can be repurposed to pass the output to LLD. Not sure where you got this idea from.

@Rexicon226
Copy link
Contributor Author

Ah my apologies, I did not phrase that correctly. One moment.

@Rexicon226 Rexicon226 marked this pull request as draft April 29, 2024 21:39
@Rexicon226 Rexicon226 marked this pull request as ready for review April 29, 2024 21:48
src/Compilation/Config.zig Outdated Show resolved Hide resolved
We plan to remove all dependency on LLD either way, so this will not be a supported usecase.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants