| 5 Nov 2025 |
fzakaria | can you clarify & why ? | 22:34:58 |
fzakaria | I structured it like the JSON-schema checks | 22:35:07 |
fzakaria | (just want to make sure I understand the change to be done) | 22:36:03 |
tomberek | The desired outcome is that the default devShell does not require the JDK. | 23:13:07 |
| 6 Nov 2025 |
roberth | Ok to migrate most error trace tests to functional characterization tests? https://github.com/NixOS/nix/issues/14500 | 23:46:36 |
| 7 Nov 2025 |
| @joshuachp:matrix.org left the room. | 08:35:23 |
niksnut | Hm, what happened with debug info in the Nix dev shell?
$ gdb --args nix
(gdb) b main
Breakpoint 1 at 0x380090
(gdb) r
(gdb) bt
#0 0x0000000000380090 in main ()
whereas on 2.32 we get:
(gdb) b main
Breakpoint 1 at 0x385040: file ../src/nix/main.cc, line 572.
(gdb) r
(gdb) bt
#0 main (argc=1, argv=0x7fffffff2598) at ../src/nix/main.cc:572
| 14:28:33 |
| @kdeuser:matrix.org left the room. | 17:47:06 |
| @awwpotato:envs.net changed their display name from awwpotato (she/her) to -> @da157:catgirl.cloud. | 18:30:45 |
| @awwpotato:envs.net left the room. | 18:40:21 |
Mic92 | 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 |
Mic92 | seems fine but with gcc stdenv it's no debug symbols | 18:59:14 |
Mic92 | use flake .#native-stdenv also seems to be fine | 19:00:28 |
Mic92 | mhm. normal stdenv is also fine | 19:01:48 |
Sergei Zimmerman (xokdvium) | separateDebugInfo is on regardless | 19:04:24 |
Sergei Zimmerman (xokdvium) | For packaging builds | 19:05:01 |
Sergei Zimmerman (xokdvium) | Philip Taron (UTC-8): going to do a 2.32.3 bump | 19:06:49 |
Mic92 | 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 struct __tbb_backend_tag using __par_backend_tag = __tbb_backend_tag;
1 "/nix/store/8adzgnxs3s0pbj22qhk9zjxi1fqmz3xv-gcc-14.3.0/include/c++/14.3.0/pstl/parallel_backend_tbb.h" 1 3
24 "/nix/store/8adzgnxs3s0pbj22qhk9zjxi1fqmz3xv-gcc-14.3.0/include/c++/14.3.0/pstl/parallel_backend_tbb.h" 3
1 "/nix/store/2clcgn9d7rlyhdkpc1gx9frg14vm2k07-tbb-2021.11.0-dev/include/tbb/blocked_range.h" 1 3 4
| 19:13:56 |
Mic92 | * 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
struct __tbb_backend_tag
using __par_backend_tag = __tbb_backend_tag;
# 1 "/nix/store/8adzgnxs3s0pbj22qhk9zjxi1fqmz3xv-gcc-14.3.0/include/c++/14.3.0/pstl/parallel_backend_tbb.h" 1 3
# 24 "/nix/store/8adzgnxs3s0pbj22qhk9zjxi1fqmz3xv-gcc-14.3.0/include/c++/14.3.0/pstl/parallel_backend_tbb.h" 3
# 1 "/nix/store/2clcgn9d7rlyhdkpc1gx9frg14vm2k07-tbb-2021.11.0-dev/include/tbb/blocked_range.h" 1 3 4
| 19:14:11 |
Sergei Zimmerman (xokdvium) | tbb uses a reserved identifier? | 19:14:30 |
Sergei Zimmerman (xokdvium) | Oh so stdlib has a std::execution backend for tbb? How does that lead to linker errors? | 19:18:04 |
Mic92 | Sergei Zimmerman (xokdvium): https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-v3/include/pstl/parallel_backend_tbb.h | 19:18:09 |
Mic92 | yeah | 19:18:14 |
Mic92 | Sergei Zimmerman (xokdvium): https://github.com/gcc-mirror/gcc/blob/d14d24b26126ec9c6c8ba5b2e573ed8e26347e6b/libstdc%2B%2B-v3/include/bits/c%2B%2Bconfig#L943 | 19:20:41 |
Mic92 | we can either turn it off or we should make an explicit dependency | 19:20:56 |
Sergei Zimmerman (xokdvium) | I guess we should just undef it yeah. We are not using parallel algorithms anywhere | 19:21:37 |
Sergei Zimmerman (xokdvium) | ‘nix-meson-build-support/common` for this type of thing should suffice? | 19:22:37 |
Mic92 | yeah that's what I am looking at | 19:25:01 |
Mic92 | Still compiling but I think you were also stumbling over this? Eelco https://github.com/NixOS/nix/pull/14509 | 19:28:40 |
Mic92 | Feels like worth a backport as well | 19:29:00 |