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

Expectation for llvm toolchain with -rtlib=compiler-rt #23

Open
sylvestre opened this issue May 1, 2020 · 1 comment
Open

Expectation for llvm toolchain with -rtlib=compiler-rt #23

sylvestre opened this issue May 1, 2020 · 1 comment

Comments

@sylvestre
Copy link
Collaborator

Compiling this:

$ clang -fuse-ld=lld -rtlib=compiler-rt -stdlib=libc++ foo.cpp -o foo

generates a binary which is linked against libgcc_s

$ ldd foo|grep libgcc_s

	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f104bc66000)

Not sure it is expected?

@sylvestre sylvestre changed the title Expectation for llvm toolchain with Expectation for llvm toolchain with -rtlib=compiler-rt May 1, 2020
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

No branches or pull requests

1 participant