nixpkgs/pkgs/os-specific
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
..
bsd treewide: use splicing convenience functions 2022-12-25 14:05:03 +02:00
darwin Merge #209423: gnat12: add for x86_64-darwin 2023-01-13 18:32:21 +01:00
linux systemd: default withLibBPF to false if isMips64 2023-01-13 20:09:41 +00:00
solo5 solo5: retain debugging info 2022-12-22 12:24:15 -06:00
windows pkgsCross.mingwW64.windows.mingw_w64: backport parallel build fixes 2022-12-01 08:31:11 +00:00