Nix Hackers | 898 Members | |
| For people hacking on the Nix package manager itself | 190 Servers |
| Sender | Message | Time |
|---|---|---|
| 6 Nov 2025 | ||
| Ok to migrate most error trace tests to functional characterization tests? https://github.com/NixOS/nix/issues/14500 | 23:46:36 | |
| 7 Nov 2025 | ||
| 08:35:23 | ||
| Hm, what happened with debug info in the Nix dev shell?
whereas on 2.32 we get:
| 14:28:33 | |
| 17:47:06 | ||
| 18:30:45 | ||
| 18:40:21 | ||
| Seems to be in gcc only? nix-util-env % file src/libutil/libnixutil.so.2.33.0.p/hash.cc.o src/libutil/libnixutil.so.2.33.0.p/hash.cc.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), with debug_info, not stripped using nix develop .#native-clangStdenv | 18:58:58 | |
| seems fine but with gcc stdenv it's no debug symbols | 18:59:14 | |
| use flake .#native-stdenv also seems to be fine | 19:00:28 | |
| mhm. normal stdenv is also fine | 19:01:48 | |
separateDebugInfo is on regardless | 19:04:24 | |
| For packaging builds | 19:05:01 | |
| Philip Taron (UTC-8): going to do a 2.32.3 bump | 19:06:49 | |
| Sergei Zimmerman (xokdvium): I also found out why our gcc devshell throws some linker error in the devshell: nix-util-env % echo '#include <execution>' | g++ -E -x c++ - 2>&1 | grep -i tbb | head -5 1 "/nix/store/8adzgnxs3s0pbj22qhk9zjxi1fqmz3xv-gcc-14.3.0/include/c++/14.3.0/pstl/parallel_backend_tbb.h" 1 324 "/nix/store/8adzgnxs3s0pbj22qhk9zjxi1fqmz3xv-gcc-14.3.0/include/c++/14.3.0/pstl/parallel_backend_tbb.h" 31 "/nix/store/2clcgn9d7rlyhdkpc1gx9frg14vm2k07-tbb-2021.11.0-dev/include/tbb/blocked_range.h" 1 3 4 | 19:13:56 | |
| * Sergei Zimmerman (xokdvium): I also found out why our gcc devshell throws some linker error in the devshell:
| 19:14:11 | |
| tbb uses a reserved identifier? | 19:14:30 | |
| Oh so stdlib has a std::execution backend for tbb? How does that lead to linker errors? | 19:18:04 | |
| Sergei Zimmerman (xokdvium): https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-v3/include/pstl/parallel_backend_tbb.h | 19:18:09 | |
| yeah | 19:18:14 | |
| Sergei Zimmerman (xokdvium): https://github.com/gcc-mirror/gcc/blob/d14d24b26126ec9c6c8ba5b2e573ed8e26347e6b/libstdc%2B%2B-v3/include/bits/c%2B%2Bconfig#L943 | 19:20:41 | |
| we can either turn it off or we should make an explicit dependency | 19:20:56 | |
| I guess we should just undef it yeah. We are not using parallel algorithms anywhere | 19:21:37 | |
| ‘nix-meson-build-support/common` for this type of thing should suffice? | 19:22:37 | |
| yeah that's what I am looking at | 19:25:01 | |
| Still compiling but I think you were also stumbling over this? Eelco https://github.com/NixOS/nix/pull/14509 | 19:28:40 | |
| Feels like worth a backport as well | 19:29:00 | |
| Eelco: I wasn't able to reproduce your issue: ~/git/nix/build no-tbb Breakpoint 1, main (argc=1, argv=0x7ffffffe9a98) at ../src/nix/main.cc:563 | 19:31:40 | |
| * Eelco: I wasn't able to reproduce your issue:
| 19:31:50 | |
| Sure you didn't build meson in release mode or something by accident? | 19:32:04 | |
| This was with gcc now, didn't test clang etc | 19:33:51 | |