!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1183 Members
“There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org194 Servers

Load older messages


SenderMessageTime
20 Jan 2026
@reckenrode:matrix.orgRandy Eckenrode Need to use OPT_cxx_isystem instead of OPT_isystem. 02:11:07
@reckenrode:matrix.orgRandy 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
@reckenrode:matrix.orgRandy 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
@reckenrode:matrix.orgRandy 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
@qyliss:fairydust.spaceAlyssa RossI've been really struggling to get Darwin testing on Meson updates. Should I still be waiting for darwin-core on them?16:10:35
@toonn:matrix.orgtoonn AlyssaRoss: If it's only building/testing you could also ping darwin-maintainers. 16:25:12
@qyliss:fairydust.spaceAlyssa RossI will do that. Looks like before just bootstrap + build was tested so should be easy for others to do.16:33:12
@goldone:nope.chatgoldone [Olaf - Chaotikum] joined the room.18:07:35
@sarahec:matrix.orgSarah ClarkI'm building it now on aarch64-darwin.18:23:21
19 May 2021
@grahamc:nixos.org@grahamc:nixos.org set the history visibility to "world_readable".19:22:35
@grahamc:nixos.org@grahamc:nixos.org changed the room name to "" from "".19:22:35
@0x4a6f:matrix.org[0x4A6F] joined the room.19:23:06
@nbardiuk:matrix.orgnazarii joined the room.19:24:29
@casey:hubns.netcasey © joined the room.19:27:39
@elvishjerricco:matrix.orgElvishJerricco joined the room.19:38:47
@andi:kack.itandi- joined the room.19:39:40
@stick:matrix.orgprusnak joined the room.19:46:16
@server_stats:nordgedanken.devServer Stats Discoverer (traveler bot) joined the room.19:50:54
@joerg:bethselamin.deMic92 joined the room.19:51:07
@voyager:t2bot.ioMatrix Traveler (bot) joined the room.20:03:59
@gaelans:matrix.orgGaelan Steele joined the room.20:16:00
@cgbrewster:matrix.orgcgbrewster joined the room.20:17:23
@gaelans:matrix.orgGaelan Steele changed their display name from gaelans to Gaelan Steele.20:24:29
@gaelans:matrix.orgGaelan Steele set a profile picture.20:24:54
@gaelans:matrix.orgGaelan Steele changed their profile picture.20:24:59
@hobbit:nerdsin.spacenicolas joined the room.20:33:20
@risson:prologin.orgrisson joined the room.21:05:41
@evalexpr:matrix.orgevalexpr joined the room.21:10:43
@abathur:matrix.orgabathur joined the room.21:27:57
@emilazy:matrix.orgemily joined the room.21:46:41

Show newer messages


Back to Room ListRoom Version: 6