Conversation
This was added to LLVM 6, 8, 9, 10, 13, and 14 (but no others) in 695fe13, and then I guess gradually got removed from all of them except 13. Anyway, I successfully built `llvmPackages_13.stdenv` with the default GCC.
Seems to build fine with the default now.
84e6e9f to
9aa7d8f
Compare
wolfgangwalther
left a comment
There was a problem hiding this comment.
Some build failures. Might be more than that, the builds are still running.
magnetophon
left a comment
There was a problem hiding this comment.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 434139
Commit: 9aa7d8f3928c478b891faa597c2923dba823eaa6
x86_64-linux
⏩ 1 package marked as broken and skipped:
- chow-tape-model
❌ 92 packages failed to build:
- anytype
- anytype-heart
- bant
- bazel (bazel_6)
- clang_13 (llvmPackages_13.clang, llvmPackages_13.libstdcxxClang)
- cone
- dale
- dmd
- driversi686Linux.amdvlk
- envoy
- falcon
- fcitx5-mozc
- fcitx5-mozc-ut
- mozc (ibus-engines.mozc)
- mozc-ut (ibus-engines.mozc-ut)
- klee
- libsForQt5.kdev-php (plasma5Packages.kdev-php)
- libsForQt5.kdev-python (plasma5Packages.kdev-python)
- libsForQt5.kdevelop (plasma5Packages.kdevelop)
- libsForQt5.kdevelop-unwrapped (plasma5Packages.kdevelop-unwrapped)
- lld_13 (llvmPackages_13.lld)
- lld_13.dev (llvmPackages_13.lld.dev)
- lld_13.lib (llvmPackages_13.lld.lib)
- llvmPackages_13.bintools
- llvmPackages_13.bintools-unwrapped
- llvmPackages_13.bintoolsNoLibc
- llvmPackages_13.clang-manpages
- llvmPackages_13.clang-manpages.debug
- llvmPackages_13.clang-tools
- llvmPackages_13.libclang (llvmPackages_13.clang-unwrapped)
- llvmPackages_13.libclang.debug (llvmPackages_13.clang-unwrapped.debug)
- llvmPackages_13.libclang.dev (llvmPackages_13.clang-unwrapped.dev)
- llvmPackages_13.libclang.lib (llvmPackages_13.clang-unwrapped.lib)
- llvmPackages_13.libclang.python (llvmPackages_13.clang-unwrapped.python)
- llvmPackages_13.clangNoLibcNoRt (llvmPackages_13.clangNoCompilerRt)
- llvmPackages_13.clangNoCompilerRtWithLibc
- llvmPackages_13.clangNoLibc (llvmPackages_13.clangNoLibcWithBasicRt)
- llvmPackages_13.clangNoLibcxx (llvmPackages_13.clangWithLibcAndBasicRt)
- llvmPackages_13.clangUseLLVM
- llvmPackages_13.clangWithLibcAndBasicRtAndLibcxx
- llvmPackages_13.compiler-rt (llvmPackages_13.compiler-rt-libc)
- llvmPackages_13.compiler-rt.dev (llvmPackages_13.compiler-rt-libc.dev)
- llvmPackages_13.compiler-rt-no-libc
- llvmPackages_13.compiler-rt-no-libc.dev
- llvmPackages_13.libcxx
- llvmPackages_13.libcxx.dev
- llvmPackages_13.libcxxClang
- llvmPackages_13.libcxxStdenv
- llvmPackages_13.libunwind
- llvmPackages_13.libunwind.dev
- llvmPackages_13.openmp
- llvmPackages_13.stdenv
- mathematica
- mathematica-cuda
- mathematica-webdoc
- mathematica-webdoc-cuda
- obliv-c
- oclgrind
- perf_data_converter
- pomerium
- protoc-gen-js
- python312Packages.arviz
- python312Packages.arviz.dist
- python312Packages.bambi
- python312Packages.bambi.dist
- python312Packages.corner
- python312Packages.corner.dist
- python312Packages.distrax
- python312Packages.distrax.dist
- python312Packages.flowjax
- python312Packages.flowjax.dist
- python312Packages.jaxlib-build
- python312Packages.jaxlib-build.dist
- python312Packages.numpyro
- python312Packages.numpyro.dist
- python312Packages.nutpie
- python312Packages.nutpie.dist
- python312Packages.pymc
- python312Packages.pymc.dist
- python312Packages.pytensor
- python312Packages.pytensor.dist
- python312Packages.rlax
- python312Packages.rlax.dist
- python312Packages.tensorflow-probability
- python312Packages.tensorflow-probability.dist
- python313Packages.jaxlib-build
- python313Packages.jaxlib-build.dist
- tests.cc-wrapper.llvmTests.llvmPackages_13.clang
- tests.cc-wrapper.llvmTests.llvmPackages_13.libcxx
- tests.cc-wrapper.supported
- verible
- veridian
✅ 11 packages built:
- bfc
- cling
- llvm_13 (llvmPackages_13.llvm)
- llvm_13.dev (llvmPackages_13.llvm.dev)
- llvm_13.lib (llvmPackages_13.llvm.lib)
- llvm_13.python (llvmPackages_13.llvm.python)
- llvmPackages_13.llvm-manpages
- llvmPackages_13.tblgen
- python312Packages.itk
- python313Packages.itk
- xeus-cling
Error logs: `x86_64-linux`
bazel
./scripts/ci/ci.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/b4jl9k37x6hrb2qb7n63dsrfiw0ywmjq-bash/bin/bash" ./scripts/ci/build_status_command.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/b4jl9k37x6hrb2qb7n63dsrfiw0ywmjq-bash/bin/bash" ./scripts/ci/build.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/b4jl9k37x6hrb2qb7n63dsrfiw0ywmjq-bash/bin/bash" ./scripts/bootstrap/buildenv.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/b4jl9k37x6hrb2qb7n63dsrfiw0ywmjq-bash/bin/bash" ./scripts/bootstrap/bootstrap.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/b4jl9k37x6hrb2qb7n63dsrfiw0ywmjq-bash/bin/bash" ./scripts/bazel-dev.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/b4jl9k37x6hrb2qb7n63dsrfiw0ywmjq-bash/bin/bash" ./scripts/bazel-bisect.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/b4jl9k37x6hrb2qb7n63dsrfiw0ywmjq-bash/bin/bash" ./scripts/bash_completion_test.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/b4jl9k37x6hrb2qb7n63dsrfiw0ywmjq-bash/bin/bash" ./examples/shell/test.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/b4jl9k37x6hrb2qb7n63dsrfiw0ywmjq-bash/bin/bash" ./examples/shell/lib.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/b4jl9k37x6hrb2qb7n63dsrfiw0ywmjq-bash/bin/bash" ./examples/shell/bin.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/b4jl9k37x6hrb2qb7n63dsrfiw0ywmjq-bash/bin/bash" ./compile.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/b4jl9k37x6hrb2qb7n63dsrfiw0ywmjq-bash/bin/bash" ./combine_distfiles_to_tar.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/lb33m49aslmvkx5l4xrkiy7m6nbh2kqf-bash-interactive-5.3p0/bin/sh" Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: preBuildPhase Running phase: buildPhase Read from remote host 81.206.32.45: Connection reset by peer client_loop: send disconnect: Broken pipe
dale
Read from remote host 81.206.32.45: Connection reset by peer client_loop: send disconnect: Broken pipe
dmd
dmd/compiler/test/compilable/testclidflags.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/gkwbw9nzbkbz298njbn3577zmrnglbbi-bash-5.3p0/bin/bash" dmd/compiler/test/compilable/testcolor.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/gkwbw9nzbkbz298njbn3577zmrnglbbi-bash-5.3p0/bin/bash" dmd/compiler/test/compilable/extra-files/ddocAny-postscript.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/gkwbw9nzbkbz298njbn3577zmrnglbbi-bash-5.3p0/bin/bash" dmd/compiler/test/compilable/extra-files/ddocYear-postscript.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/gkwbw9nzbkbz298njbn3577zmrnglbbi-bash-5.3p0/bin/bash" dmd/compiler/test/compilable/extra-files/json-postscript.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/gkwbw9nzbkbz298njbn3577zmrnglbbi-bash-5.3p0/bin/bash" dmd/compiler/test/compilable/extra-files/vcg-ast-arraylength-postscript.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/gkwbw9nzbkbz298njbn3577zmrnglbbi-bash-5.3p0/bin/bash" dmd/compiler/test/tools/postscript.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/gkwbw9nzbkbz298njbn3577zmrnglbbi-bash-5.3p0/bin/bash" dmd/compiler/test/tools/sh_do_test.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/gkwbw9nzbkbz298njbn3577zmrnglbbi-bash-5.3p0/bin/bash" Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase (TX) VERSION (TX) SYSCONFDIR (DC) COMMON (TX) DMD_CONF (DC) LEXER (DC) BACKEND Read from remote host 81.206.32.45: Connection reset by peer client_loop: send disconnect: Broken pipe
falcon
500 | register int64 ret = loadInt64(
| ^~~
/build/source/include/falcon/vm.h: In member function 'Falcon::int32 Falcon::VMachine::getNextNTD32()':
/build/source/include/falcon/vm.h:491:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
491 | register int32 ret = *reinterpret_cast(
| ^~~
/build/source/include/falcon/vm.h: In member function 'Falcon::int64 Falcon::VMachine::getNextNTD64()':
/build/source/include/falcon/vm.h:500:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
500 | register int64 ret = loadInt64(
| ^~~
[ 75%] Built target sqlite3_fm
[ 75%] Linking CXX executable ../../bin/falpack
[ 75%] Built target falpack
[ 75%] Linking CXX shared module ../../../../lib/falcon/dbi_fm.so
[ 75%] Built target dbi_fm
[ 76%] Linking CXX shared module ../../../../lib/falcon/hash_fm.so
[ 76%] Built target hash_fm
[ 77%] Linking CXX shared module ../../../../lib/falcon/bufext_fm.so
[ 77%] Built target bufext_fm
make: *** [Makefile:136: all] Error 2
llvmPackages_13.compiler-rt
copying path '/nix/store/wfbzv6p35wfg394qapwq27rc5k71ppix-armv6-sync-ops-no-thumb.patch' from 'https://cache.nixos.org'... copying path '/nix/store/r7rxxipc6nigdp848yi639g3dkx6d6d4-armv6-scudo-libatomic.patch' from 'https://cache.nixos.org'... copying path '/nix/store/xhc43z7x1wmx50j4a43i27vkyfp9fzf7-source' from 'https://cache.nixos.org'... copying path '/nix/store/x0137mdpq76zfp2xvn3ncawys2g4c93i-normalize-var.patch' from 'https://cache.nixos.org'... copying path '/nix/store/rd6gan216l9rm9xs5whbkzsc6c6kqq31-armv6-mcr-dmb.patch' from 'https://cache.nixos.org'... copying path '/nix/store/0ncx0876rq0gx77k1paxw5cjvsxkg9v9-armv6-scudo-no-yield.patch' from 'https://cache.nixos.org'... copying path '/nix/store/jgqk8bhzzvwb8d3yjlmyk319mnrrphcg-armv7l.patch' from 'https://cache.nixos.org'... copying path '/nix/store/88ccn8m0kpg0cqjzbpl5hymn6z3lqb7w-cfi_startproc-after-label.patch' from 'https://cache.nixos.org'... copying path '/nix/store/pmw5l118lmhak47aqlz71a87xgaw3alb-X86-support-extension.patch' from 'https://cache.nixos.org'... copying path '/nix/store/dbapbg570sx4xsbp50s52azwh6agj40m-darwin-targetconditionals.patch' from 'https://cache.nixos.org'... copying path '/nix/store/5pi27cr43baazlvy239qdj4c1jzzbfv7-codesign.patch' from 'https://cache.nixos.org'... Read from remote host 81.206.32.45: Connection reset by peer client_loop: send disconnect: Broken pipe
obliv-c
gcc -c src/ext/oblivc/commitReveal.c -o _build/commitReveal.o -I src/ext/oblivc -g -O2 -O3
gcc -c src/ext/oblivc/obliv_network_utils.c -o _build/obliv_network_utils.o -I src/ext/oblivc -g -O2 -O3
gcc -c src/ext/oblivc/bcrandom.c -o _build/bcrandom.o -I src/ext/oblivc -g -O2 -O3
gcc -c src/ext/oblivc/privacy-free.c -o _build/privacy-free.o -I src/ext/oblivc -g -O2 -O3
gcc -c src/ext/oblivc/psi.c -o _build/psi.o -I src/ext/oblivc -g -O2 -O3
gcc -c src/ext/oblivc/nnob.c -o _build/nnob.o -I src/ext/oblivc -g -O2 -O3
gcc -c src/ext/oblivc/copy.c -o _build/copy.o -I src/ext/oblivc -g -O2 -O3
gcc -c src/ext/oblivc/obliv_float_add.c -o _build/obliv_float_add.o -I src/ext/oblivc -g -O2 -O3
gcc -c src/ext/oblivc/obliv_float_sub.c -o _build/obliv_float_sub.o -I src/ext/oblivc -g -O2 -O3
gcc -c src/ext/oblivc/obliv_float_div.c -o _build/obliv_float_div.o -I src/ext/oblivc -g -O2 -O3
gcc -c src/ext/oblivc/obliv_float_eq.c -o _build/obliv_float_eq.o -I src/ext/oblivc -g -O2 -O3
gcc -c src/ext/oblivc/obliv_float_le.c -o _build/obliv_float_le.o -I src/ext/oblivc -g -O2 -O3
gcc -c src/ext/oblivc/obliv_float_lt.c -o _build/obliv_float_lt.o -I src/ext/oblivc -g -O2 -O3
gcc -c src/ext/oblivc/obliv_float_mult.c -o _build/obliv_float_mult.o -I src/ext/oblivc -g -O2 -O3
gcc -c src/ext/oblivc/obliv_float_neg.c -o _build/obliv_float_neg.o -I src/ext/oblivc -g -O2 -O3
bin/oblivcc -c src/ext/oblivc/copy.oc -o _build/copy.oo -I src/ext/oblivc -g -O2 -O3
/nix/store/74qjr01q87nwfl0dbsr1s45p8crw3q1f-glibc-2.40-66-dev/include/stdlib.h:697:12: error: 'reallocarray' undeclared here (not in a function)
697 | __attribute_alloc_size__ ((2, 3))
| ^~~~~~~~~~~~
make: *** [_build/depends/copy.od:5: _build/copy.oo] Error 1
|
Sorry for the sloppy testing. These were split out of a very large WIP stack and I thought I had marked everything as built but apparently there were some things left over. Will fix. |
|
Seems to build fine with the default GCC.
9aa7d8f to
0620a3f
Compare
|
I’ve fixed (Not sure about the discrepancy with @magentophon’s results, but I’d guess OOM again.) |
|
Agree on all the others, but:
I don't think I did. I ran it twice to try the failed builds again, same problem. Pasted the full log here: https://logpaste.com/wSAJo0YX - there's certainly some errors in there somewhere. Edit: Building it twice right now, once from master with |
|
|
So, uh, going by GPUOpen-Drivers/gpurt#5 it sort of looks like some kind of cursed UB in |
Seems to build fine now.
Fixes the build with the default GCC.
0620a3f to
177adfa
Compare
|
Yeah, it’s pretty cursed. At the risk of going outside the bounds of easy cases, I have followed the lead of Arch and simply disabled ray tracing on 32‐bit AMDVLK – they turned it off years ago, probably in response to this exact issue, and nobody seems to have noticed. Presumably every game that uses ray tracing is 64 bit anyway. |
|
|
The amdvlk change sounds ok to me :) |
|
Thanks for the reviews! I will be more thorough about testing the upcoming PRs. |
Easy cases on the path towards deleting a whole bunch of EOL compilers.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.