nixpkgs/pkgs/os-specific/linux/systemd
Adam Joseph 6f6b4a1d41 systemd: default withLibBPF to false if isMips64
libBPF does not compile for mips64 targets using clang (rathern than
gcc) because clang lacks the necessary _MIPS_SZPTR compiler builtin.
Let's allow the rest of systemd to compile.

- The glibc people noticed this problem [way back in
  2011](https://sourceware.org/pipermail/libc-ports/2011-June/001959.html)
  and consider it to be a clang/llvm bug.  I am inclined to agree.

- [clang has the `_MIPS_SZPTR`
  builtin](3af9cb5375/clang/lib/Basic/Targets/Mips.cpp (L185))
  and seems to have had it since before they switched to git.

This may in fact be a nixpkgs bug -- that we're not invoking clang
in a way that tells the frontend to make the mips builtins
available, even if the backend is emitting mips binaries.  Or at
least we aren't tricking systemd's build machinery into doing that.
2023-01-13 20:09:41 +00:00
..
0001-Start-device-units-for-uninitialised-encrypted-devic.patch systemd: 251.8 -> 252.1 2022-11-16 23:38:25 -05:00
0002-Don-t-try-to-unmount-nix-or-nix-store.patch systemd: 251.8 -> 252.1 2022-11-16 23:38:25 -05:00
0003-Fix-NixOS-containers.patch systemd: 251.8 -> 252.1 2022-11-16 23:38:25 -05:00
0004-Look-for-fsck-in-the-right-place.patch systemd: 251.8 -> 252.1 2022-11-16 23:38:25 -05:00
0005-Add-some-NixOS-specific-unit-directories.patch systemd: 251.8 -> 252.1 2022-11-16 23:38:25 -05:00
0006-Get-rid-of-a-useless-message-in-user-sessions.patch systemd: 251.8 -> 252.1 2022-11-16 23:38:25 -05:00
0007-hostnamed-localed-timedated-disable-methods-that-cha.patch systemd: 251.8 -> 252.1 2022-11-16 23:38:25 -05:00
0008-Fix-hwdb-paths.patch nixos/systemd: make sure all the device nodes are created in stage1 2022-07-22 10:01:21 +03:00
0009-Change-usr-share-zoneinfo-to-etc-zoneinfo.patch systemd: 251.8 -> 252.1 2022-11-16 23:38:25 -05:00
0010-localectl-use-etc-X11-xkb-for-list-x11.patch systemd: 251.8 -> 252.1 2022-11-16 23:38:25 -05:00
0011-build-don-t-create-statedir-and-don-t-touch-prefixdi.patch systemd: 251.8 -> 252.1 2022-11-16 23:38:25 -05:00
0012-add-rootprefix-to-lookup-dir-paths.patch systemd: 251.8 -> 252.1 2022-11-16 23:38:25 -05:00
0013-systemd-shutdown-execute-scripts-in-etc-systemd-syst.patch systemd: 251.8 -> 252.1 2022-11-16 23:38:25 -05:00
0014-systemd-sleep-execute-scripts-in-etc-systemd-system-.patch systemd: 251.8 -> 252.1 2022-11-16 23:38:25 -05:00
0015-path-util.h-add-placeholder-for-DEFAULT_PATH_NORMAL.patch systemd: 251.8 -> 252.1 2022-11-16 23:38:25 -05:00
0016-pkg-config-derive-prefix-from-prefix.patch nixos/systemd: make sure all the device nodes are created in stage1 2022-07-22 10:01:21 +03:00
0017-inherit-systemd-environment-when-calling-generators.patch systemd: 251.8 -> 252.1 2022-11-16 23:38:25 -05:00
0018-core-don-t-taint-on-unmerged-usr.patch systemd: 251.8 -> 252.1 2022-11-16 23:38:25 -05:00
default.nix systemd: default withLibBPF to false if isMips64 2023-01-13 20:09:41 +00:00