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

Makefile: add lld to list of build targets for wasm-ld #4254

Merged
merged 1 commit into from May 5, 2024

Conversation

paralin
Copy link
Contributor

@paralin paralin commented May 4, 2024

The current list of targets does not build wasm-ld.

wasm-ld is a symlink created in ./llvm-build/bin pointing to ./lld.

Add the "lld" build target to get wasm-ld into ./llvm-build/bin.

Fixes a build failure where wasm-ld is not found.

The current list of targets does not build wasm-ld.

wasm-ld is a symlink created in ./llvm-build/bin pointing to ./lld.

Add the "lld" build target to get wasm-ld into ./llvm-build/bin.

Fixes a build failure where wasm-ld is not found.

Signed-off-by: Christian Stewart <christian@aperture.us>
@paralin
Copy link
Contributor Author

paralin commented May 5, 2024

CI Failure looks unrelated to changes in this PR

@deadprogram
Copy link
Member

CI Failure looks unrelated to changes in this PR

You are correct. Restarted build and it passes.

Copy link
Member

@deadprogram deadprogram left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems legit to me, thanks @paralin

@deadprogram deadprogram merged commit 72f30ca into tinygo-org:dev May 5, 2024
16 checks passed
@paralin paralin deleted the fix-llvm-lld branch May 5, 2024 10:24
@aykevl
Copy link
Member

aykevl commented May 13, 2024

I wonder why this is needed? I don't see where wasm-ld is needed (unlike llvm-ar, llvm-nm etc which are needed in GNUmakefile).

@paralin
Copy link
Contributor Author

paralin commented May 13, 2024

I'm not sure, I just got a build failure saying that tool is missing, and then after adding it to the build targets, it's fixed. So, not sure where the actual issue was.

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