summaryrefslogtreecommitdiff
path: root/elements/gnu-toolchain/glibc.bst
Commit message (Collapse)AuthorAgeFilesLines
* gnu-toolchain: Split rule improvementssam/split-rulesSam Thursfield2017-12-041-0/+37
| | | | | | | | | | | | | | | | | | | | | | This includes many fixes that result in us being able to produce a minimal OS image or initramfs of a reasonable size. I have built an initramfs of 16MB uncompressed with this change: still a bit bigger than necessary, but much better than the comical ~700MB thing complete with kernel source code and C++ compiler that I got before these changes. Note that the gnu-toolchain stack now puts all the toolchain binaries into the 'devel' artifact. The 'runtime' artifact just contains libraries needed to run programs that are built with that toolchain. We should split this up further in future so that C programs don't depend on libstdc++. Special care is taken for GCC and GLIBC to handle the lib/ and lib64/ split that they do on some 64-bit platforms. We also globally put /usr/src into the devel artifact, which is only useful for the linux.bsp element at present but makes sense as a global rule.
* Replace use of architecture conditionals with generic project conditionsSam Thursfield2017-11-051-7/+8
| | | | | | | | | | | | The initial implementation of architecture conditionals has been removed, as the same behaviours can be implemented using the more generic mechanism for conditionals that is being introduced for BuildStream 1.0. We now have two architecture options: build_arch and arch. They are documented in project.conf. The first one controls the build sandbox while the second controls the host and target of the binaries we produce.
* Disable debug section compression in stage3Sam Thursfield2017-10-261-0/+4
| | | | | | The objcopy tool that we built in stage2 doesn't have zlib support, so it can't handle the `--compress-debug-sections` flag that BuildStream passes by default.
* gnu-toolchain: Remove PATH hack in glibcSam Thursfield2017-10-251-6/+0
| | | | | | | | | | | We now have /tools at the *end* of the PATH rather than the start (which is how it should have been all a long in stage 3) so glibc's configure script will always find `bash` in /usr/bin before it looks in /tools/bin. This also fixes stage3 glibc building against a stage2 sysroot when there's no symlink from /tools/bin -> /usr/bin. This is required for the current cross-bootstrap method.
* gnu-toolchain: Update components in line with build-essential stratumSam Thursfield2017-08-241-1/+1
|
* Update GCC to 7.1.0, and GLIBC to 2.25Sam Thursfield2017-07-071-2/+2
|
* Moved all elements under the elements directoryTristan Van Berkom2017-03-221-0/+77