-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
golang: linker problem on build #6183
Labels
bug report
Something is not working properly.
Comments
ghost
transferred this issue from termux/termux-app
Dec 27, 2020
might be related to #6174? |
@landfillbaby Very unlikely. #6174 is a draft and is not merged. However |
Maybe look at how |
ghost
changed the title
Linker problem on build
golang: linker problem on build
Dec 28, 2020
ghost
pushed a commit
that referenced
this issue
Dec 28, 2020
ghost
closed this as completed
Dec 28, 2020
Thanks! |
ghost
locked and limited conversation to collaborators
Oct 9, 2021
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
On build a GoLang simple project Iˋm getting this error:
runtime/cgo
/data/data/com.termux/files/usr/bin/aarch64-linux-android-ld: $WORK/b057/_x006.o:/data/data/com.termux/files/usr/lib/go/src/runtime/cgo/gcc_linux_arm64.c:15: multiple definition of `x_cgo_inittls'; $WORK/b057/_x003.o:/data/data/com.termux/files/usr/lib/go/src/runtime/cgo/gcc_android.c:80: first defined here
clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
On a simple Hello World it builds, but when I import the package net/http stops to build.
command used:
go build
also happens on:
go test
The text was updated successfully, but these errors were encountered: