Nixpkgs version
Steps to reproduce
nix build 'nixpkgs#pkgsStatic.onetbb'
(I was originally after nix run 'nixpkgs#pkgsStatic.nix')
Can Hydra reproduce this build failure?
Please select the Hydra Status.
Link to Hydra build job
No response
Relevant log output
FAILED: [code=1] gnu_14.3_cxx11_64_release/libstub_unsigned.so
: && /nix/store/3cbr8yngzb6ws1c9h91ki328jrkkilci-x86_64-unknown-linux-musl-gcc-wrapper-14.3.0/bin/x86_64-unknown-linux-musl-g++ -fPIC -O3 -DNDEBUG -shared -Wl,-soname,libstub_unsigned.so -o gnu_14.3_cxx11_64_release/libstub_unsigned.so test/CMakeFiles/stub_unsigned.dir/tbb/stub_unsigned_lib.cpp.o && :
/nix/store/839vnmmfa4j5sn2mkz6vld7mj7f84nq1-x86_64-unknown-linux-musl-binutils-2.44/bin/x86_64-unknown-linux-musl-ld: /nix/store/956m2qlyyjx5nm696rnywmasqy7472zw-x86_64-unknown-linux-musl-gcc-14.3.0/lib/gcc/x86_64-unknown-linux-musl/14.3.0/crtbeginT.o: relocation R_X86_64_32 against hidden symbol `__TMC_END__' can not be used when making a shared object
/nix/store/839vnmmfa4j5sn2mkz6vld7mj7f84nq1-x86_64-unknown-linux-musl-binutils-2.44/bin/x86_64-unknown-linux-musl-ld: failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status
Additional context
Hydra search 500's me due to some timeout.
Both stable and unstable are affected, as evidenced by nix build 'nixpkgs/nixos-25.11#pkgsStatic.nix'.
nix build 'nixpkgs/12065c804e724d22033b11a7f3789966bbb18e2d#pkgsStatic.onetbb' compiled and failed in tests.
nix build 'nixpkgs/046f13b4d26f24af7e6712029d26f379159641ca#pkgsStatic.onetbb' fails to compile as above.
suggesting #459384 broke it harder. It'd also be nice to not have it as a Nix dependency if it's not that necessary for its operation.
@fabianhjr @yzhou216
System metadata
- system:
"x86_64-linux"
- host os:
Linux 6.17.9, NixOS, 26.05 (Yarara), 26.05.20251205.a5671cc
- multi-user?:
yes
- sandbox:
yes
- version:
nix-env (Nix) 2.31.2
- nixpkgs:
/nix/store/szdd6lmwpr783p91y629mphqp3x7w5pq-source
Notify maintainers
@silvanshade @thoughtpolice @tmarkus
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Nixpkgs version
Steps to reproduce
nix build 'nixpkgs#pkgsStatic.onetbb'(I was originally after
nix run 'nixpkgs#pkgsStatic.nix')Can Hydra reproduce this build failure?
Please select the Hydra Status.
Link to Hydra build job
No response
Relevant log output
Additional context
Hydra search 500's me due to some timeout.
Both stable and unstable are affected, as evidenced by
nix build 'nixpkgs/nixos-25.11#pkgsStatic.nix'.nix build 'nixpkgs/12065c804e724d22033b11a7f3789966bbb18e2d#pkgsStatic.onetbb'compiled and failed in tests.nix build 'nixpkgs/046f13b4d26f24af7e6712029d26f379159641ca#pkgsStatic.onetbb'fails to compile as above.suggesting #459384 broke it harder. It'd also be nice to not have it as a Nix dependency if it's not that necessary for its operation.
@fabianhjr @yzhou216
System metadata
"x86_64-linux"Linux 6.17.9, NixOS, 26.05 (Yarara), 26.05.20251205.a5671ccyesyesnix-env (Nix) 2.31.2/nix/store/szdd6lmwpr783p91y629mphqp3x7w5pq-sourceNotify maintainers
@silvanshade @thoughtpolice @tmarkus
Note for maintainers: Please tag this issue in your pull request description. (i.e.
Resolves #ISSUE.)I assert that this issue is relevant for Nixpkgs
Is this issue important to you?
Add a 👍 reaction to issues you find important.