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

Use the correct compiler-rt #517

Merged
merged 1 commit into from
Jul 24, 2024
Merged

Conversation

yamt
Copy link
Contributor

@yamt yamt commented Jul 18, 2024

eg. when a user specifies non-default -resource-dir.

cf. WebAssembly/wasi-sdk#446

eg. when a user specifies non-default -resource-dir.

cf. WebAssembly/wasi-sdk#446
@yamt
Copy link
Contributor Author

yamt commented Jul 18, 2024

@alexcrichton

@alexcrichton
Copy link
Collaborator

Why does the builtins lib need to be passed to the compiler specifically when creating *.so? Shouldn't the compiler automatically add it?

@yamt
Copy link
Contributor Author

yamt commented Jul 20, 2024

Why does the builtins lib need to be passed to the compiler specifically when creating *.so? Shouldn't the compiler automatically add it?

because it's suppressed by -nodefaultlibs.

@yamt
Copy link
Contributor Author

yamt commented Jul 24, 2024

@alexcrichton do you have any other concerns on this PR?

@alexcrichton alexcrichton merged commit b9ef79d into WebAssembly:main Jul 24, 2024
8 checks passed
yamt added a commit to yamt/wasi-sdk that referenced this pull request Jul 25, 2024
To include WebAssembly/wasi-libc#517,
which is necessary to avoid modifying host compiler's resource
directory.

At least on my environment (macOS if it matters), without the above
mentioned fix, gmake tries to create the directory for wasi compiler-rt
during wasi-libc build. I'm not sure why it didn't happen for others.
cf. WebAssembly#445
alexcrichton pushed a commit to WebAssembly/wasi-sdk that referenced this pull request Jul 25, 2024
To include WebAssembly/wasi-libc#517,
which is necessary to avoid modifying host compiler's resource
directory.

At least on my environment (macOS if it matters), without the above
mentioned fix, gmake tries to create the directory for wasi compiler-rt
during wasi-libc build. I'm not sure why it didn't happen for others.
cf. #445
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.

2 participants