Commit Graph

1248 Commits

Author SHA1 Message Date
Andrius Štikonas 3b90aae529 Upgrade to binutils 2.24:
* Move libtool 2.2.4 before binutils.
* Remove libtool 1.4.
* Switch from binutils 2.14 to 2.24.
2023-02-25 12:22:44 +08:00
fosslinux 7ce844e89a
Merge pull request #248 from stikonas/binutils_prereq
Binutils prerequisites
2023-02-22 15:24:13 +11:00
Andrius Štikonas ea96519332 Move autoconf-2.69 to sysa. 2023-02-22 10:27:56 +08:00
Andrius Štikonas da11c40e37 Move automake-1.11.2 to sysa. 2023-02-22 10:27:56 +08:00
Andrius Štikonas cd396db5d5 Bootstrap newer autotools versions before binutils. 2023-02-22 10:27:56 +08:00
Andrius Štikonas d4eeba9d7a Improvements to early package creation:
* get_files produces list without extra ./ between extra subdirectories.
* Emtry directories are also included.
* Simplified src_pkg function.
* Use local variables instead of unsetting global variables in src_apply.
2023-02-22 10:27:56 +08:00
Andrius Štikonas cd67dfbf07
Merge pull request #249 from pder/mes-0.24.2
Update mes to version 0.24.2
2023-02-22 08:58:13 +08:00
Paul Dersey c67306cfde Update mes to version 0.24.2
A rebuild of mes libc is required after building tcc 0.9.27 for the
first time.
2023-02-21 15:24:14 -05:00
fosslinux 1b0074782d Add file to parts.rst 2023-02-14 16:57:22 +11:00
fosslinux c170152d14 Apply CRC regen to GCC 4.7
CRC generated table is regenerated using the same method as GCC 10.

Closes #243
2023-02-13 22:15:58 +11:00
fosslinux 946dd8ee33 Fix GCC 10
stripping breaks it
2023-02-13 19:49:11 +11:00
fosslinux 4b5b037718
Merge pull request #242 from fosslinux/gcc-10
GCC 10
2023-02-12 09:23:30 +11:00
fosslinux 495b985173 Update checksums for misc packages
The various toolchain changes recently required a few checksum updates.
2023-02-12 09:21:24 +11:00
fosslinux a0e3e61fd9 Fix gettext autoreconf for binutils 2.38
This is the same issue as in GCC 10, doesn't change checksum.
2023-02-12 09:21:24 +11:00
fosslinux dd8bf0921f Add GCC 10.4.0
Last version of GCC that can be compiled with GCC 4.7.
2023-02-12 09:21:24 +11:00
fosslinux d854915ad3 Add file-5.44 2023-02-12 09:21:24 +11:00
fosslinux e5f62ba49e Add missing linux-headers asm-generic header
asm/param.h, from asm-generic, is required for GCC 10.
2023-02-12 09:21:24 +11:00
fosslinux 0d81d85e05 Fix --with-sysroot in binutils (again)
--with-sysroot removal is insufficient.

There is bad behaviour somewhere that causes --with-sysroot=no as the
default, and then sysroot to be set to 'no'. In reality, we should have
literally no sysroot; so set --with-sysroot=
2023-02-12 09:21:24 +11:00
fosslinux ca9d3aa51f Patch GCC 4.7 for GCC 10
A couple of backports that ease the building of GCC 10.
2023-02-12 09:21:24 +11:00
fosslinux 712175af44 Make crt*.o available in /usr/lib
This is expected by GCC 10+ - they must be at a well defined path.
2023-02-11 20:25:47 +11:00
Andrius Štikonas 6216ba40a9
Merge pull request #241 from rick-masters/fix-perl-config-and-help2man-shebang
Set perl config vars needed to create help2man shebang.
2023-02-08 23:43:55 +00:00
rick-masters 71d82c783b Set perl config vars needed to create help2man shebang. 2023-02-08 19:43:49 +00:00
Andrius Štikonas c38b8b3455
Merge pull request #240 from nanonyme/separate-sandboxes
Split sysa and sysc when using bwrap
2023-02-08 01:38:19 +00:00
Seppo Yli-Olli 7167610125 Split sysa and sysc when using bwrap
Using separate bwrap invocations allows dropping chroot permission
2023-02-07 18:03:20 +02:00
Andrius Štikonas 80085c00be
Merge pull request #238 from fosslinux/some-fixes
Pre-GCC10 changeset
2023-02-06 09:31:52 +00:00
fosslinux 35efcc4223 Rebase checksums 2023-02-06 16:58:10 +11:00
fosslinux eb607794cd Clean up TCC buildcode
It was unstandard & some files were not correctly in DESTDIR
2023-02-06 16:58:10 +11:00
fosslinux 5f7ae7d964 Fix LIBDIR before musl built
Strictly, LIBDIR=/usr/lib/mes pre-musl.
2023-02-06 16:58:10 +11:00
fosslinux 73b8916e1f Remove with-sysroot from binutils
This option is erroneous and only worked by chance.

sysroot is prepended to all library search paths when working correctly,
eg, /usr/lib turns into /usr/usr/lib when --with-sysroot=/usr.
2023-02-06 16:58:10 +11:00
fosslinux 2577d2e704 Fix a packaging bug
Previously, symlinks to directories were followed early
in the bootstrap. This is incorrect behaviour.

While never actually encountered (hence no checksum changes),
this could be a problem.
2023-02-06 16:58:10 +11:00
fosslinux 070e9dacc5 Fix binutils 2.14 install
Programs shouldn't install to outdated usr/<target> location
2023-02-06 16:58:10 +11:00
fosslinux f4d39516d1 Fix bad util-linux installation
Programs shouldn't install to usr/triplet (this is obsolete)
2023-02-06 16:58:10 +11:00
fosslinux 6bed629a81 Add $triplet-$prog symlinks to binutils 2023-02-06 16:58:10 +11:00
fosslinux 5509e6bb6e Change binutils to unknown-linux-musl triplet 2023-02-06 16:58:10 +11:00
Andrius Štikonas 3f7cd7ec7b
Merge pull request #235 from nanonyme/stop-at-sysa
Support building only sysa with chroot mode
2023-02-02 22:47:04 +00:00
Seppo Yli-Olli 56cab8bb71 Support building only sysa with chroot mode
This is intended primarily for external build systems that directly
bind into sysa and sysc rather than using rootfs Python wrapper.
2023-02-02 09:12:49 +02:00
Andrius Štikonas c67da3eb8e
Merge pull request #237 from doraskayo/add-dev-shm
Add /dev/shm for sysc
2023-02-02 00:00:11 +00:00
Dor Askayo 74c852b166 Add /dev/shm for sysc
This allows named semaphores to be created. See sem_overview(7).
2023-02-02 01:55:33 +02:00
Andrius Štikonas d83f810773 Pylint fixes. 2023-02-01 22:17:57 +00:00
fosslinux ac010bc1a0
Merge pull request #201 from doraskayo/musl-libdir-triplet
Rename /usr/lib/musl to /usr/lib/i386-unknown-linux-musl
2023-01-30 08:52:17 +11:00
fosslinux 5458a3e6aa Quick fix to tmpdir rework
QEMU no --external-sources broken due to bootstrap.cfg
2023-01-29 21:07:56 +11:00
Dor Askayo 4204a180e1 Rename /usr/lib/musl to /usr/lib/i386-unknown-linux-musl 2023-01-29 00:09:39 +02:00
Dor Askayo 59a13f0d09 Add LIBDIR variable for the musl library directory
LIBDIR should be used where possible to avoid unnecessary
duplication in build scripts that target the musl toolchain.

No change in package hashes.
2023-01-29 00:09:38 +02:00
Dor Askayo c3a745c997 Truncate .env file when writing to it
This makes no functional difference in practice, but is a bit cleaner
in case init scripts are executed multiple times (for testing or
otherwise).
2023-01-29 00:06:57 +02:00
Dor Askayo 46a5773f66 Fix a typo in rootfs.py 2023-01-28 19:14:49 +02:00
fosslinux 2c8b29556b
Merge pull request #233 from fosslinux/tmpdir-rework
Rework tmpdir & associated a bit.
2023-01-28 16:52:37 +11:00
fosslinux d2c726f749 Fix source_manifest pylint 2023-01-28 16:51:00 +11:00
fosslinux 51b0bf8405 Rework tmpdir & associated a bit.
- Split out tmpdir logic into a separate entity & add the appropriate
  arguments and checks.
- sysb can be removed since there is now no associated logic.
- Move disk/etc logic into tmpdir.py.
2023-01-28 16:51:00 +11:00
fosslinux 5e768d3752
Merge pull request #197 from doraskayo/avoid-variable-export
Avoid exporting variables in build scripts
2023-01-28 08:37:12 +11:00
Dor Askayo 3921660396 Avoid exporting variables in build scripts
Environment variables "pollute" the build environment of packages and
can affect their output.

This change results in the removal of some files from packages that
were not meant to be packaged. It also removes the need for a
workaround in automake 1.10.3 to manually remove such files.

Variables are now saved in an .env file for each system and included
in scripts that need them using the dot operation.
2023-01-27 22:19:52 +02:00