Image doesn't build on arm64 or arm/v7 with lto #28

Closed
opened 2022-01-14 21:01:08 +01:00 by Jef Roosens · 3 comments

Currently, the release image doesn't build on arm64 or arm/v7, which is preventing us from building multi-arch releases. The builder image works fine though.

Currently, the release image doesn't build on arm64 or arm/v7, which is preventing us from building multi-arch releases. The builder image works fine though.
Jef Roosens added this to the (deleted) milestone 2022-01-14 21:01:08 +01:00
Jef Roosens added the
bug
label 2022-01-14 21:01:08 +01:00
Jef Roosens changed title from Image doesn't build on arm64 or arm/v7 to Image doesn't build on arm64 or arm/v7 with lto 2022-01-15 11:23:24 +01:00

After some experimenting, it seems that the culprit is the fact that lto doesn't run on alpine using buildx, for some reason. This means that, as long as this bug is present, we can't build our images with proper -prod, only with -O3.

After some experimenting, it seems that the culprit is the fact that lto doesn't run on alpine using buildx, for some reason. This means that, as long as this bug is present, we can't build our images with proper `-prod`, only with `-O3`.

We might be able to fix this by letting the Dockerfile just pull the files from the releases. This would also cause us to not have to compile a production-ready build multiple times & would speed up Docker image creation.

We might be able to fix this by letting the Dockerfile just pull the files from the releases. This would also cause us to not have to compile a production-ready build multiple times & would speed up Docker image creation.

The above idea is now defined in #43.

The above idea is now defined in #43.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vieter-v/vieter#28
There is no content yet.