Skip to content

cross/binutils-*: remove

Oliver Smith requested to merge use-binutils-cross-from-alpine into master

In theory we can drop cross/binutils-* in favor of the new binutils-cross package in alpine edge: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/35306.

TODO:

  • investigate if CI adjustment is needed for upstream compat check -> nope
  • wait until binutils-cross is moved to community from testing (see discussion in the upstream MR)
  • test bootstrap (was tested for armv7, riscv64, armhf below)
$ pmbootstrap zap -p
$ pmbootstrap --mirror-pmOS="" build --arch=armv7 hello-world

Above command runs pmbootstrap without using the postmarketOS binary packages mirror, builds musl-armv7 (just repackaging alpine's package), installs gcc-armv7 from alpine's binutils-cross package, builds gcc-armv7 with these and then builds hello-world with the cross-compiler and runs it in check(). If this works for all 3 arm arches, this should be good to go.

Edited by Newbyte

Merge request reports