| 20 Jan 2026 |
Randy Eckenrode | Nope. Fails.
build/src/llvm-project/llvm/include/llvm/CAS/CASReference.h:12:2: note: in module 'LLVM_Utils' imported from /build/src/llvm-project/llvm/include/llvm/CAS/CASReference.h:12:
#include "llvm/ADT/ArrayRef.h"
^
/build/src/llvm-project/llvm/include/llvm/Support/type_traits.h:35:13: error: missing '#include <type_traits>'; 'is_class' must be defined before it is used
!std::is_class<UnderlyingT>::value && // Filter conversion operators.
^
/build/src/llvm-project/llvm/include/llvm/ADT/Hashing.h:351:36: note: in instantiation of template class 'llvm::is_integral_or_enum<const void *>' requested here
: std::integral_constant<bool, ((is_integral_or_enum<T>::value ||
^
/build/src/llvm-project/llvm/include/llvm/ADT/Hashing.h:368:18: note: in instantiation of template class 'llvm::hashing::detail::is_hashable_data<const void *>' requested here
std::enable_if_t<is_hashable_data<T>::value, T>
^
/build/src/llvm-project/llvm/include/llvm/ADT/Hashing.h:560:63: note: while substituting deduced template arguments into function template 'get_hashable_data' [with T = const void *]
buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
^
/build/src/llvm-project/llvm/include/llvm/ADT/Hashing.h:608:17: note: in instantiation of function template specialization 'llvm::hashing::detail::hash_combine_recursive_helper::combine<const void *, const void *>' requested here
return helper.combine(0, helper.buffer, helper.buffer + 64, args...);
^
/build/src/swift/include/swift/Basic/SourceLoc.h:291:12: note: in instantiation of function template specialization 'llvm::hash_combine<const void *, const void *>' requested here
return hash_combine(Val.Start.getOpaquePointerValue(),
^
/nix/store/qarrb8yfby1yyypm32vabzgxgq3w41ma-gcc-15.2.0/include/c++/15.2.0/type_traits:654:12: note: definition here is not reachable
struct is_class
^
/build/src/swift/SwiftCompilerSources/Sources/Basic/SourceLoc.swift:13:8: error: could not build C module 'BasicBridging'
import BasicBridging
| 02:00:31 |
Randy Eckenrode | I suspect the issue is in swift-linux-fix-libc-paths.patch. | 02:10:09 |
Randy Eckenrode | Need to use OPT_cxx_isystem instead of OPT_isystem. | 02:11:07 |
Randy Eckenrode | Crash report for the Darwin crash:
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: swift-frontend-unwrapped [53009]
Path: /Volumes/VOLUME/*/swift-frontend-unwrapped
Identifier: swift-frontend-unwrapped
Version: ???
Code Type: ARM-64 (Native)
Role: Unspecified
Parent Process: ninja [56432]
Coalition: org.nixos.nix-daemon [4898]
Responsible Process: nix [5696]
User ID: 362
Date/Time: 2026-01-19 21:14:34.1170 -0500
Launch Time: 2026-01-19 21:14:32.8801 -0500
Hardware Model: Mac15,9
OS Version: macOS 26.2 (25C56)
Release Type: User
Crash Reporter Key: 8A4D7F20-D75B-4FA7-A8E5-8288BDD004AC
Incident Identifier: 2888A29C-8C89-4C13-AD2A-9102232598E7
Sleep/Wake UUID: 5A0E0820-1FE3-4283-95D4-CD2404EB3F19
Time Awake Since Boot: 110000 seconds
Time Since Wake: 7712 seconds
System Integrity Protection: enabled
Triggered by Thread: 0, Dispatch Queue: com.apple.main-thread
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000100942d24
Termination Reason: Namespace SIGNAL, Code 5, Trace/BPT trap: 5
Terminating Process: exc handler [53009]
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 swift-frontend-unwrapped 0x100942d24 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 4356
1 swift-frontend-unwrapped 0x1008e1db4 swift::mainEntry(int, char const**) + 3624
2 dyld 0x180bf5d54 start + 7184
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000108113510 x1: 0x0000000107f243c0 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x0000000000000000 x5: 0x000000016f53951f x6: 0x0000000000000073 x7: 0x000000016f5391df
x8: 0x0000000000000020 x9: 0x0000000000000103 x10: 0xc77d0d0d182f7fe0 x11: 0xc77d0d0d182d7fe0
x12: 0x0000000108114ee0 x13: 0x000000000000004c x14: 0x0000000000000000 x15: 0x00000000ffffffb3
x16: 0x92b10001080f8020 x17: 0x0000000000001cee x18: 0x0000000000000000 x19: 0x000000016f539d40
x20: 0x000000016f53adf8 x21: 0x0000000000000001 x22: 0x0000000000000000 x23: 0x000000016f539df8
x24: 0x0000000000000000 x25: 0x000000016f539d78 x26: 0x000000016f539d78 x27: 0x000000016f53b598
x28: 0x000000016f53e4e3 fp: 0x000000016f53b7b0 lr: 0x0000000100941edc
sp: 0x000000016f539b30 pc: 0x0000000100942d24 cpsr: 0x80001000
far: 0x0000000000000000 esr: 0xf2000001 (Breakpoint) brk 1
Binary Images:
0x1008b4000 - 0x105a1bfff swift-frontend-unwrapped (*) <a7bd94ef-6b37-31cc-b3d3-aab563932e1f> /Volumes/VOLUME/*/swift-frontend-unwrapped
0x180bed000 - 0x180c8bfc3 dyld (*) <0975afba-c46b-364c-bd84-a75daa9e455a> /usr/lib/dyld
0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
| 02:19:29 |
Randy Eckenrode | Using OPT_cxx_isystem got the build farther, but it’s now failing at:
FAILED: source/Utility/CMakeFiles/lldbUtility.dir/AddressableBits.cpp.o
/nix/store/351bpjcf2l1n4vm06nwpq3cdhl6vbhx1-clang-wrapper-21.1.7/bin/clang++ -DGTEST_HAS_RTTI=0 -DHAVE_ROUND -DLLDB_ENABLE_SWIFT -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/build/build/lldb/source/Utility -I/bui>
In file included from /build/src/llvm-project/lldb/source/Utility/AddressableBits.cpp:9:
/build/src/llvm-project/lldb/include/lldb/Utility/AddressableBits.h:25:27: error: unknown type name 'uint32_t'
25 | void SetAddressableBits(uint32_t addressing_bits);
| ^
/build/src/llvm-project/lldb/include/lldb/Utility/AddressableBits.h:29:27: error: unknown type name 'uint32_t'
29 | void SetAddressableBits(uint32_t lowmem_addressing_bits,
| ^
/build/src/llvm-project/lldb/include/lldb/Utility/AddressableBits.h:30:27: error: unknown type name 'uint32_t'
30 | uint32_t highmem_addressing_bits);
| ^
/build/src/llvm-project/lldb/include/lldb/Utility/AddressableBits.h:32:33: error: unknown type name 'uint32_t'
32 | void SetLowmemAddressableBits(uint32_t lowmem_addressing_bits);
| ^
/build/src/llvm-project/lldb/include/lldb/Utility/AddressableBits.h:34:34: error: unknown type name 'uint32_t'
34 | void SetHighmemAddressableBits(uint32_t highmem_addressing_bits);
| ^
/build/src/llvm-project/lldb/include/lldb/Utility/AddressableBits.h:39:3: error: unknown type name 'uint32_t'
39 | uint32_t m_low_memory_addr_bits;
| ^
/build/src/llvm-project/lldb/include/lldb/Utility/AddressableBits.h:40:3: error: unknown type name 'uint32_t'
40 | uint32_t m_high_memory_addr_bits;
| ^
/build/src/llvm-project/lldb/source/Utility/AddressableBits.cpp:16:23: error: out-of-line definition of 'SetAddressableBits' does not match any declaration in 'lldb_private::AddressableBits'
16 | void AddressableBits::SetAddressableBits(uint32_t addressing_bits) {
| ^~~~~~~~~~~~~~~~~~
/build/src/llvm-project/lldb/include/lldb/Utility/AddressableBits.h:20:7: note: AddressableBits defined here
20 | class AddressableBits {
| ^~~~~~~~~~~~~~~
/build/src/llvm-project/lldb/source/Utility/AddressableBits.cpp:20:23: error: out-of-line definition of 'SetAddressableBits' does not match any declaration in 'lldb_private::AddressableBits'
20 | void AddressableBits::SetAddressableBits(uint32_t lowmem_addressing_bits,
| ^~~~~~~~~~~~~~~~~~
/build/src/llvm-project/lldb/include/lldb/Utility/AddressableBits.h:20:7: note: AddressableBits defined here
| 04:37:12 |
Randy Eckenrode | mpv built. I’m going to need to fix this to avoid pulling in the whole Swift closure instead of just the stdlib.
Load command 73
cmd LC_RPATH
cmdsize 88
path /nix/store/c9f0k73y1m0a7zglncaraa0sfaz77z6l-swift-6.2.3/lib/swift/macosx (offset 12)
Load command 74
cmd LC_RPATH
cmdsize 32
path /usr/lib/swift (offset 12)
| 04:39:36 |
| 19 May 2021 |
| @grahamc:nixos.org set the history visibility to "world_readable". | 19:22:35 |
| @grahamc:nixos.org changed the room name to "" from "". | 19:22:35 |
| [0x4A6F] joined the room. | 19:23:06 |
| nazarii joined the room. | 19:24:29 |
| casey © joined the room. | 19:27:39 |
| ElvishJerricco joined the room. | 19:38:47 |
| andi- joined the room. | 19:39:40 |
| stick joined the room. | 19:46:16 |
| Server Stats Discoverer (traveler bot) joined the room. | 19:50:54 |
| Mic92 joined the room. | 19:51:07 |
| Matrix Traveler (bot) joined the room. | 20:03:59 |
| Gaelan Steele joined the room. | 20:16:00 |
| cgbrewster joined the room. | 20:17:23 |
| Gaelan Steele changed their display name from gaelans to Gaelan Steele. | 20:24:29 |
| Gaelan Steele set a profile picture. | 20:24:54 |
| Gaelan Steele changed their profile picture. | 20:24:59 |
| nicolas joined the room. | 20:33:20 |
| risson joined the room. | 21:05:41 |
| evalexpr joined the room. | 21:10:43 |
| abathur joined the room. | 21:27:57 |
| emily joined the room. | 21:46:41 |
| Jacob Foard joined the room. | 22:15:36 |
| mjlbach joined the room. | 23:14:48 |
| 20 May 2021 |
| Sandro joined the room. | 00:06:31 |