Commit graph

2891 commits

Author SHA1 Message Date
Jonas 'Sortie' Termansen
522560050d Support combining CONFIGURE_USE_BUILD_DIRECTORY and SUBDIR. 2024-08-30 22:03:16 +02:00
Jonas 'Sortie' Termansen
394b9b1621 Remove ag port.
It fails on modern gcc and I have no need for this port myself.
2024-08-30 22:03:16 +02:00
Jonas 'Sortie' Termansen
956d919732 Fix the install-cross-compiler target.
Run sysroot-base-headers so the headers are available when directly invoked.

Use --build as the toolchain currently cannot guess Sortix.

Set V=1 for a verbose binutils build.

Pass --with-sysroot appropriately when doing a native non-cross build.

Pass --with-system-zlib to the gcc build.
2024-08-30 22:03:15 +02:00
Jonas 'Sortie' Termansen
e2c726e38d Fix grub compiling emiemu with -Werror. 2024-08-30 22:03:15 +02:00
Jonas 'Sortie' Termansen
ef489ecc73 Fix race condition in release-additional. 2024-08-30 22:03:15 +02:00
Jonas 'Sortie' Termansen
1597f4d987 Fix libavcodec copy_reference_ops_from_ref internal compiler error.
The build failed on i686-sortix-gcc 14.2.0 (compiled with
x86_64-sortix-gcc 5.2.0) running on x86_64-sortix on optimization levels
above -O1. Hopefully this workaround stabilizes the build and can
hopefully be removed in the future.
2024-08-30 22:03:15 +02:00
Jonas 'Sortie' Termansen
afdc6cbf12 Fix emacs -fno-common conflict with libcurses. 2024-08-30 22:03:15 +02:00
Jonas 'Sortie' Termansen
e4b64081b8 Fix libreadline -fno-common conflict with libcurses. 2024-08-30 22:03:15 +02:00
Jonas 'Sortie' Termansen
c3ad938dbf Fix ffmpeg building with texinfo 7. 2024-08-30 22:03:15 +02:00
Jonas 'Sortie' Termansen
0eda354d54 Fix ssh including headers not on Sortix. 2024-08-30 22:03:15 +02:00
Jonas 'Sortie' Termansen
0f49fee94c Fix bochs build on gcc 14. 2024-08-30 22:03:15 +02:00
Jonas 'Sortie' Termansen
eca71dc92f Fix binutils build on gcc 14. 2024-08-30 22:03:15 +02:00
Jonas 'Sortie' Termansen
c05a00c718 Fix linking C++ base programs on new toolchains with -nostdlib++. 2024-08-30 22:03:15 +02:00
Jonas 'Sortie' Termansen
82fa95f8cd Fix warnings on gcc 14.2.0. 2024-08-30 22:03:15 +02:00
Jonas 'Sortie' Termansen
02e0abfe5d Fix init(8) daemon_process_command error path. 2024-08-30 21:53:28 +02:00
Jonas 'Sortie' Termansen
804cb43132 Fix memory corruption in ForkCleanup. 2024-08-30 21:53:28 +02:00
Jonas 'Sortie' Termansen
c9c2294b97 Fix display(8) session_argv being out of scope. 2024-08-26 23:14:20 +02:00
Jonas 'Sortie' Termansen
1155a3b1bd Fix user-space filesystem tcgetattr and tcgetsid.
These don't actually have any meaningful use and should be removed.
2024-08-26 23:14:20 +02:00
Jonas 'Sortie' Termansen
b46f4e6b20 Fix realpath(1) -0. 2024-08-26 23:14:20 +02:00
Jonas 'Sortie' Termansen
6fe494365e Fix sysmerge(8) use-after-free in /etc/machine error path. 2024-08-26 23:14:20 +02:00
Jonas 'Sortie' Termansen
2bf97e0439 Fix init(8) setenv READYFD error handling. 2024-08-26 23:14:19 +02:00
Jonas 'Sortie' Termansen
89c6f81045 Fix libmount devices_iterate_open_callback error handling. 2024-08-26 23:14:05 +02:00
Jonas 'Sortie' Termansen
265646c85f Fix IFF_UP being undefined. 2024-08-26 23:14:05 +02:00
Jonas 'Sortie' Termansen
577e0c1c04 Fix strftime(3) %s. 2024-08-26 23:14:05 +02:00
Jonas 'Sortie' Termansen
1e3ac58874 Fix compilation errors on modern gcc. 2024-08-26 23:14:05 +02:00
Jonas 'Sortie' Termansen
87b10f8d86 Fix mmap(2) and munmap(2) performance being extremely bad.
Now it's only very bad.
2024-08-26 23:14:05 +02:00
Juhani Krekelä
049232d475 Update to links-2.30. 2024-08-26 21:21:15 +03:00
Jonas 'Sortie' Termansen
8938db3f91 Simplify sysmerge --booting as a real daemon. 2024-08-07 17:18:42 +02:00
Jonas 'Sortie' Termansen
1ac7bd8753 Add init(5) echo feature. 2024-08-07 17:18:42 +02:00
Jonas 'Sortie' Termansen
c09572bdae Add init(8) --prefix and --static-prefix options.
This change refactors init's internals to use fine grained directory paths.

The new --static-prefix option provides sysmerge(8) --booting with a
well defined environment that uses the local data from the root
directory with the new static data of the /sysmerge directory. This way
the upgrade honors the local configuration while ensuring no programs
with the wrong ABI are executed during the upgrade process. The goal is to
reduce the room for bugs by avoiding running the upgrade inside a weird
ill-defined environment where standard assumptions might not be true.
2024-08-07 17:04:22 +02:00
Jonas 'Sortie' Termansen
bf719e8857 Update to openssh-9.8p1.
Enable privsep since it now is mandatory and works these days.
2024-08-07 14:15:40 +02:00
Jonas 'Sortie' Termansen
ef86307f30 Update to libressl-3.9.2. 2024-08-07 14:15:40 +02:00
Jonas 'Sortie' Termansen
e4699eb6eb Fix python using private ERR_get_state and curses internals. 2024-08-07 14:12:04 +02:00
Jonas 'Sortie' Termansen
98e38f20c9 Fix libsqlite3 RELEASE_SEARCH_REGEX. 2024-08-07 14:08:23 +02:00
Jonas 'Sortie' Termansen
5dd3113f22 Fix emacs cross bootstrap on modern glibc. 2024-07-23 21:57:01 +02:00
Jonas 'Sortie' Termansen
ec3ea4b4ff Fix python3 issues in qemu. 2024-07-23 21:57:01 +02:00
Jonas 'Sortie' Termansen
cc9f4cc515 Fix python3 issues in libglib. 2024-07-23 21:57:01 +02:00
Jonas 'Sortie' Termansen
5b586bb65f Add source code and additional files to releases. 2024-07-19 19:27:35 +02:00
Jonas 'Sortie' Termansen
cb67d87b9f Fix checksum(1) --status emitting warnings. 2024-07-19 16:51:39 +02:00
Jonas 'Sortie' Termansen
3cb0752093 Add rm(1) -d. 2024-06-29 00:24:36 +02:00
Jonas 'Sortie' Termansen
e984bede96 Add ps(1) -w.
The COLUMNS variable is not used yet and the default semantics correctly
implement the -w option.
2024-06-29 00:24:36 +02:00
Jonas 'Sortie' Termansen
51027e79f2 Add find(1) -iname and -mount.
Fix -xdev semantics as clarified by POSIX.
2024-06-29 00:24:36 +02:00
Jonas 'Sortie' Termansen
5857cd592b Add FNM_CASEFOLD. 2024-06-29 00:24:36 +02:00
Jonas 'Sortie' Termansen
b0ed8333bb Add strftime(3) %s. 2024-06-29 00:24:36 +02:00
Jonas 'Sortie' Termansen
a8a065bf9f Fix strftime(3) %u. 2024-06-28 10:52:37 +02:00
Jonas 'Sortie' Termansen
dced389ec8 Add strptime(3) %F %s %u %V %W. 2024-06-28 10:52:37 +02:00
Jonas 'Sortie' Termansen
c94f031be5 Add tcsetwinsize(2). 2024-06-28 10:52:20 +02:00
Jonas 'Sortie' Termansen
87bcf01967 Add MAP_ANON as alias for MAP_ANONYMOUS. 2024-06-25 15:30:03 +02:00
Jonas 'Sortie' Termansen
ef310421d7 Add secure_getenv(3). 2024-06-25 15:30:02 +02:00
Jonas 'Sortie' Termansen
adc03f0170 Add WCOREDUMP. 2024-06-25 15:29:21 +02:00