Skip to content

Use the correct compiler-rt#517

Merged
alexcrichton merged 1 commit intoWebAssembly:mainfrom
yamt:use-correct-rt
Jul 24, 2024
Merged

Use the correct compiler-rt#517
alexcrichton merged 1 commit intoWebAssembly:mainfrom
yamt:use-correct-rt

Conversation

@yamt
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

yamt commented Jul 18, 2024

@alexcrichton

@alexcrichton
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
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