Closed akamoroz closed 2 months ago
Nice! The compiler broke!
What version of Clang or GCC are you using?
I've used gcc-12 12.2.0 arm64 from debian bookworm main repo.
That version of GCC is nearly two years old. Has there not been any update for it?
Hi @akamoroz long time no see!
I don't think we can do anything about this issue, to be honest, as compiler issues when launched through an emulation layer arent exactly something to be fixed in our code or images...
Yeah, I'm going to close this.
GCC 12.2.0 is a couple of years old and arm64 is relatively new and you're doing something which probably isn't that well trodden.
If current versions of GCC and/or Clang still barf on it, then it's perhaps worth while submitting bugs to GCC/Clang, though they will likely want minimal reproducers...
I'm assuming this code has been successfully compiled many times before with a variety of compilers without warnings/errors on both arm64 and x86_64.
(Out of interest, does using --platform=linux/arm64,linux/amd64
, dropping the /v8
, make any difference?)
Steps to Reproduce:
docker buildx build --platform=linux/arm64/v8,linux/amd64 --no-cache -f Dockerfile.python3.11 .
Building containers on amd64 instances (even for ARM) works just fine.