Build failure on Darwin

jahanian fjahanian at apple.com
Fri Apr 3 08:58:18 PDT 2015


I am getting this build failure building llvm on Darwin.

llvm[1]: Compiling SpecialCaseList.cpp for Debug+Asserts build
In file included from /Users/fjahanian/sandbox/llvm-tot/lib/Support/Signals.cpp:30:
/Users/fjahanian/sandbox/llvm-tot/lib/Support/Unix/Signals.inc:495:5: error: unknown type name 'mach_port_t'
    mach_port_t self = mach_task_self();
    ^
/Users/fjahanian/sandbox/llvm-tot/lib/Support/Unix/Signals.inc:495:24: error: use of undeclared identifier 'mach_task_self'
    mach_port_t self = mach_task_self();
                       ^
/Users/fjahanian/sandbox/llvm-tot/lib/Support/Unix/Signals.inc:497:5: error: unknown type name 'exception_mask_t'
    exception_mask_t mask = EXC_MASK_CRASH;
    ^
/Users/fjahanian/sandbox/llvm-tot/lib/Support/Unix/Signals.inc:497:29: error: use of undeclared identifier 'EXC_MASK_CRASH'
    exception_mask_t mask = EXC_MASK_CRASH;
                            ^
llvm[1]: Compiling Statistic.cpp for Debug+Asserts build
/Users/fjahanian/sandbox/llvm-tot/lib/Support/Unix/Signals.inc:499:5: error: unknown type name 'kern_return_t'
    kern_return_t ret = task_set_exception_ports(self,
    ^
/Users/fjahanian/sandbox/llvm-tot/lib/Support/Unix/Signals.inc:501:30: error: use of undeclared identifier 'MACH_PORT_NULL'
                             MACH_PORT_NULL,
                             ^
/Users/fjahanian/sandbox/llvm-tot/lib/Support/Unix/Signals.inc:502:30: error: use of undeclared identifier 'EXCEPTION_STATE_IDENTITY'
                             EXCEPTION_STATE_IDENTITY | MACH_EXCEPTION_CODES,
                             ^
/Users/fjahanian/sandbox/llvm-tot/lib/Support/Unix/Signals.inc:502:57: error: use of undeclared identifier 'MACH_EXCEPTION_CODES'
                             EXCEPTION_STATE_IDENTITY | MACH_EXCEPTION_CODES,
                                                        ^
/Users/fjahanian/sandbox/llvm-tot/lib/Support/Unix/Signals.inc:503:30: error: use of undeclared identifier 'THREAD_STATE_NONE'
                             THREAD_STATE_NONE);
                             ^
9 errors generated.


- Fariborz

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150403/985b3e13/attachment.html>


More information about the llvm-commits mailing list