Hi All, I've just tried to build xnu (under 10B504 with 64 bit kernel) and that's what I am getting: $ darwinbuild -init 10B504 ... $ darwinbuild xnu ... *** Installing Headers ... *** Mounting special filesystems ... Mounting devfs ... And here it just stops. Log says: 17/09/09 8:47:51 PM fseventsd[45] could not open <</Volumes/ BuildRoot_10B504_20090917202117/dev/.fseventsd/fseventsd-uuid>> (No such file or directory) 17/09/09 8:47:51 PM fseventsd[45] failed to create the uuid file / Volumes/BuildRoot_10B504_20090917202117/dev/.fseventsd/fseventsd-uuid 17/09/09 8:47:51 PM fseventsd[45] disk logger: failed to open output file /Volumes/BuildRoot_10B504_20090917202117/dev/.fseventsd/ 000000000012caac (Operation not supported). mount point /Volumes/ BuildRoot_10B504_20090917202117/dev/.fseventsd 17/09/09 8:47:51 PM com.apple.ReportCrash.Root[3464] 2009-09-17 20:47:51.123 ReportCrash[3464:2903] Failed to create CSSymbolicatorRef for chroot 17/09/09 8:47:51 PM com.apple.ReportCrash.Root[3464] 2009-09-17 20:47:51.131 ReportCrash[3464:2903] Saved crash report for chroot [3462] version ??? (???) to /Library/Logs/DiagnosticReports/ chroot_2009-09-17-204751_localhost.crash 17/09/09 8:47:51 PM fseventsd[45] disk logger: failed to open output file /Volumes/BuildRoot_10B504_20090917202117/dev/.fseventsd/ 00000000001393dc (No such file or directory). mount point /Volumes/ BuildRoot_10B504_20090917202117/dev/.fseventsd chroot_2009-09-17-204751_localhost.crash: Process: chroot [3462] Path: /usr/sbin/chroot Identifier: chroot Version: ??? (???) Code Type: X86-64 (Native) Parent Process: sh [3411] Date/Time: 2009-09-17 20:47:51.019 +1000 OS Version: Mac OS X 10.6.1 (10B504) Report Version: 6 Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000002 Crashed Thread: Unknown Backtrace not available Unknown thread crashed with X86 Thread State (64-bit): rax: 0x0000000000000002 rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000000 rdi: 0x0000000000000000 rsi: 0x0000000000000000 rbp: 0x0000000000000000 rsp: 0x0000000000000000 r8: 0x0000000000000000 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000000 r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000 rip: 0x0000000100000d24 rfl: 0x0000000000010203 cr2: 0x0000000000000002 Binary images description not available Cheers, D
That is what a missing dyld looks like. There was a bug in darwinxref that prevented some dependencies (in this case bash depending on dyld) from making it into the plist. I've fix the bug and added the rest of the dependencies to the plist. You should just start over and -init a new environment to start with a more complete plist. You could also just -load dyld to get the root. Note that there are still missing dependencies, so the brute force workaround is to load all roots before trying to build anything. I hope to have the dependencies cleaned up in the next week or two. -Bill On Sep 17, 2009, at 3:58 AM, Dmitri Sosnik wrote:
Hi All,
I've just tried to build xnu (under 10B504 with 64 bit kernel) and that's what I am getting:
$ darwinbuild -init 10B504 ... $ darwinbuild xnu ... *** Installing Headers ... *** Mounting special filesystems ... Mounting devfs ...
And here it just stops.
Log says: 17/09/09 8:47:51 PM fseventsd[45] could not open <</Volumes/ BuildRoot_10B504_20090917202117/dev/.fseventsd/fseventsd-uuid>> (No such file or directory) 17/09/09 8:47:51 PM fseventsd[45] failed to create the uuid file / Volumes/BuildRoot_10B504_20090917202117/dev/.fseventsd/fseventsd-uuid 17/09/09 8:47:51 PM fseventsd[45] disk logger: failed to open output file /Volumes/BuildRoot_10B504_20090917202117/dev/.fseventsd/ 000000000012caac (Operation not supported). mount point /Volumes/ BuildRoot_10B504_20090917202117/dev/.fseventsd 17/09/09 8:47:51 PM com.apple.ReportCrash.Root[3464] 2009-09-17 20:47:51.123 ReportCrash[3464:2903] Failed to create CSSymbolicatorRef for chroot 17/09/09 8:47:51 PM com.apple.ReportCrash.Root[3464] 2009-09-17 20:47:51.131 ReportCrash[3464:2903] Saved crash report for chroot [3462] version ??? (???) to /Library/Logs/DiagnosticReports/ chroot_2009-09-17-204751_localhost.crash 17/09/09 8:47:51 PM fseventsd[45] disk logger: failed to open output file /Volumes/BuildRoot_10B504_20090917202117/dev/.fseventsd/ 00000000001393dc (No such file or directory). mount point /Volumes/ BuildRoot_10B504_20090917202117/dev/.fseventsd
chroot_2009-09-17-204751_localhost.crash:
Process: chroot [3462] Path: /usr/sbin/chroot Identifier: chroot Version: ??? (???) Code Type: X86-64 (Native) Parent Process: sh [3411]
Date/Time: 2009-09-17 20:47:51.019 +1000 OS Version: Mac OS X 10.6.1 (10B504) Report Version: 6
Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000002 Crashed Thread: Unknown
Backtrace not available
Unknown thread crashed with X86 Thread State (64-bit): rax: 0x0000000000000002 rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000000 rdi: 0x0000000000000000 rsi: 0x0000000000000000 rbp: 0x0000000000000000 rsp: 0x0000000000000000 r8: 0x0000000000000000 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000000 r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000 rip: 0x0000000100000d24 rfl: 0x0000000000010203 cr2: 0x0000000000000002
Binary images description not available
Cheers, D _______________________________________________ darwinbuild-dev mailing list darwinbuild-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/darwinbuild-dev
I've just updated to revision 567 of darwinbuild, and have done make; sudo make install. I've initialized a 10A432 environment. When I attempt to build apache, after downloading a bunch of roots, the following is displayed: dyld: Library not loaded: /usr/lib/system/libmathCommon.A.dylib Referenced from: /usr/lib/libSystem.B.dylib Reason: image not found I am running 10A432 with Xcode 3.2. Cheers, Tony
On Sep 17, 2009, at 9:46 AM, Tony Morales wrote:
I've just updated to revision 567 of darwinbuild, and have done make; sudo make install.
I've initialized a 10A432 environment.
When I attempt to build apache, after downloading a bunch of roots, the following is displayed:
dyld: Library not loaded: /usr/lib/system/libmathCommon.A.dylib Referenced from: /usr/lib/libSystem.B.dylib Reason: image not found
I am running 10A432 with Xcode 3.2.
From my previous email... "Note that there are still missing dependencies, so the brute force workaround is to load all roots before trying to build anything. I hope to have the dependencies cleaned up in the next week or two." In this case, you need to load Libm. -Bill
participants (3)
-
Dmitri Sosnik
-
Tony Morales
-
William Siegrist