live-bootstrap
live-bootstrap copied to clipboard
Add binutils 2.38 and libtool 2.4.7
Overview
This PR adds binutils 2.38 to the bootstrap process. Introducing libtool 2.4.7 as well helped avoid configuration issues, and building after gcc 4.7.4 allowed a minimal amount of patching and workarounds during compilation.
libtool is built as early as its minimal requirements are met. It did require a small workaround in gcc 4.7.4 caused by this package relying upon an older automake version relatively late in the bootstrap. The workaround did not affect the actual resulting package.
I chose binutils 2.38 because I already build it successfully on the freedesktop-sdk side, and wanted to be on the safe side when attempting to bootstrap it in live-bootstrap. I assume it should be possible to update to 2.39 without much trouble in the future.
See commit messages for more information.
Testing
I used both the qemu and bwrap bootstrap modes in my tests. I bootstrapped each commit individually, and verified that hashes remain stable through multiple bootstrap exectutions.
cc: @stikonas, @fosslinux
@fosslinux, as expected, there wasn't any change in package hashes after regenerating the various pregenerated files you mentioned.
We missed at least one pregenerated file...
libtool/lib/uniwidth/width0.h libtool/lib/uniwidth/width2.h