Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Darwin build on staging-next #322388

Merged
merged 12 commits into from
Jun 27, 2024

Conversation

reckenrode
Copy link
Contributor

@reckenrode reckenrode commented Jun 25, 2024

Description of changes

Fixes Darwin stdenv build on staging-next #322145.

This PR is a port of some of the work I’ve done preparing for ld64 to drop GNU binutils from the Darwin stdenv, which helps avoid the linked Hydra failure preventing the stdenv from building. I also had to fix Python because python3Minimal was still trying to enable the _scproxy module in spite of not having configd.

I also included a couple of changes to reduce the time it takes to do a stdenv bootstrap. Python is rebuild fewer times, and the LLVM tests are run only once.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@ofborg ofborg bot added the 6.topic: darwin Running or building packages on Darwin label Jun 25, 2024
@reckenrode
Copy link
Contributor Author

This should fix #320448, but I haven’t tested it.

@reckenrode reckenrode mentioned this pull request Jun 25, 2024
13 tasks
@vcunat
Copy link
Member

vcunat commented Jun 26, 2024

Is it just me? The final llvm for aarch64 won't pass tests (tried twice):

       > Testing Time: 1391.42s
       >   Unsupported      :  2065
       >   Passed           : 41654
       >   Expectedly Failed:   151
       >   Unresolved       :  2685
       >   Failed           :   585

@reckenrode
Copy link
Contributor Author

Is it just me? The final llvm for aarch64 won't pass tests (tried twice):

       > Testing Time: 1391.42s
       >   Unsupported      :  2065
       >   Passed           : 41654
       >   Expectedly Failed:   151
       >   Unresolved       :  2685
       >   Failed           :   585

That’s strange. Both aarch64-darwin and x86_64-darwin built for me. What tests are failing? Could this be #208951 (where something needed by the tests ends up with a broken signature)?

The only difference locally is I need to cherry-pick #301366 because otherwise Meson fails to build with the store on case-sensitive APFS.

@vcunat
Copy link
Member

vcunat commented Jun 26, 2024

The machine is without sandboxing, if that matters.

Failed Tests (585):
  LLVM :: tools/llvm-objcopy/ELF/add-symbol-many-sections.test
  LLVM :: tools/llvm-objcopy/ELF/auto-remove-add-symtab-shndx.test
  LLVM :: tools/llvm-objcopy/ELF/binary-output-target.test
  LLVM :: tools/llvm-objcopy/ELF/binary-paddr.test
  LLVM :: tools/llvm-objcopy/ELF/change-entry-point.test
  LLVM :: tools/llvm-objcopy/ELF/compress-debug-sections-zlib.test
  LLVM :: tools/llvm-objcopy/ELF/compress-debug-sections.test
  LLVM :: tools/llvm-objcopy/ELF/cross-arch-headers.test
  LLVM :: tools/llvm-objcopy/ELF/cross-arch-sections-symbols.test
  LLVM :: tools/llvm-objcopy/ELF/decompress-debug-sections-err.test
  LLVM :: tools/llvm-objcopy/ELF/deterministic-archive.test
  LLVM :: tools/llvm-objcopy/ELF/discard-locals.test
  LLVM :: tools/llvm-objcopy/ELF/dynamic-relocations.test
  LLVM :: tools/llvm-objcopy/ELF/dynrelocsec-remove-shinfo-reference.test
  LLVM :: tools/llvm-objcopy/ELF/dynrelocsec-remove-shlink-reference.test
  LLVM :: tools/llvm-objcopy/ELF/dynstr.test
  LLVM :: tools/llvm-objcopy/ELF/dynsym-error-remove-strtab.test
  LLVM :: tools/llvm-objcopy/ELF/dynsym-valid-refs.test
  LLVM :: tools/llvm-objcopy/ELF/dynsym.test
  LLVM :: tools/llvm-objcopy/ELF/elf32le.test
  LLVM :: tools/llvm-objcopy/ELF/elf64be.test
  LLVM :: tools/llvm-objcopy/ELF/explicit-keep-remove.test
  LLVM :: tools/llvm-objcopy/ELF/explicit-only-section-remove.test
  LLVM :: tools/llvm-objcopy/ELF/group-addr-misaligned.test
  LLVM :: tools/llvm-objcopy/ELF/group-big-endian.test
  LLVM :: tools/llvm-objcopy/ELF/group-unchanged.test
  LLVM :: tools/llvm-objcopy/ELF/group.test
  LLVM :: tools/llvm-objcopy/ELF/input-output-target.test
  LLVM :: tools/llvm-objcopy/ELF/invalid-e_phoff.test
  LLVM :: tools/llvm-objcopy/ELF/keep-global-symbols.test
  LLVM :: tools/llvm-objcopy/ELF/keep-symbol.test
  LLVM :: tools/llvm-objcopy/ELF/many-sections.test
  LLVM :: tools/llvm-objcopy/ELF/only-keep-debug.test
  LLVM-Unit :: ADT/./ADTTests/0/11
  LLVM-Unit :: ADT/./ADTTests/1/11
  LLVM-Unit :: ADT/./ADTTests/10/11
  LLVM-Unit :: ADT/./ADTTests/2/11
  LLVM-Unit :: ADT/./ADTTests/3/11
  LLVM-Unit :: ADT/./ADTTests/4/11
  LLVM-Unit :: ADT/./ADTTests/5/11
  LLVM-Unit :: ADT/./ADTTests/6/11
  LLVM-Unit :: ADT/./ADTTests/7/11
  LLVM-Unit :: ADT/./ADTTests/8/11
  LLVM-Unit :: ADT/./ADTTests/9/11
  LLVM-Unit :: Analysis/./AnalysisTests/0/10
  LLVM-Unit :: Analysis/./AnalysisTests/1/10
  LLVM-Unit :: Analysis/./AnalysisTests/2/10
  LLVM-Unit :: Analysis/./AnalysisTests/3/10
  LLVM-Unit :: Analysis/./AnalysisTests/4/10
  LLVM-Unit :: Analysis/./AnalysisTests/5/10
  LLVM-Unit :: Analysis/./AnalysisTests/6/10
  LLVM-Unit :: Analysis/./AnalysisTests/7/10
  LLVM-Unit :: Analysis/./AnalysisTests/8/10
  LLVM-Unit :: Analysis/./AnalysisTests/9/10
  LLVM-Unit :: AsmParser/./AsmParserTests/0/7
  LLVM-Unit :: AsmParser/./AsmParserTests/1/7
  LLVM-Unit :: AsmParser/./AsmParserTests/2/7
  LLVM-Unit :: AsmParser/./AsmParserTests/3/7
  LLVM-Unit :: AsmParser/./AsmParserTests/4/7
  LLVM-Unit :: AsmParser/./AsmParserTests/5/7
  LLVM-Unit :: AsmParser/./AsmParserTests/6/7
  LLVM-Unit :: BinaryFormat/./BinaryFormatTests/0/12
  LLVM-Unit :: BinaryFormat/./BinaryFormatTests/1/12
  LLVM-Unit :: BinaryFormat/./BinaryFormatTests/10/12
  LLVM-Unit :: BinaryFormat/./BinaryFormatTests/11/12
  LLVM-Unit :: BinaryFormat/./BinaryFormatTests/2/12
  LLVM-Unit :: BinaryFormat/./BinaryFormatTests/3/12
  LLVM-Unit :: BinaryFormat/./BinaryFormatTests/4/12
  LLVM-Unit :: BinaryFormat/./BinaryFormatTests/5/12
  LLVM-Unit :: BinaryFormat/./BinaryFormatTests/6/12
  LLVM-Unit :: BinaryFormat/./BinaryFormatTests/7/12
  LLVM-Unit :: BinaryFormat/./BinaryFormatTests/8/12
  LLVM-Unit :: BinaryFormat/./BinaryFormatTests/9/12
  LLVM-Unit :: Bitcode/./BitcodeTests/0/11
  LLVM-Unit :: Bitcode/./BitcodeTests/1/11
  LLVM-Unit :: Bitcode/./BitcodeTests/10/11
  LLVM-Unit :: Bitcode/./BitcodeTests/2/11
  LLVM-Unit :: Bitcode/./BitcodeTests/3/11
  LLVM-Unit :: Bitcode/./BitcodeTests/4/11
  LLVM-Unit :: Bitcode/./BitcodeTests/5/11
  LLVM-Unit :: Bitcode/./BitcodeTests/6/11
  LLVM-Unit :: Bitcode/./BitcodeTests/7/11
  LLVM-Unit :: Bitcode/./BitcodeTests/8/11
  LLVM-Unit :: Bitcode/./BitcodeTests/9/11
  LLVM-Unit :: Bitstream/./BitstreamTests/0/12
  LLVM-Unit :: Bitstream/./BitstreamTests/1/12
  LLVM-Unit :: Bitstream/./BitstreamTests/10/12
  LLVM-Unit :: Bitstream/./BitstreamTests/11/12
  LLVM-Unit :: Bitstream/./BitstreamTests/2/12
  LLVM-Unit :: Bitstream/./BitstreamTests/3/12
  LLVM-Unit :: Bitstream/./BitstreamTests/4/12
  LLVM-Unit :: Bitstream/./BitstreamTests/5/12
  LLVM-Unit :: Bitstream/./BitstreamTests/6/12
  LLVM-Unit :: Bitstream/./BitstreamTests/7/12
  LLVM-Unit :: Bitstream/./BitstreamTests/8/12
  LLVM-Unit :: Bitstream/./BitstreamTests/9/12
  LLVM-Unit :: CodeGen/./CodeGenTests/0/8
  LLVM-Unit :: CodeGen/./CodeGenTests/1/8
  LLVM-Unit :: CodeGen/./CodeGenTests/2/8
  LLVM-Unit :: CodeGen/./CodeGenTests/3/8
  LLVM-Unit :: CodeGen/./CodeGenTests/4/8
  LLVM-Unit :: CodeGen/./CodeGenTests/5/8
  LLVM-Unit :: CodeGen/./CodeGenTests/6/8
  LLVM-Unit :: CodeGen/./CodeGenTests/7/8
  LLVM-Unit :: CodeGen/GlobalISel/./GlobalISelTests/0/8
  LLVM-Unit :: CodeGen/GlobalISel/./GlobalISelTests/1/8
  LLVM-Unit :: CodeGen/GlobalISel/./GlobalISelTests/2/8
  LLVM-Unit :: CodeGen/GlobalISel/./GlobalISelTests/3/8
  LLVM-Unit :: CodeGen/GlobalISel/./GlobalISelTests/4/8
  LLVM-Unit :: CodeGen/GlobalISel/./GlobalISelTests/5/8
  LLVM-Unit :: CodeGen/GlobalISel/./GlobalISelTests/6/8
  LLVM-Unit :: CodeGen/GlobalISel/./GlobalISelTests/7/8
  LLVM-Unit :: DebugInfo/CodeView/./DebugInfoCodeViewTests/0/13
  LLVM-Unit :: DebugInfo/CodeView/./DebugInfoCodeViewTests/1/13
  LLVM-Unit :: DebugInfo/CodeView/./DebugInfoCodeViewTests/10/13
  LLVM-Unit :: DebugInfo/CodeView/./DebugInfoCodeViewTests/11/13
  LLVM-Unit :: DebugInfo/CodeView/./DebugInfoCodeViewTests/12/13
  LLVM-Unit :: DebugInfo/CodeView/./DebugInfoCodeViewTests/2/13
  LLVM-Unit :: DebugInfo/CodeView/./DebugInfoCodeViewTests/3/13
  LLVM-Unit :: DebugInfo/CodeView/./DebugInfoCodeViewTests/4/13
  LLVM-Unit :: DebugInfo/CodeView/./DebugInfoCodeViewTests/5/13
  LLVM-Unit :: DebugInfo/CodeView/./DebugInfoCodeViewTests/6/13
  LLVM-Unit :: DebugInfo/CodeView/./DebugInfoCodeViewTests/7/13
  LLVM-Unit :: DebugInfo/CodeView/./DebugInfoCodeViewTests/8/13
  LLVM-Unit :: DebugInfo/CodeView/./DebugInfoCodeViewTests/9/13
  LLVM-Unit :: DebugInfo/DWARF/./DebugInfoDWARFTests/0/11
  LLVM-Unit :: DebugInfo/DWARF/./DebugInfoDWARFTests/1/11
  LLVM-Unit :: DebugInfo/DWARF/./DebugInfoDWARFTests/10/11
  LLVM-Unit :: DebugInfo/DWARF/./DebugInfoDWARFTests/2/11
  LLVM-Unit :: DebugInfo/DWARF/./DebugInfoDWARFTests/3/11
  LLVM-Unit :: DebugInfo/DWARF/./DebugInfoDWARFTests/4/11
  LLVM-Unit :: DebugInfo/DWARF/./DebugInfoDWARFTests/5/11
  LLVM-Unit :: DebugInfo/DWARF/./DebugInfoDWARFTests/6/11
  LLVM-Unit :: DebugInfo/DWARF/./DebugInfoDWARFTests/7/11
  LLVM-Unit :: DebugInfo/DWARF/./DebugInfoDWARFTests/8/11
  LLVM-Unit :: DebugInfo/DWARF/./DebugInfoDWARFTests/9/11
  LLVM-Unit :: DebugInfo/GSYM/./DebugInfoGSYMTests/0/9
  LLVM-Unit :: DebugInfo/GSYM/./DebugInfoGSYMTests/1/9
  LLVM-Unit :: DebugInfo/GSYM/./DebugInfoGSYMTests/2/9
  LLVM-Unit :: DebugInfo/GSYM/./DebugInfoGSYMTests/3/9
  LLVM-Unit :: DebugInfo/GSYM/./DebugInfoGSYMTests/4/9
  LLVM-Unit :: DebugInfo/GSYM/./DebugInfoGSYMTests/5/9
  LLVM-Unit :: DebugInfo/GSYM/./DebugInfoGSYMTests/6/9
  LLVM-Unit :: DebugInfo/GSYM/./DebugInfoGSYMTests/7/9
  LLVM-Unit :: DebugInfo/GSYM/./DebugInfoGSYMTests/8/9
  LLVM-Unit :: DebugInfo/LogicalView/./DebugInfoLogicalViewTests/0/8
  LLVM-Unit :: DebugInfo/LogicalView/./DebugInfoLogicalViewTests/1/8
  LLVM-Unit :: DebugInfo/LogicalView/./DebugInfoLogicalViewTests/2/8
  LLVM-Unit :: DebugInfo/LogicalView/./DebugInfoLogicalViewTests/3/8
  LLVM-Unit :: DebugInfo/LogicalView/./DebugInfoLogicalViewTests/4/8
  LLVM-Unit :: DebugInfo/LogicalView/./DebugInfoLogicalViewTests/5/8
  LLVM-Unit :: DebugInfo/LogicalView/./DebugInfoLogicalViewTests/6/8
  LLVM-Unit :: DebugInfo/LogicalView/./DebugInfoLogicalViewTests/7/8
  LLVM-Unit :: DebugInfo/MSF/./DebugInfoMSFTests/0/10
  LLVM-Unit :: DebugInfo/MSF/./DebugInfoMSFTests/1/10
  LLVM-Unit :: DebugInfo/MSF/./DebugInfoMSFTests/2/10
  LLVM-Unit :: DebugInfo/MSF/./DebugInfoMSFTests/3/10
  LLVM-Unit :: DebugInfo/MSF/./DebugInfoMSFTests/4/10
  LLVM-Unit :: DebugInfo/MSF/./DebugInfoMSFTests/5/10
  LLVM-Unit :: DebugInfo/MSF/./DebugInfoMSFTests/6/10
  LLVM-Unit :: DebugInfo/MSF/./DebugInfoMSFTests/7/10
  LLVM-Unit :: DebugInfo/MSF/./DebugInfoMSFTests/8/10
  LLVM-Unit :: DebugInfo/MSF/./DebugInfoMSFTests/9/10
  LLVM-Unit :: DebugInfo/PDB/./DebugInfoPDBTests/0/9
  LLVM-Unit :: DebugInfo/PDB/./DebugInfoPDBTests/1/9
  LLVM-Unit :: DebugInfo/PDB/./DebugInfoPDBTests/2/9
  LLVM-Unit :: DebugInfo/PDB/./DebugInfoPDBTests/3/9
  LLVM-Unit :: DebugInfo/PDB/./DebugInfoPDBTests/4/9
  LLVM-Unit :: DebugInfo/PDB/./DebugInfoPDBTests/5/9
  LLVM-Unit :: DebugInfo/PDB/./DebugInfoPDBTests/6/9
  LLVM-Unit :: DebugInfo/PDB/./DebugInfoPDBTests/7/9
  LLVM-Unit :: DebugInfo/PDB/./DebugInfoPDBTests/8/9
  LLVM-Unit :: DebugInfo/Symbolizer/./DebugInfoSymbolizerTests/0/4
  LLVM-Unit :: DebugInfo/Symbolizer/./DebugInfoSymbolizerTests/1/4
  LLVM-Unit :: DebugInfo/Symbolizer/./DebugInfoSymbolizerTests/2/4
  LLVM-Unit :: DebugInfo/Symbolizer/./DebugInfoSymbolizerTests/3/4
  LLVM-Unit :: Debuginfod/./DebuginfodTests/0/3
  LLVM-Unit :: Debuginfod/./DebuginfodTests/1/3
  LLVM-Unit :: Debuginfod/./DebuginfodTests/2/3
  LLVM-Unit :: Demangle/./DemangleTests/0/11
  LLVM-Unit :: Demangle/./DemangleTests/1/11
  LLVM-Unit :: Demangle/./DemangleTests/10/11
  LLVM-Unit :: Demangle/./DemangleTests/2/11
  LLVM-Unit :: Demangle/./DemangleTests/3/11
  LLVM-Unit :: Demangle/./DemangleTests/4/11
  LLVM-Unit :: Demangle/./DemangleTests/5/11
  LLVM-Unit :: Demangle/./DemangleTests/6/11
  LLVM-Unit :: Demangle/./DemangleTests/7/11
  LLVM-Unit :: Demangle/./DemangleTests/8/11
  LLVM-Unit :: Demangle/./DemangleTests/9/11
  LLVM-Unit :: ExecutionEngine/./ExecutionEngineTests/0/5
  LLVM-Unit :: ExecutionEngine/./ExecutionEngineTests/1/5
  LLVM-Unit :: ExecutionEngine/./ExecutionEngineTests/2/5
  LLVM-Unit :: ExecutionEngine/./ExecutionEngineTests/3/5
  LLVM-Unit :: ExecutionEngine/./ExecutionEngineTests/4/5
  LLVM-Unit :: ExecutionEngine/JITLink/./JITLinkTests/0/12
  LLVM-Unit :: ExecutionEngine/JITLink/./JITLinkTests/1/12
  LLVM-Unit :: ExecutionEngine/JITLink/./JITLinkTests/10/12
  LLVM-Unit :: ExecutionEngine/JITLink/./JITLinkTests/11/12
  LLVM-Unit :: ExecutionEngine/JITLink/./JITLinkTests/2/12
  LLVM-Unit :: ExecutionEngine/JITLink/./JITLinkTests/3/12
  LLVM-Unit :: ExecutionEngine/JITLink/./JITLinkTests/4/12
  LLVM-Unit :: ExecutionEngine/JITLink/./JITLinkTests/5/12
  LLVM-Unit :: ExecutionEngine/JITLink/./JITLinkTests/6/12
  LLVM-Unit :: ExecutionEngine/JITLink/./JITLinkTests/7/12
  LLVM-Unit :: ExecutionEngine/JITLink/./JITLinkTests/8/12
  LLVM-Unit :: ExecutionEngine/JITLink/./JITLinkTests/9/12
  LLVM-Unit :: ExecutionEngine/MCJIT/./MCJITTests/0/10
  LLVM-Unit :: ExecutionEngine/MCJIT/./MCJITTests/1/10
  LLVM-Unit :: ExecutionEngine/MCJIT/./MCJITTests/2/10
  LLVM-Unit :: ExecutionEngine/MCJIT/./MCJITTests/3/10
  LLVM-Unit :: ExecutionEngine/MCJIT/./MCJITTests/4/10
  LLVM-Unit :: ExecutionEngine/MCJIT/./MCJITTests/5/10
  LLVM-Unit :: ExecutionEngine/MCJIT/./MCJITTests/6/10
  LLVM-Unit :: ExecutionEngine/MCJIT/./MCJITTests/7/10
  LLVM-Unit :: ExecutionEngine/MCJIT/./MCJITTests/8/10
  LLVM-Unit :: ExecutionEngine/MCJIT/./MCJITTests/9/10
  LLVM-Unit :: ExecutionEngine/Orc/./OrcJITTests/0/9
  LLVM-Unit :: ExecutionEngine/Orc/./OrcJITTests/1/9
  LLVM-Unit :: ExecutionEngine/Orc/./OrcJITTests/2/9
  LLVM-Unit :: ExecutionEngine/Orc/./OrcJITTests/3/9
  LLVM-Unit :: ExecutionEngine/Orc/./OrcJITTests/4/9
  LLVM-Unit :: ExecutionEngine/Orc/./OrcJITTests/5/9
  LLVM-Unit :: ExecutionEngine/Orc/./OrcJITTests/6/9
  LLVM-Unit :: ExecutionEngine/Orc/./OrcJITTests/7/9
  LLVM-Unit :: ExecutionEngine/Orc/./OrcJITTests/8/9
  LLVM-Unit :: FileCheck/./FileCheckTests/0/14
  LLVM-Unit :: FileCheck/./FileCheckTests/1/14
  LLVM-Unit :: FileCheck/./FileCheckTests/10/14
  LLVM-Unit :: FileCheck/./FileCheckTests/11/14
  LLVM-Unit :: FileCheck/./FileCheckTests/12/14
  LLVM-Unit :: FileCheck/./FileCheckTests/13/14
  LLVM-Unit :: FileCheck/./FileCheckTests/2/14
  LLVM-Unit :: FileCheck/./FileCheckTests/3/14
  LLVM-Unit :: FileCheck/./FileCheckTests/4/14
  LLVM-Unit :: FileCheck/./FileCheckTests/5/14
  LLVM-Unit :: FileCheck/./FileCheckTests/6/14
  LLVM-Unit :: FileCheck/./FileCheckTests/7/14
  LLVM-Unit :: FileCheck/./FileCheckTests/8/14
  LLVM-Unit :: FileCheck/./FileCheckTests/9/14
  LLVM-Unit :: Frontend/./LLVMFrontendTests/0/13
  LLVM-Unit :: Frontend/./LLVMFrontendTests/1/13
  LLVM-Unit :: Frontend/./LLVMFrontendTests/10/13
  LLVM-Unit :: Frontend/./LLVMFrontendTests/11/13
  LLVM-Unit :: Frontend/./LLVMFrontendTests/12/13
  LLVM-Unit :: Frontend/./LLVMFrontendTests/2/13
  LLVM-Unit :: Frontend/./LLVMFrontendTests/3/13
  LLVM-Unit :: Frontend/./LLVMFrontendTests/4/13
  LLVM-Unit :: Frontend/./LLVMFrontendTests/5/13
  LLVM-Unit :: Frontend/./LLVMFrontendTests/6/13
  LLVM-Unit :: Frontend/./LLVMFrontendTests/7/13
  LLVM-Unit :: Frontend/./LLVMFrontendTests/8/13
  LLVM-Unit :: Frontend/./LLVMFrontendTests/9/13
  LLVM-Unit :: FuzzMutate/./FuzzMutateTests/0/10
  LLVM-Unit :: FuzzMutate/./FuzzMutateTests/1/10
  LLVM-Unit :: FuzzMutate/./FuzzMutateTests/2/10
  LLVM-Unit :: FuzzMutate/./FuzzMutateTests/3/10
  LLVM-Unit :: FuzzMutate/./FuzzMutateTests/4/10
  LLVM-Unit :: FuzzMutate/./FuzzMutateTests/5/10
  LLVM-Unit :: FuzzMutate/./FuzzMutateTests/6/10
  LLVM-Unit :: FuzzMutate/./FuzzMutateTests/7/10
  LLVM-Unit :: FuzzMutate/./FuzzMutateTests/8/10
  LLVM-Unit :: FuzzMutate/./FuzzMutateTests/9/10
  LLVM-Unit :: IR/./IRTests/0/9
  LLVM-Unit :: IR/./IRTests/1/9
  LLVM-Unit :: IR/./IRTests/2/9
  LLVM-Unit :: IR/./IRTests/3/9
  LLVM-Unit :: IR/./IRTests/4/9
  LLVM-Unit :: IR/./IRTests/5/9
  LLVM-Unit :: IR/./IRTests/6/9
  LLVM-Unit :: IR/./IRTests/7/9
  LLVM-Unit :: IR/./IRTests/8/9
  LLVM-Unit :: InterfaceStub/./InterfaceStubTests/0/7
  LLVM-Unit :: InterfaceStub/./InterfaceStubTests/1/7
  LLVM-Unit :: InterfaceStub/./InterfaceStubTests/2/7
  LLVM-Unit :: InterfaceStub/./InterfaceStubTests/3/7
  LLVM-Unit :: InterfaceStub/./InterfaceStubTests/4/7
  LLVM-Unit :: InterfaceStub/./InterfaceStubTests/5/7
  LLVM-Unit :: InterfaceStub/./InterfaceStubTests/6/7
  LLVM-Unit :: LineEditor/./LineEditorTests/0/2
  LLVM-Unit :: LineEditor/./LineEditorTests/1/2
  LLVM-Unit :: Linker/./LinkerTests/0/8
  LLVM-Unit :: Linker/./LinkerTests/1/8
  LLVM-Unit :: Linker/./LinkerTests/2/8
  LLVM-Unit :: Linker/./LinkerTests/3/8
  LLVM-Unit :: Linker/./LinkerTests/4/8
  LLVM-Unit :: Linker/./LinkerTests/5/8
  LLVM-Unit :: Linker/./LinkerTests/6/8
  LLVM-Unit :: Linker/./LinkerTests/7/8
  LLVM-Unit :: MC/./MCTests/0/9
  LLVM-Unit :: MC/./MCTests/1/9
  LLVM-Unit :: MC/./MCTests/2/9
  LLVM-Unit :: MC/./MCTests/3/9
  LLVM-Unit :: MC/./MCTests/4/9
  LLVM-Unit :: MC/./MCTests/5/9
  LLVM-Unit :: MC/./MCTests/6/9
  LLVM-Unit :: MC/./MCTests/7/9
  LLVM-Unit :: MC/./MCTests/8/9
  LLVM-Unit :: MC/AMDGPU/./AMDGPUDwarfTests/0/2
  LLVM-Unit :: MC/AMDGPU/./AMDGPUDwarfTests/1/2
  LLVM-Unit :: MC/SystemZ/./SystemZAsmLexerTests/0/8
  LLVM-Unit :: MC/SystemZ/./SystemZAsmLexerTests/1/8
  LLVM-Unit :: MC/SystemZ/./SystemZAsmLexerTests/2/8
  LLVM-Unit :: MC/SystemZ/./SystemZAsmLexerTests/3/8
  LLVM-Unit :: MC/SystemZ/./SystemZAsmLexerTests/4/8
  LLVM-Unit :: MC/SystemZ/./SystemZAsmLexerTests/5/8
  LLVM-Unit :: MC/SystemZ/./SystemZAsmLexerTests/6/8
  LLVM-Unit :: MC/SystemZ/./SystemZAsmLexerTests/7/8
  LLVM-Unit :: MC/X86/./X86MCTests/0/1
  LLVM-Unit :: MI/./MITests/0/9
  LLVM-Unit :: MI/./MITests/1/9
  LLVM-Unit :: MI/./MITests/2/9
  LLVM-Unit :: MI/./MITests/3/9
  LLVM-Unit :: MI/./MITests/4/9
  LLVM-Unit :: MI/./MITests/5/9
  LLVM-Unit :: MI/./MITests/6/9
  LLVM-Unit :: MI/./MITests/7/9
  LLVM-Unit :: MI/./MITests/8/9
  LLVM-Unit :: MIR/./MIRTests/0/8
  LLVM-Unit :: MIR/./MIRTests/1/8
  LLVM-Unit :: MIR/./MIRTests/2/8
  LLVM-Unit :: MIR/./MIRTests/3/8
  LLVM-Unit :: MIR/./MIRTests/4/8
  LLVM-Unit :: MIR/./MIRTests/5/8
  LLVM-Unit :: MIR/./MIRTests/6/8
  LLVM-Unit :: MIR/./MIRTests/7/8
  LLVM-Unit :: ObjCopy/./ObjCopyTests/0/8
  LLVM-Unit :: ObjCopy/./ObjCopyTests/1/8
  LLVM-Unit :: ObjCopy/./ObjCopyTests/2/8
  LLVM-Unit :: ObjCopy/./ObjCopyTests/3/8
  LLVM-Unit :: ObjCopy/./ObjCopyTests/4/8
  LLVM-Unit :: ObjCopy/./ObjCopyTests/5/8
  LLVM-Unit :: ObjCopy/./ObjCopyTests/6/8
  LLVM-Unit :: ObjCopy/./ObjCopyTests/7/8
  LLVM-Unit :: Object/./ObjectTests/0/11
  LLVM-Unit :: Object/./ObjectTests/1/11
  LLVM-Unit :: Object/./ObjectTests/10/11
  LLVM-Unit :: Object/./ObjectTests/2/11
  LLVM-Unit :: Object/./ObjectTests/3/11
  LLVM-Unit :: Object/./ObjectTests/4/11
  LLVM-Unit :: Object/./ObjectTests/5/11
  LLVM-Unit :: Object/./ObjectTests/6/11
  LLVM-Unit :: Object/./ObjectTests/7/11
  LLVM-Unit :: Object/./ObjectTests/8/11
  LLVM-Unit :: Object/./ObjectTests/9/11
  LLVM-Unit :: ObjectYAML/./ObjectYAMLTests/0/11
  LLVM-Unit :: ObjectYAML/./ObjectYAMLTests/1/11
  LLVM-Unit :: ObjectYAML/./ObjectYAMLTests/10/11
  LLVM-Unit :: ObjectYAML/./ObjectYAMLTests/2/11
  LLVM-Unit :: ObjectYAML/./ObjectYAMLTests/3/11
  LLVM-Unit :: ObjectYAML/./ObjectYAMLTests/4/11
  LLVM-Unit :: ObjectYAML/./ObjectYAMLTests/5/11
  LLVM-Unit :: ObjectYAML/./ObjectYAMLTests/6/11
  LLVM-Unit :: ObjectYAML/./ObjectYAMLTests/7/11
  LLVM-Unit :: ObjectYAML/./ObjectYAMLTests/8/11
  LLVM-Unit :: ObjectYAML/./ObjectYAMLTests/9/11
  LLVM-Unit :: Option/./OptionTests/0/10
  LLVM-Unit :: Option/./OptionTests/1/10
  LLVM-Unit :: Option/./OptionTests/2/10
  LLVM-Unit :: Option/./OptionTests/3/10
  LLVM-Unit :: Option/./OptionTests/4/10
  LLVM-Unit :: Option/./OptionTests/5/10
  LLVM-Unit :: Option/./OptionTests/6/10
  LLVM-Unit :: Option/./OptionTests/7/10
  LLVM-Unit :: Option/./OptionTests/8/10
  LLVM-Unit :: Option/./OptionTests/9/10
  LLVM-Unit :: Passes/./PassesBindingsTests/0/2
  LLVM-Unit :: Passes/./PassesBindingsTests/1/2
  LLVM-Unit :: Passes/./PluginsTests/0/2
  LLVM-Unit :: Passes/./PluginsTests/1/2
  LLVM-Unit :: ProfileData/./ProfileDataTests/0/12
  LLVM-Unit :: ProfileData/./ProfileDataTests/1/12
  LLVM-Unit :: ProfileData/./ProfileDataTests/10/12
  LLVM-Unit :: ProfileData/./ProfileDataTests/11/12
  LLVM-Unit :: ProfileData/./ProfileDataTests/2/12
  LLVM-Unit :: ProfileData/./ProfileDataTests/3/12
  LLVM-Unit :: ProfileData/./ProfileDataTests/4/12
  LLVM-Unit :: ProfileData/./ProfileDataTests/5/12
  LLVM-Unit :: ProfileData/./ProfileDataTests/6/12
  LLVM-Unit :: ProfileData/./ProfileDataTests/7/12
  LLVM-Unit :: ProfileData/./ProfileDataTests/8/12
  LLVM-Unit :: ProfileData/./ProfileDataTests/9/12
  LLVM-Unit :: Remarks/./RemarksTests/0/12
  LLVM-Unit :: Remarks/./RemarksTests/1/12
  LLVM-Unit :: Remarks/./RemarksTests/10/12
  LLVM-Unit :: Remarks/./RemarksTests/11/12
  LLVM-Unit :: Remarks/./RemarksTests/2/12
  LLVM-Unit :: Remarks/./RemarksTests/3/12
  LLVM-Unit :: Remarks/./RemarksTests/4/12
  LLVM-Unit :: Remarks/./RemarksTests/5/12
  LLVM-Unit :: Remarks/./RemarksTests/6/12
  LLVM-Unit :: Remarks/./RemarksTests/7/12
  LLVM-Unit :: Remarks/./RemarksTests/8/12
  LLVM-Unit :: Remarks/./RemarksTests/9/12
  LLVM-Unit :: Support/./SupportTests/0/10
  LLVM-Unit :: Support/./SupportTests/1/10
  LLVM-Unit :: Support/./SupportTests/2/10
  LLVM-Unit :: Support/./SupportTests/3/10
  LLVM-Unit :: Support/./SupportTests/4/10
  LLVM-Unit :: Support/./SupportTests/5/10
  LLVM-Unit :: Support/./SupportTests/6/10
  LLVM-Unit :: Support/./SupportTests/7/10
  LLVM-Unit :: Support/./SupportTests/8/10
  LLVM-Unit :: Support/./SupportTests/9/10
  LLVM-Unit :: Support/CommandLineInit/./CommandLineInitTests/0/1
  LLVM-Unit :: Support/DynamicLibrary/./DynamicLibraryTests/0/1
  LLVM-Unit :: TableGen/./TableGenTests/0/8
  LLVM-Unit :: TableGen/./TableGenTests/1/8
  LLVM-Unit :: TableGen/./TableGenTests/2/8
  LLVM-Unit :: TableGen/./TableGenTests/3/8
  LLVM-Unit :: TableGen/./TableGenTests/4/8
  LLVM-Unit :: TableGen/./TableGenTests/5/8
  LLVM-Unit :: TableGen/./TableGenTests/6/8
  LLVM-Unit :: TableGen/./TableGenTests/7/8
  LLVM-Unit :: Target/AArch64/./AArch64Tests/0/9
  LLVM-Unit :: Target/AArch64/./AArch64Tests/1/9
  LLVM-Unit :: Target/AArch64/./AArch64Tests/2/9
  LLVM-Unit :: Target/AArch64/./AArch64Tests/3/9
  LLVM-Unit :: Target/AArch64/./AArch64Tests/4/9
  LLVM-Unit :: Target/AArch64/./AArch64Tests/5/9
  LLVM-Unit :: Target/AArch64/./AArch64Tests/6/9
  LLVM-Unit :: Target/AArch64/./AArch64Tests/7/9
  LLVM-Unit :: Target/AArch64/./AArch64Tests/8/9
  LLVM-Unit :: Target/AMDGPU/./AMDGPUTests/0/4
  LLVM-Unit :: Target/AMDGPU/./AMDGPUTests/1/4
  LLVM-Unit :: Target/AMDGPU/./AMDGPUTests/2/4
  LLVM-Unit :: Target/AMDGPU/./AMDGPUTests/3/4
  LLVM-Unit :: Target/ARM/./ARMTests/0/7
  LLVM-Unit :: Target/ARM/./ARMTests/1/7
  LLVM-Unit :: Target/ARM/./ARMTests/2/7
  LLVM-Unit :: Target/ARM/./ARMTests/3/7
  LLVM-Unit :: Target/ARM/./ARMTests/4/7
  LLVM-Unit :: Target/ARM/./ARMTests/5/7
  LLVM-Unit :: Target/ARM/./ARMTests/6/7
  LLVM-Unit :: Target/LoongArch/./LoongArchTests/0/3
  LLVM-Unit :: Target/LoongArch/./LoongArchTests/1/3
  LLVM-Unit :: Target/LoongArch/./LoongArchTests/2/3
  LLVM-Unit :: Target/PowerPC/./PowerPCTests/0/1
  LLVM-Unit :: Target/WebAssembly/./WebAssemblyTests/0/2
  LLVM-Unit :: Target/WebAssembly/./WebAssemblyTests/1/2
  LLVM-Unit :: Target/X86/./X86Tests/0/1
  LLVM-Unit :: TargetParser/./TargetParserTests/0/12
  LLVM-Unit :: TargetParser/./TargetParserTests/1/12
  LLVM-Unit :: TargetParser/./TargetParserTests/10/12
  LLVM-Unit :: TargetParser/./TargetParserTests/11/12
  LLVM-Unit :: TargetParser/./TargetParserTests/2/12
  LLVM-Unit :: TargetParser/./TargetParserTests/3/12
  LLVM-Unit :: TargetParser/./TargetParserTests/4/12
  LLVM-Unit :: TargetParser/./TargetParserTests/5/12
  LLVM-Unit :: TargetParser/./TargetParserTests/6/12
  LLVM-Unit :: TargetParser/./TargetParserTests/7/12
  LLVM-Unit :: TargetParser/./TargetParserTests/8/12
  LLVM-Unit :: TargetParser/./TargetParserTests/9/12
  LLVM-Unit :: Testing/ADT/./TestingADTTests/0/9
  LLVM-Unit :: Testing/ADT/./TestingADTTests/1/9
  LLVM-Unit :: Testing/ADT/./TestingADTTests/2/9
  LLVM-Unit :: Testing/ADT/./TestingADTTests/3/9
  LLVM-Unit :: Testing/ADT/./TestingADTTests/4/9
  LLVM-Unit :: Testing/ADT/./TestingADTTests/5/9
  LLVM-Unit :: Testing/ADT/./TestingADTTests/6/9
  LLVM-Unit :: Testing/ADT/./TestingADTTests/7/9
  LLVM-Unit :: Testing/ADT/./TestingADTTests/8/9
  LLVM-Unit :: Testing/Annotations/./TestingAnnotationTests/0/9
  LLVM-Unit :: Testing/Annotations/./TestingAnnotationTests/1/9
  LLVM-Unit :: Testing/Annotations/./TestingAnnotationTests/2/9
  LLVM-Unit :: Testing/Annotations/./TestingAnnotationTests/3/9
  LLVM-Unit :: Testing/Annotations/./TestingAnnotationTests/4/9
  LLVM-Unit :: Testing/Annotations/./TestingAnnotationTests/5/9
  LLVM-Unit :: Testing/Annotations/./TestingAnnotationTests/6/9
  LLVM-Unit :: Testing/Annotations/./TestingAnnotationTests/7/9
  LLVM-Unit :: Testing/Annotations/./TestingAnnotationTests/8/9
  LLVM-Unit :: Testing/Support/./TestingSupportTests/0/3
  LLVM-Unit :: Testing/Support/./TestingSupportTests/1/3
  LLVM-Unit :: Testing/Support/./TestingSupportTests/2/3
  LLVM-Unit :: TextAPI/./TextAPITests/0/12
  LLVM-Unit :: TextAPI/./TextAPITests/1/12
  LLVM-Unit :: TextAPI/./TextAPITests/10/12
  LLVM-Unit :: TextAPI/./TextAPITests/11/12
  LLVM-Unit :: TextAPI/./TextAPITests/2/12
  LLVM-Unit :: TextAPI/./TextAPITests/3/12
  LLVM-Unit :: TextAPI/./TextAPITests/4/12
  LLVM-Unit :: TextAPI/./TextAPITests/5/12
  LLVM-Unit :: TextAPI/./TextAPITests/6/12
  LLVM-Unit :: TextAPI/./TextAPITests/7/12
  LLVM-Unit :: TextAPI/./TextAPITests/8/12
  LLVM-Unit :: TextAPI/./TextAPITests/9/12
  LLVM-Unit :: Transforms/IPO/./IPOTests/0/8
  LLVM-Unit :: Transforms/IPO/./IPOTests/1/8
  LLVM-Unit :: Transforms/IPO/./IPOTests/2/8
  LLVM-Unit :: Transforms/IPO/./IPOTests/3/8
  LLVM-Unit :: Transforms/IPO/./IPOTests/4/8
  LLVM-Unit :: Transforms/IPO/./IPOTests/5/8
  LLVM-Unit :: Transforms/IPO/./IPOTests/6/8
  LLVM-Unit :: Transforms/IPO/./IPOTests/7/8
  LLVM-Unit :: Transforms/Scalar/./ScalarTests/0/11
  LLVM-Unit :: Transforms/Scalar/./ScalarTests/1/11
  LLVM-Unit :: Transforms/Scalar/./ScalarTests/10/11
  LLVM-Unit :: Transforms/Scalar/./ScalarTests/2/11
  LLVM-Unit :: Transforms/Scalar/./ScalarTests/3/11
  LLVM-Unit :: Transforms/Scalar/./ScalarTests/4/11
  LLVM-Unit :: Transforms/Scalar/./ScalarTests/5/11
  LLVM-Unit :: Transforms/Scalar/./ScalarTests/6/11
  LLVM-Unit :: Transforms/Scalar/./ScalarTests/7/11
  LLVM-Unit :: Transforms/Scalar/./ScalarTests/8/11
  LLVM-Unit :: Transforms/Scalar/./ScalarTests/9/11
  LLVM-Unit :: Transforms/Utils/./UtilsTests/0/9
  LLVM-Unit :: Transforms/Utils/./UtilsTests/1/9
  LLVM-Unit :: Transforms/Utils/./UtilsTests/2/9
  LLVM-Unit :: Transforms/Utils/./UtilsTests/3/9
  LLVM-Unit :: Transforms/Utils/./UtilsTests/4/9
  LLVM-Unit :: Transforms/Utils/./UtilsTests/5/9
  LLVM-Unit :: Transforms/Utils/./UtilsTests/6/9
  LLVM-Unit :: Transforms/Utils/./UtilsTests/7/9
  LLVM-Unit :: Transforms/Utils/./UtilsTests/8/9
  LLVM-Unit :: Transforms/Vectorize/./VectorizeTests/0/11
  LLVM-Unit :: Transforms/Vectorize/./VectorizeTests/1/11
  LLVM-Unit :: Transforms/Vectorize/./VectorizeTests/10/11
  LLVM-Unit :: Transforms/Vectorize/./VectorizeTests/2/11
  LLVM-Unit :: Transforms/Vectorize/./VectorizeTests/3/11
  LLVM-Unit :: Transforms/Vectorize/./VectorizeTests/4/11
  LLVM-Unit :: Transforms/Vectorize/./VectorizeTests/5/11
  LLVM-Unit :: Transforms/Vectorize/./VectorizeTests/6/11
  LLVM-Unit :: Transforms/Vectorize/./VectorizeTests/7/11
  LLVM-Unit :: Transforms/Vectorize/./VectorizeTests/8/11
  LLVM-Unit :: Transforms/Vectorize/./VectorizeTests/9/11
  LLVM-Unit :: XRay/./XRayTests/0/9
  LLVM-Unit :: XRay/./XRayTests/1/9
  LLVM-Unit :: XRay/./XRayTests/2/9
  LLVM-Unit :: XRay/./XRayTests/3/9
  LLVM-Unit :: XRay/./XRayTests/4/9
  LLVM-Unit :: XRay/./XRayTests/5/9
  LLVM-Unit :: XRay/./XRayTests/6/9
  LLVM-Unit :: XRay/./XRayTests/7/9
  LLVM-Unit :: XRay/./XRayTests/8/9
  LLVM-Unit :: tools/llvm-cfi-verify/./CFIVerifyTests/0/13
  LLVM-Unit :: tools/llvm-cfi-verify/./CFIVerifyTests/1/13
  LLVM-Unit :: tools/llvm-cfi-verify/./CFIVerifyTests/10/13
  LLVM-Unit :: tools/llvm-cfi-verify/./CFIVerifyTests/11/13
  LLVM-Unit :: tools/llvm-cfi-verify/./CFIVerifyTests/12/13
  LLVM-Unit :: tools/llvm-cfi-verify/./CFIVerifyTests/2/13
  LLVM-Unit :: tools/llvm-cfi-verify/./CFIVerifyTests/3/13
  LLVM-Unit :: tools/llvm-cfi-verify/./CFIVerifyTests/4/13
  LLVM-Unit :: tools/llvm-cfi-verify/./CFIVerifyTests/5/13
  LLVM-Unit :: tools/llvm-cfi-verify/./CFIVerifyTests/6/13
  LLVM-Unit :: tools/llvm-cfi-verify/./CFIVerifyTests/7/13
  LLVM-Unit :: tools/llvm-cfi-verify/./CFIVerifyTests/8/13
  LLVM-Unit :: tools/llvm-cfi-verify/./CFIVerifyTests/9/13
  LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/0/14
  LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/1/14
  LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/10/14
  LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/11/14
  LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/12/14
  LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/13/14
  LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/2/14
  LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/3/14
  LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/4/14
  LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/5/14
  LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/6/14
  LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/7/14
  LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/8/14
  LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/9/14
  LLVM-Unit :: tools/llvm-mca/./LLVMMCATests/0/2
  LLVM-Unit :: tools/llvm-mca/./LLVMMCATests/1/2
  LLVM-Unit :: tools/llvm-profgen/./LLVMProfgenTests/0/3
  LLVM-Unit :: tools/llvm-profgen/./LLVMProfgenTests/1/3
  LLVM-Unit :: tools/llvm-profgen/./LLVMProfgenTests/2/3
  Polly-Unit :: DeLICM/./DeLICMTests/0/1
  Polly-Unit :: Flatten/./FlattenTests/0/3
  Polly-Unit :: Flatten/./FlattenTests/1/3
  Polly-Unit :: Flatten/./FlattenTests/2/3
  Polly-Unit :: Isl/./IslTests/0/10
  Polly-Unit :: Isl/./IslTests/1/10
  Polly-Unit :: Isl/./IslTests/2/10
  Polly-Unit :: Isl/./IslTests/3/10
  Polly-Unit :: Isl/./IslTests/4/10
  Polly-Unit :: Isl/./IslTests/5/10
  Polly-Unit :: Isl/./IslTests/6/10
  Polly-Unit :: Isl/./IslTests/7/10
  Polly-Unit :: Isl/./IslTests/8/10
  Polly-Unit :: Isl/./IslTests/9/10
  Polly-Unit :: ScheduleOptimizer/./ScheduleOptimizerTests/0/1
  Polly-Unit :: ScopPassManager/./ScopPassManagerTests/0/3
  Polly-Unit :: ScopPassManager/./ScopPassManagerTests/1/3
  Polly-Unit :: ScopPassManager/./ScopPassManagerTests/2/3
  Polly-Unit :: Support/./ISLToolsTests/0/1

@reckenrode
Copy link
Contributor Author

I'm going to do a gc and rebuild again. Maybe some impurity is letting it work for me.

@reckenrode
Copy link
Contributor Author

I ran nix store gc and nix-collect-garbage -d for good measure, then I did nix build .#legacyPackages.{aarch64,x86_64}-darwin.stdenv. They both built successfully.

Are there any crash reports in Console.app?

Copy link
Contributor

@toonn toonn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only have trivial comments for the most part except for the evaluation error due to the __bootPackages manipulation.

pkgs/top-level/darwin-packages.nix Outdated Show resolved Hide resolved
pkgs/top-level/darwin-packages.nix Show resolved Hide resolved
pkgs/stdenv/darwin/default.nix Show resolved Hide resolved
pkgs/stdenv/darwin/default.nix Show resolved Hide resolved
pkgs/stdenv/darwin/default.nix Outdated Show resolved Hide resolved
pkgs/stdenv/darwin/default.nix Outdated Show resolved Hide resolved
Python 3.12 attempts to build with the _scproxy enabled even when building python3Minimal. Override the configure check to make sure it is disabled. Otherwise, the Darwin stdenv bootstrap will fail.
The bootstrap clang reports its version as “boot”, which results in unwanted test failures when the `-Wnull-pointer-subtraction` workaround is disabled.
@reckenrode reckenrode force-pushed the binutils-darwin-fix branch 2 times, most recently from 075fd67 to e3e1f7a Compare June 27, 2024 02:51
@reckenrode
Copy link
Contributor Author

I dropped the libcharset commit to see if that fixes the evaluation failure.

@vcunat
Copy link
Member

vcunat commented Jun 27, 2024

For reference, building this now as https://hydra.nixos.org/eval/1807276

reckenrode and others added 6 commits June 27, 2024 07:33
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Update darwin.binutils based on darwin.cctools-llvm. It works essentially in the same way, simplifying the derivation. The support for providing both assemblers is handled in a separate commit.

Additionally, unlike cctools-llvm, the lists of tools are provided as passthru attributes: `cctools_cmds` and `llvm_cmds`.
The ld64 upgrade moves gas to a separate output. Prepare for the update by moving gas in cctools-port to the output.
- Only link binaries that exist for stage 0 cctools and LLVM bintools;
- Drop cctools-llvm in favor of the updated darwin.binutils; and
- Update llvm-manages Python overrides (needed for newer versions of LLVM).
GNU binutils is not preferred on Darwin, and newer versions have issues building. Make it an evaluation error to use it in the Darwin stdenv bootstrap.
Copy link
Contributor

@toonn toonn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

stdenv builds on both aarch64-darwin and x86_64-darwin for me.

@reckenrode reckenrode merged commit 442c0e8 into NixOS:staging-next Jun 27, 2024
22 of 24 checks passed
@reckenrode reckenrode deleted the binutils-darwin-fix branch June 27, 2024 14:12
@vcunat vcunat mentioned this pull request Jun 27, 2024
2 tasks
reckenrode added a commit to reckenrode/nixpkgs that referenced this pull request Jul 4, 2024
…pped

After NixOS#322388, darwin.cctools is just Apple’s cctools again. The replacement for what the bootstrap tools wants is darwin.binutils-unwrapped.
reckenrode added a commit to reckenrode/nixpkgs that referenced this pull request Jul 4, 2024
After NixOS#322388, darwin.cctools is just Apple’s cctools again. The replacement for what the bootstrap tools wants is darwin.binutils-unwrapped.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants