-
Notifications
You must be signed in to change notification settings - Fork 138
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
gcc: error: unrecognized command-line option '-m64' #2623
Comments
workaroud was to specify builderImages pointing to previous image builder ghcr.io/knative/builder-jammy-tiny:0.0.307 in func.yaml |
@alanreynosov recently I added mult-arch tiny builders so there are two images actually behind it: one for amd64 and one for arm64. |
One possible workaround: |
There is one more batch of changes required to fix Go. But I did not mage do it before holidays. Sorry. |
Related to: #2617 |
Hi @matejvasek thanks for following up this, I've added CGO_ENABLED like this to func.yaml, but not working, buildEnvs:
it looks I am missing something. |
Hi, sorry for late reply. I have no idea why setting CGO_ENABLED does not help. IMO it should. Anyway I have create PR fixing Go buildpacks. |
@alanreynosov you could try out prebuild: |
|
@alanreynosov does quay.io/boson/testing/builder-jammy-tiny@sha256:79d33ab170e6c9980538723b18cb10c526136117728a2549d620dcecddc96048 work for you? |
latest update for pack builder introduced this error
gcc: error: unrecognized command-line option '-m64'
whole output
The text was updated successfully, but these errors were encountered: