!VRULIdgoKmKPzJZzjj:nixos.org

Nix Package Manager development

858 Members
For people hacking on Nix: https://github.com/NixOS/nix Nix maintainers can be reached here.184 Servers

Load older messages


SenderMessageTime
7 Nov 2025
@joerg:thalheim.ioMic92 Sergei Zimmerman (xokdvium): https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-v3/include/pstl/parallel_backend_tbb.h 19:18:09
@joerg:thalheim.ioMic92yeah19:18:14
@joerg:thalheim.ioMic92 Sergei Zimmerman (xokdvium): https://github.com/gcc-mirror/gcc/blob/d14d24b26126ec9c6c8ba5b2e573ed8e26347e6b/libstdc%2B%2B-v3/include/bits/c%2B%2Bconfig#L943 19:20:41
@joerg:thalheim.ioMic92we can either turn it off or we should make an explicit dependency 19:20:56
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)I guess we should just undef it yeah. We are not using parallel algorithms anywhere19:21:37
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)‘nix-meson-build-support/common` for this type of thing should suffice?19:22:37
@joerg:thalheim.ioMic92yeah that's what I am looking at19:25:01
@joerg:thalheim.ioMic92 Still compiling but I think you were also stumbling over this? Eelco https://github.com/NixOS/nix/pull/14509 19:28:40
@joerg:thalheim.ioMic92Feels like worth a backport as well19:29:00
@joerg:thalheim.ioMic92

Eelco: I wasn't able to reproduce your issue:

~/git/nix/build no-tbb
nix-util-env % gdb ./src/nix/nix
Reading symbols from ./src/nix/nix...
(gdb) bt
No stack.
(gdb) b main
rBreakpoint 1 at 0x965866: file ../src/nix/main.cc, line 563.
(gdb) r
Starting program: /home/joerg/git/nix/build/src/nix/nix
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/nix/store/g8zyryr9cr6540xsyg4avqkwgxpnwj2a-glibc-2.40-66/lib/libthread_db.so.1".

Breakpoint 1, main (argc=1, argv=0x7ffffffe9a98) at ../src/nix/main.cc:563
563 {
(gdb)

19:31:40
@joerg:thalheim.ioMic92 *

Eelco: I wasn't able to reproduce your issue:

~/git/nix/build no-tbb
nix-util-env % gdb ./src/nix/nix
Reading symbols from ./src/nix/nix...
(gdb) bt
No stack.
(gdb) b main
rBreakpoint 1 at 0x965866: file ../src/nix/main.cc, line 563.
(gdb) r
Starting program: /home/joerg/git/nix/build/src/nix/nix
\[Thread debugging using libthread\_db enabled\]
Using host libthread\_db library "/nix/store/g8zyryr9cr6540xsyg4avqkwgxpnwj2a-glibc-2.40-66/lib/libthread\_db.so.1".

Breakpoint 1, main (argc=1, argv=0x7ffffffe9a98) at ../src/nix/main.cc:563
563     {
(gdb)

19:31:50
@joerg:thalheim.ioMic92Sure you didn't build meson in release mode or something by accident?19:32:04
@joerg:thalheim.ioMic92This was with gcc now, didn't test clang etc19:33:51
@Ericson2314:matrix.orgJohn Ericson Mic92: I see the PR 19:51:01
@Ericson2314:matrix.orgJohn Ericsonso wow I thought that TBB thing had something to do with blake319:51:16
@Ericson2314:matrix.orgJohn Ericsonbut turns out it is unrelated?19:51:20
@Ericson2314:matrix.orgJohn Ericson is libstc++ doing some has_include trickier by anychance? 19:51:35
@Ericson2314:matrix.orgJohn Ericson * is libstc++ doing some has_include trickier by any chance? 19:51:37
@joerg:thalheim.ioMic92 John Ericson: it was triggered by us adding blake3, seems like gcc has a trigger. 19:51:37
@joerg:thalheim.ioMic92it does19:51:48
@joerg:thalheim.ioMic92https://github.com/gcc-mirror/gcc/blob/d14d24b26126ec9c6c8ba5b2e573ed8e26347e6b/libstdc%2B%2B-v3/include/bits/c%2B%2Bconfig#L94319:51:54
@Ericson2314:matrix.orgJohn Ericsonah yeah19:53:55
@Ericson2314:matrix.orgJohn Ericson libstdc++-v3/include/bits/c++config:# define _GLIBCXX_USE_TBB_PAR_BACKEND __has_include(<tbb/tbb.h>) 19:54:00
@Ericson2314:matrix.orgJohn EricsonI would mention that + the blake3 in the commit message19:54:16
@Ericson2314:matrix.orgJohn Ericson IMO it boils down to, we want tbb to act like an (optional) private dependency of blake3, but it is public and leaking out like this 19:54:58
@joerg:thalheim.ioMic92added19:58:53
@joerg:thalheim.ioMic92* added https://github.com/NixOS/nix/pull/14509/files#diff-cad591cdc5170341a06019235c8734d55351bb1683223e0ddccabc1446452712R4919:59:20
@Ericson2314:matrix.orgJohn Ericsonapprovd20:09:16
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Nixpkgs bump: https://github.com/NixOS/nixpkgs/pull/459549. If anybody wants to throw some non x86_64-linux compute on it that’d be great21:36:34
@emma:rory.gay@emma:rory.gay left the room.22:40:57

There are no newer messages yet.


Back to Room ListRoom Version: 6