Skip to content

Commit 81df257

Browse files
Aleksanaaalyssais
authored andcommitted
stdenv-bootstrap-tools: don't copy obsolete libutil from glibc
Starting from glibc 2.34, all functionality previously implemented in libpthread, libdl, libutil and libanl are now integrated into libc. https://lists.gnu.org/archive/html/info-gnu/2021-08/msg00001.html As loongarch64 support was merged into glibc after 2.34, libutil.so is no longer in there, thus breaking bootstrap. loongson-community/discussions#29 libdl is not removed because bash still links against it, and libpthread is not removed because xgcc depends on it to build libatomic.
1 parent d5b9cf4 commit 81df257

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkgs/stdenv/linux/stdenv-bootstrap-tools.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ stdenv.mkDerivation (finalAttrs: {
6666
cp -d ${libc.out}/lib/libnsl*.so* $out/lib
6767
''
6868
+ ''
69-
cp -d ${libc.out}/lib/libutil*.so* $out/lib
7069
cp -d ${libc.out}/lib/libnss*.so* $out/lib
7170
cp -d ${libc.out}/lib/libresolv*.so* $out/lib
7271
# Copy all runtime files to enable non-PIE, PIE, static PIE and profile-generated builds

0 commit comments

Comments
 (0)