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

build: add -O2 flag to work around TLS mismatch issue #390

Closed
wants to merge 1 commit into from

Conversation

aofei
Copy link
Member

@aofei aofei commented Jun 22, 2024

~/llgo/_demo/hello$ llgo run .
/usr/bin/ld: errno: TLS definition in /lib/x86_64-linux-gnu/libc.so.6 section .tbss mismatches non-TLS reference in /tmp/fc1f938378d3b77671775f4ad24538d3fbc174cae7ad918ad3c9f13afc646cb9-d-6299b3.o
/usr/bin/ld: /lib/x86_64-linux-gnu/libc.so.6: error adding symbols: bad value
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@aofei aofei marked this pull request as draft June 22, 2024 09:02
@aofei aofei closed this Jun 26, 2024
@aofei aofei deleted the build branch June 26, 2024 04:14
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

1 participant