binutils
- Does not allow
autoreconfand does not haverunstatedir - Depends on
zstd - Do we need to depend on
janssonwith--enable-jansson, or is that forgdbonly? - Alpine reverts
25882for ARM and PowerPC --disable-separate-codebloats every executable and shared library by at least 2 MB;musl-cross-makeuses this for smaller binaries in some cases (while sacrificing a bit of security)--enable-64-bit-bfdis needed to ensure 64-bit support even on hosts with narrower word sizes- Is
libbfdeven needed--disable-install-libbfd(same thing forlibiberty,--disable-install-libiberty)? --enable-pgo-build=ltorequiresdejagnuand the test suite?- Do we need
make configure-host configure-target? - Should the target
bpf-unknown-nonebe enabled? - Does
--enable-default-compressed-debug-sections-algorithm=zstdcontradict with--disable-compressed-debug-sectionsand enables compressed debug sections, or does it only set the default algorithm if the user decides to use compressed debug sections? --with-build-sysrootis only relevant incross- Do not symlink
toolchain/usr/$TGTtogcc-ar/gcc-nm/gcc-ranlibas it will loop infinitely and thrash your system bfddoes not build withyash; only withdashandbashgoldhas been deprecated--enable-new-dtagsallows the linker to use the “runpath” tag instead of the older rpath one--without-msgpack:msgpackis not needed on glaucus (gentoo also disables this)--disable-default-stackis an alias for--enable-default-execstack=no--enable-sharedenables the shared libraries oflibbfdandlibopcodesand makes tools likearandasdepend on them
References
Section titled “References”- https://bugs.archlinux.org/task/42540
- https://github.com/richfelker/musl-cross-make/commit/d969dea983a2cc54a1e0308a0cdeb6c3307e4bfa
- https://reviews.llvm.org/D64903
- https://sourceware.org/bugzilla/show_bug.cgi?id=25882
- https://sourceware.org/bugzilla/show_bug.cgi?id=32715
- https://youtube.com/watch?v=Dlw_ULTdEYs