Build errors on r139985

Hi,

I get build errors when trying to build a fresh r139985.
Anyone got a clue?

carl@carl:~/Downloads/llvm3.0/llvm$ gcc --version
gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

carl@carl:~/Downloads/llvm3.0/llvm$ svn up
At revision 139985.
carl@carl:~/Downloads/llvm3.0/llvm$ svn status
? include/llvm/Support/DataTypes.h
carl@carl:~/Downloads/llvm3.0/llvm$ make -j 4
make[1]: Entering directory `/home/carl/Downloads/llvm3.0/llvm/lib/Support'
llvm[1]: Compiling CommandLine.cpp for Debug+Asserts build
llvm[1]: Compiling DataExtractor.cpp for Debug+Asserts build
llvm[1]: Compiling Debug.cpp for Debug+Asserts build
llvm[1]: Compiling DeltaAlgorithm.cpp for Debug+Asserts build
llvm[1]: Compiling Disassembler.cpp for Debug+Asserts build
In file included from CommandLine.cpp:25:
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:499:
error: ‘EAFNOSUPPORT’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:500:
error: ‘EADDRINUSE’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:501:
error: ‘EADDRNOTAVAIL’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:502:
error: ‘EISCONN’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:503:
error: ‘E2BIG’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:504:
error: ‘EDOM’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:505:
error: ‘EFAULT’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:506:
error: ‘EBADF’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:510:
error: ‘EINVAL’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:512:
error: ‘EPIPE’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:513:
error: ‘ECONNABORTED’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:514:
error: ‘EALREADY’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:515:
error: ‘ECONNREFUSED’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:516:
error: ‘ECONNRESET’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:517:
error: ‘EXDEV’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:518:
error: ‘EDESTADDRREQ’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:519:
error: ‘EBUSY’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:520:
error: ‘ENOTEMPTY’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:521:
error: ‘ENOEXEC’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:522:
error: ‘EEXIST’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:523:
error: ‘EFBIG’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:524:
error: ‘ENAMETOOLONG’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:525:
error: ‘ENOSYS’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:526:
error: ‘EHOSTUNREACH’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:527:
error: ‘EIDRM’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:528:
error: ‘EILSEQ’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:529:
error: ‘ENOTTY’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:530:
error: ‘EINTR’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:531:
error: ‘EINVAL’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:532:
error: ‘ESPIPE’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:533:
error: ‘EIO’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:534:
error: ‘EISDIR’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:535:
error: ‘EMSGSIZE’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:536:
error: ‘ENETDOWN’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:537:
error: ‘ENETRESET’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:538:
error: ‘ENETUNREACH’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:539:
error: ‘ENOBUFS’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:540:
error: ‘ECHILD’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:544:
error: ‘EINVAL’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:546:
error: ‘ENOLCK’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:550:
error: ‘ENOMSG’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:552:
error: ‘ENOMSG’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:553:
error: ‘ENOPROTOOPT’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:554:
error: ‘ENOSPC’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:558:
error: ‘ENOMEM’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:560:
error: ‘ENXIO’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:561:
error: ‘ENODEV’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:562:
error: ‘ENOENT’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:563:
error: ‘ESRCH’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:564:
error: ‘ENOTDIR’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:565:
error: ‘ENOTSOCK’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:569:
error: ‘EINVAL’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:571:
error: ‘ENOTCONN’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:572:
error: ‘ENOMEM’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:573:
error: ‘EOPNOTSUPP’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:579:
error: ‘EINPROGRESS’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:580:
error: ‘EPERM’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:581:
error: ‘EOPNOTSUPP’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:582:
error: ‘EWOULDBLOCK’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:588:
error: ‘EACCES’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:592:
error: ‘EINVAL’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:594:
error: ‘EPROTONOSUPPORT’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:595:
error: ‘EROFS’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:596:
error: ‘EDEADLK’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:597:
error: ‘EAGAIN’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:598:
error: ‘ERANGE’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:607:
error: ‘ETIMEDOUT’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:609:
error: ‘ETXTBSY’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:610:
error: ‘ETIMEDOUT’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:611:
error: ‘ENFILE’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:612:
error: ‘EMFILE’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:613:
error: ‘EMLINK’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:614:
error: ‘ELOOP’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:615:
error: ‘EOVERFLOW’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:616:
error: ‘EPROTOTYPE’ was not declared in this scope
llvm[1]: Compiling Dwarf.cpp for Debug+Asserts build
llvm[1]: Compiling DynamicLibrary.cpp for Debug+Asserts build
make[1]: *** [/home/carl/Downloads/llvm3.0/llvm/lib/Support/Debug+Asserts/CommandLine.o]
Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/carl/Downloads/llvm3.0/llvm/lib/Support'
make: *** [all] Error 1