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

Building golang-cross-builder on m1 macbook may not work yet #104

Closed
hu13 opened this issue Mar 19, 2022 · 0 comments · Fixed by #162
Closed

Building golang-cross-builder on m1 macbook may not work yet #104

hu13 opened this issue Mar 19, 2022 · 0 comments · Fixed by #162

Comments

@hu13
Copy link
Contributor

hu13 commented Mar 19, 2022

Running

docker build --platform linux/amd64 -f Dockerfile.builder -t ghcr.io/gythialy/golang-cross-builder:v1.18 .

with the current osxcross version in this repo will lead to errors

#13 2307.6 ld: symbol(s) not found for architecture x86_64
#13 2307.6 clang: error: linker command failed with exit code 1 (use -v to see invocation)
#13 2307.6
#13 2307.6 exiting with abnormal exit code (1)
#13 2307.6 run 'OCDEBUG=1 ./build.sh' to enable debug messages
#13 2307.6
------
executor failed running [/bin/sh -c UNATTENDED=yes OSX_VERSION_MIN=${OSX_VERSION_MIN} ./build.sh]: exit code: 1

The actual issue is here: tpoechtrager/osxcross#314
But adding this here to track it so when the fix gets merged, we can update our osxcross's version.

gythialy added a commit that referenced this issue Sep 29, 2022
- fix #104

Signed-off-by: gythialy <gythialy.koo+github@gmail.com>
gythialy added a commit that referenced this issue Sep 29, 2022
- fix #104

Signed-off-by: gythialy <gythialy.koo+github@gmail.com>
gythialy added a commit that referenced this issue Sep 29, 2022
- fix #104

Signed-off-by: gythialy <gythialy.koo+github@gmail.com>
gythialy added a commit that referenced this issue Sep 29, 2022
- fix #104

Signed-off-by: gythialy <gythialy.koo+github@gmail.com>
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 a pull request may close this issue.

1 participant