[cfe-dev] Mac OS X - Mavericks - make check-all error

Dawie Joubert joubertdj at gmail.com
Fri Jan 3 11:45:27 PST 2014


By the way, herewith the build log “errors” that “make check-all| has reported:

/Users/dawiejoubert/Source/Clang/llvm/projects/compiler-rt/lib/ubsan/lit_tests
lit.py: <string>:196: note: using clang: '/Users/dawiejoubert/Source/Clang/llvm/build/./bin/clang'
lit.py: <string>:372: note: using SDKROOT: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk'
FAIL: AddressSanitizer32 :: TestCases/stack-use-after-return.cc (391 of 17093)
******************** TEST 'AddressSanitizer32 :: TestCases/stack-use-after-return.cc' FAILED ********************
Script:
--
export ASAN_OPTIONS=detect_stack_use_after_return=1
/Users/dawiejoubert/Source/Clang/llvm/build/bin/clang  --driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -m32  -O0 /Users/dawiejoubert/Source/Clang/llvm/projects/compiler-rt/lib/asan/lit_tests/TestCases/stack-use-after-return.cc -o /Users/dawiejoubert/Source/Clang/llvm/build/projects/compiler-rt/lib/asan/lit_tests/32bitConfig/TestCases/Output/stack-use-after-return.cc.tmp &&    not /Users/dawiejoubert/Source/Clang/llvm/build/projects/compiler-rt/lib/asan/lit_tests/32bitConfig/TestCases/Output/stack-use-after-return.cc.tmp 2>&1 | FileCheck /Users/dawiejoubert/Source/Clang/llvm/projects/compiler-rt/lib/asan/lit_tests/TestCases/stack-use-after-return.cc
/Users/dawiejoubert/Source/Clang/llvm/build/bin/clang  --driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -m32  -O1 /Users/dawiejoubert/Source/Clang/llvm/projects/compiler-rt/lib/asan/lit_tests/TestCases/stack-use-after-return.cc -o /Users/dawiejoubert/Source/Clang/llvm/build/projects/compiler-rt/lib/asan/lit_tests/32bitConfig/TestCases/Output/stack-use-after-return.cc.tmp &&    not /Users/dawiejoubert/Source/Clang/llvm/build/projects/compiler-rt/lib/asan/lit_tests/32bitConfig/TestCases/Output/stack-use-after-return.cc.tmp 2>&1 | FileCheck /Users/dawiejoubert/Source/Clang/llvm/projects/compiler-rt/lib/asan/lit_tests/TestCases/stack-use-after-return.cc
/Users/dawiejoubert/Source/Clang/llvm/build/bin/clang  --driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -m32  -O2 /Users/dawiejoubert/Source/Clang/llvm/projects/compiler-rt/lib/asan/lit_tests/TestCases/stack-use-after-return.cc -o /Users/dawiejoubert/Source/Clang/llvm/build/projects/compiler-rt/lib/asan/lit_tests/32bitConfig/TestCases/Output/stack-use-after-return.cc.tmp &&    not /Users/dawiejoubert/Source/Clang/llvm/build/projects/compiler-rt/lib/asan/lit_tests/32bitConfig/TestCases/Output/stack-use-after-return.cc.tmp 2>&1 | FileCheck /Users/dawiejoubert/Source/Clang/llvm/projects/compiler-rt/lib/asan/lit_tests/TestCases/stack-use-after-return.cc
/Users/dawiejoubert/Source/Clang/llvm/build/bin/clang  --driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -m32  -O3 /Users/dawiejoubert/Source/Clang/llvm/projects/compiler-rt/lib/asan/lit_tests/TestCases/stack-use-after-return.cc -o /Users/dawiejoubert/Source/Clang/llvm/build/projects/compiler-rt/lib/asan/lit_tests/32bitConfig/TestCases/Output/stack-use-after-return.cc.tmp &&    not /Users/dawiejoubert/Source/Clang/llvm/build/projects/compiler-rt/lib/asan/lit_tests/32bitConfig/TestCases/Output/stack-use-after-return.cc.tmp 2>&1 | FileCheck /Users/dawiejoubert/Source/Clang/llvm/projects/compiler-rt/lib/asan/lit_tests/TestCases/stack-use-after-return.cc
ASAN_OPTIONS=detect_stack_use_after_return=0 /Users/dawiejoubert/Source/Clang/llvm/build/projects/compiler-rt/lib/asan/lit_tests/32bitConfig/TestCases/Output/stack-use-after-return.cc.tmp
/Users/dawiejoubert/Source/Clang/llvm/build/bin/clang  --driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -m32  -O3 /Users/dawiejoubert/Source/Clang/llvm/projects/compiler-rt/lib/asan/lit_tests/TestCases/stack-use-after-return.cc -o /Users/dawiejoubert/Source/Clang/llvm/build/projects/compiler-rt/lib/asan/lit_tests/32bitConfig/TestCases/Output/stack-use-after-return.cc.tmp -DkSize=10000 &&  (ulimit -s 65;  not /Users/dawiejoubert/Source/Clang/llvm/build/projects/compiler-rt/lib/asan/lit_tests/32bitConfig/TestCases/Output/stack-use-after-return.cc.tmp) 2>&1 | FileCheck /Users/dawiejoubert/Source/Clang/llvm/projects/compiler-rt/lib/asan/lit_tests/TestCases/stack-use-after-return.cc
/Users/dawiejoubert/Source/Clang/llvm/build/bin/clang  --driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -m32  -DUseThread -O2 /Users/dawiejoubert/Source/Clang/llvm/projects/compiler-rt/lib/asan/lit_tests/TestCases/stack-use-after-return.cc -o /Users/dawiejoubert/Source/Clang/llvm/build/projects/compiler-rt/lib/asan/lit_tests/32bitConfig/TestCases/Output/stack-use-after-return.cc.tmp &&    not /Users/dawiejoubert/Source/Clang/llvm/build/projects/compiler-rt/lib/asan/lit_tests/32bitConfig/TestCases/Output/stack-use-after-return.cc.tmp 2>&1 | FileCheck --check-prefix=THREAD /Users/dawiejoubert/Source/Clang/llvm/projects/compiler-rt/lib/asan/lit_tests/TestCases/stack-use-after-return.cc
ASAN_OPTIONS=$ASAN_OPTIONS:max_uar_stack_size_log=20:verbosity=1 not /Users/dawiejoubert/Source/Clang/llvm/build/projects/compiler-rt/lib/asan/lit_tests/32bitConfig/TestCases/Output/stack-use-after-return.cc.tmp 2>&1 | FileCheck --check-prefix=CHECK-20 /Users/dawiejoubert/Source/Clang/llvm/projects/compiler-rt/lib/asan/lit_tests/TestCases/stack-use-after-return.cc
ASAN_OPTIONS=$ASAN_OPTIONS:min_uar_stack_size_log=24:max_uar_stack_size_log=24:verbosity=1 not /Users/dawiejoubert/Source/Clang/llvm/build/projects/compiler-rt/lib/asan/lit_tests/32bitConfig/TestCases/Output/stack-use-after-return.cc.tmp 2>&1 | FileCheck --check-prefix=CHECK-24 /Users/dawiejoubert/Source/Clang/llvm/projects/compiler-rt/lib/asan/lit_tests/TestCases/stack-use-after-return.cc
--
Exit Code: 1

Command Output (stderr):
--
1: 0xbffdfb10
2: 0xbffdfb10
/Users/dawiejoubert/Source/Clang/llvm/projects/compiler-rt/lib/asan/lit_tests/TestCases/stack-use-after-return.cc:59:15: error: expected string not found in input
 // CHECK-20: T0: FakeStack created:{{.*}} stack_size_log: 20
              ^
<stdin>:1:1: note: scanning from here
==14017==Parsed ASAN_OPTIONS: detect_stack_use_after_return=1:max_uar_stack_size_log=20:verbosity=1
^
<stdin>:24:10: note: possible intended match here
==14017==T0: FakeStack created: 0x02300000 -- 0x02885000 stack_size_log: 19; mmapped 5652K, noreserve=0 
         ^

--

********************
FAIL: AddressSanitizer64 :: TestCases/stack-use-after-return.cc (505 of 17093)
******************** TEST 'AddressSanitizer64 :: TestCases/stack-use-after-return.cc' FAILED ********************
Script:
--
export ASAN_OPTIONS=detect_stack_use_after_return=1
/Users/dawiejoubert/Source/Clang/llvm/build/bin/clang  --driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -m64  -O0 /Users/dawiejoubert/Source/Clang/llvm/projects/compiler-rt/lib/asan/lit_tests/TestCases/stack-use-after-return.cc -o /Users/dawiejoubert/Source/Clang/llvm/build/projects/compiler-rt/lib/asan/lit_tests/64bitConfig/TestCases/Output/stack-use-after-return.cc.tmp &&    not /Users/dawiejoubert/Source/Clang/llvm/build/projects/compiler-rt/lib/asan/lit_tests/64bitConfig/TestCases/Output/stack-use-after-return.cc.tmp 2>&1 | FileCheck /Users/dawiejoubert/Source/Clang/llvm/projects/compiler-rt/lib/asan/lit_tests/TestCases/stack-use-after-return.cc
/Users/dawiejoubert/Source/Clang/llvm/build/bin/clang  --driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -m64  -O1 /Users/dawiejoubert/Source/Clang/llvm/projects/compiler-rt/lib/asan/lit_tests/TestCases/stack-use-after-return.cc -o /Users/dawiejoubert/Source/Clang/llvm/build/projects/compiler-rt/lib/asan/lit_tests/64bitConfig/TestCases/Output/stack-use-after-return.cc.tmp &&    not /Users/dawiejoubert/Source/Clang/llvm/build/projects/compiler-rt/lib/asan/lit_tests/64bitConfig/TestCases/Output/stack-use-after-return.cc.tmp 2>&1 | FileCheck /Users/dawiejoubert/Source/Clang/llvm/projects/compiler-rt/lib/asan/lit_tests/TestCases/stack-use-after-return.cc
/Users/dawiejoubert/Source/Clang/llvm/build/bin/clang  --driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -m64  -O2 /Users/dawiejoubert/Source/Clang/llvm/projects/compiler-rt/lib/asan/lit_tests/TestCases/stack-use-after-return.cc -o /Users/dawiejoubert/Source/Clang/llvm/build/projects/compiler-rt/lib/asan/lit_tests/64bitConfig/TestCases/Output/stack-use-after-return.cc.tmp &&    not /Users/dawiejoubert/Source/Clang/llvm/build/projects/compiler-rt/lib/asan/lit_tests/64bitConfig/TestCases/Output/stack-use-after-return.cc.tmp 2>&1 | FileCheck /Users/dawiejoubert/Source/Clang/llvm/projects/compiler-rt/lib/asan/lit_tests/TestCases/stack-use-after-return.cc
/Users/dawiejoubert/Source/Clang/llvm/build/bin/clang  --driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -m64  -O3 /Users/dawiejoubert/Source/Clang/llvm/projects/compiler-rt/lib/asan/lit_tests/TestCases/stack-use-after-return.cc -o /Users/dawiejoubert/Source/Clang/llvm/build/projects/compiler-rt/lib/asan/lit_tests/64bitConfig/TestCases/Output/stack-use-after-return.cc.tmp &&    not /Users/dawiejoubert/Source/Clang/llvm/build/projects/compiler-rt/lib/asan/lit_tests/64bitConfig/TestCases/Output/stack-use-after-return.cc.tmp 2>&1 | FileCheck /Users/dawiejoubert/Source/Clang/llvm/projects/compiler-rt/lib/asan/lit_tests/TestCases/stack-use-after-return.cc
ASAN_OPTIONS=detect_stack_use_after_return=0 /Users/dawiejoubert/Source/Clang/llvm/build/projects/compiler-rt/lib/asan/lit_tests/64bitConfig/TestCases/Output/stack-use-after-return.cc.tmp
/Users/dawiejoubert/Source/Clang/llvm/build/bin/clang  --driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -m64  -O3 /Users/dawiejoubert/Source/Clang/llvm/projects/compiler-rt/lib/asan/lit_tests/TestCases/stack-use-after-return.cc -o /Users/dawiejoubert/Source/Clang/llvm/build/projects/compiler-rt/lib/asan/lit_tests/64bitConfig/TestCases/Output/stack-use-after-return.cc.tmp -DkSize=10000 &&  (ulimit -s 65;  not /Users/dawiejoubert/Source/Clang/llvm/build/projects/compiler-rt/lib/asan/lit_tests/64bitConfig/TestCases/Output/stack-use-after-return.cc.tmp) 2>&1 | FileCheck /Users/dawiejoubert/Source/Clang/llvm/projects/compiler-rt/lib/asan/lit_tests/TestCases/stack-use-after-return.cc
/Users/dawiejoubert/Source/Clang/llvm/build/bin/clang  --driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -m64  -DUseThread -O2 /Users/dawiejoubert/Source/Clang/llvm/projects/compiler-rt/lib/asan/lit_tests/TestCases/stack-use-after-return.cc -o /Users/dawiejoubert/Source/Clang/llvm/build/projects/compiler-rt/lib/asan/lit_tests/64bitConfig/TestCases/Output/stack-use-after-return.cc.tmp &&    not /Users/dawiejoubert/Source/Clang/llvm/build/projects/compiler-rt/lib/asan/lit_tests/64bitConfig/TestCases/Output/stack-use-after-return.cc.tmp 2>&1 | FileCheck --check-prefix=THREAD /Users/dawiejoubert/Source/Clang/llvm/projects/compiler-rt/lib/asan/lit_tests/TestCases/stack-use-after-return.cc
ASAN_OPTIONS=$ASAN_OPTIONS:max_uar_stack_size_log=20:verbosity=1 not /Users/dawiejoubert/Source/Clang/llvm/build/projects/compiler-rt/lib/asan/lit_tests/64bitConfig/TestCases/Output/stack-use-after-return.cc.tmp 2>&1 | FileCheck --check-prefix=CHECK-20 /Users/dawiejoubert/Source/Clang/llvm/projects/compiler-rt/lib/asan/lit_tests/TestCases/stack-use-after-return.cc
ASAN_OPTIONS=$ASAN_OPTIONS:min_uar_stack_size_log=24:max_uar_stack_size_log=24:verbosity=1 not /Users/dawiejoubert/Source/Clang/llvm/build/projects/compiler-rt/lib/asan/lit_tests/64bitConfig/TestCases/Output/stack-use-after-return.cc.tmp 2>&1 | FileCheck --check-prefix=CHECK-24 /Users/dawiejoubert/Source/Clang/llvm/projects/compiler-rt/lib/asan/lit_tests/TestCases/stack-use-after-return.cc
--
Exit Code: 1

Command Output (stderr):
--
1: 0x7fff5a2a7ac0
2: 0x7fff5a2a7ac0
/Users/dawiejoubert/Source/Clang/llvm/projects/compiler-rt/lib/asan/lit_tests/TestCases/stack-use-after-return.cc:59:15: error: expected string not found in input
 // CHECK-20: T0: FakeStack created:{{.*}} stack_size_log: 20
              ^
<stdin>:1:1: note: scanning from here
==15683==Parsed ASAN_OPTIONS: detect_stack_use_after_return=1:max_uar_stack_size_log=20:verbosity=1
^
<stdin>:24:10: note: possible intended match here
==15683==T0: FakeStack created: 0x000114000000 -- 0x000114585000 stack_size_log: 19; mmapped 5652K, noreserve=0 
         ^

--

********************
FAIL: Clang :: Headers/cxx11.cpp (3553 of 17093)
******************** TEST 'Clang :: Headers/cxx11.cpp' FAILED ********************
Script:
--
/Users/dawiejoubert/Source/Clang/llvm/build/./bin/clang -cc1 -internal-isystem /Users/dawiejoubert/Source/Clang/llvm/build/bin/../lib/clang/3.5/include -ffreestanding -fsyntax-only -std=c++11 /Users/dawiejoubert/Source/Clang/llvm/tools/clang/test/Headers/cxx11.cpp
/Users/dawiejoubert/Source/Clang/llvm/build/./bin/clang -cc1 -internal-isystem /Users/dawiejoubert/Source/Clang/llvm/build/bin/../lib/clang/3.5/include -ffreestanding -fsyntax-only -std=c++11 -fmodules /Users/dawiejoubert/Source/Clang/llvm/tools/clang/test/Headers/cxx11.cpp
--
Exit Code: 1

Command Output (stderr):
--
While building module 'Darwin' imported from /Users/dawiejoubert/Source/Clang/llvm/tools/clang/test/Headers/cxx11.cpp:20:
In file included from <module-includes>:10:
/usr/include/inttypes.h:252:1: error: expected '}'
#include <sys/_types/_wchar_t.h>
^
/usr/include/inttypes.h:235:1: note: to match this '{'
__BEGIN_DECLS
^
/usr/include/sys/cdefs.h:71:34: note: expanded from macro '__BEGIN_DECLS'
#define __BEGIN_DECLS   extern "C" {
                                   ^
While building module 'Darwin' imported from /Users/dawiejoubert/Source/Clang/llvm/tools/clang/test/Headers/cxx11.cpp:20:
In file included from <module-includes>:10:
/usr/include/inttypes.h:263:1: error: extraneous closing brace ('}')
__END_DECLS
^
/usr/include/sys/cdefs.h:72:21: note: expanded from macro '__END_DECLS'
#define __END_DECLS     }
                        ^
While building module 'Darwin' imported from /Users/dawiejoubert/Source/Clang/llvm/tools/clang/test/Headers/cxx11.cpp:20:
In file included from <module-includes>:25:
/usr/include/stdlib.h:238:1: error: expected '}'
#include <machine/types.h>
^
/usr/include/stdlib.h:127:1: note: to match this '{'
__BEGIN_DECLS
^
/usr/include/sys/cdefs.h:71:34: note: expanded from macro '__BEGIN_DECLS'
#define __BEGIN_DECLS   extern "C" {
                                   ^
While building module 'Darwin' imported from /Users/dawiejoubert/Source/Clang/llvm/tools/clang/test/Headers/cxx11.cpp:20:
In file included from <module-includes>:25:
/usr/include/stdlib.h:323:1: error: extraneous closing brace ('}')
__END_DECLS
^
/usr/include/sys/cdefs.h:72:21: note: expanded from macro '__END_DECLS'
#define __END_DECLS     }
                        ^
While building module 'Darwin' imported from /Users/dawiejoubert/Source/Clang/llvm/tools/clang/test/Headers/cxx11.cpp:20:
In file included from <module-includes>:49:
/usr/include/iconv.h:80:1: error: expected '}'
#include <sys/_types/_wchar_t.h>
^
/usr/include/iconv.h:56:12: note: to match this '{'
extern "C" {
           ^
/usr/include/iconv.h:185:1: error: extraneous closing brace ('}')
}
^
While building module 'Darwin' imported from /Users/dawiejoubert/Source/Clang/llvm/tools/clang/test/Headers/cxx11.cpp:20:
In file included from <module-includes>:56:
In file included from /usr/include/net/if.h:106:
In file included from /usr/include/net/if_var.h:70:
/usr/include/sys/time.h:193:1: error: expected '}'
#include <sys/_select.h>        /* select() prototype */
^
/usr/include/sys/time.h:181:1: note: to match this '{'
__BEGIN_DECLS
^
/usr/include/sys/cdefs.h:71:34: note: expanded from macro '__BEGIN_DECLS'
#define __BEGIN_DECLS   extern "C" {
                                   ^
While building module 'Darwin' imported from /Users/dawiejoubert/Source/Clang/llvm/tools/clang/test/Headers/cxx11.cpp:20:
In file included from <module-includes>:56:
In file included from /usr/include/net/if.h:106:
In file included from /usr/include/net/if_var.h:70:
/usr/include/sys/time.h:199:1: error: extraneous closing brace ('}')
__END_DECLS
^
/usr/include/sys/cdefs.h:72:21: note: expanded from macro '__END_DECLS'
#define __END_DECLS     }
                        ^
While building module 'Darwin' imported from /Users/dawiejoubert/Source/Clang/llvm/tools/clang/test/Headers/cxx11.cpp:20:
In file included from <module-includes>:185:
/usr/include/unistd.h:707:7: error: declaration of 'valloc' has a different language linkage
void    *valloc(size_t);                        
         ^
/usr/include/stdlib.h:316:7: note: previous declaration is here
void    *valloc(size_t);
         ^
While building module 'Darwin' imported from /Users/dawiejoubert/Source/Clang/llvm/tools/clang/test/Headers/cxx11.cpp:20:
In file included from <module-includes>:185:
/usr/include/unistd.h:709:14: error: declaration of 'suboptarg' has a different language linkage
extern char *suboptarg;                 /* getsubopt(3) external variable */
             ^
/usr/include/stdlib.h:315:14: note: previous definition is here
extern char *suboptarg;         /* getsubopt(3) external variable */
             ^
While building module 'Darwin' imported from /Users/dawiejoubert/Source/Clang/llvm/tools/clang/test/Headers/cxx11.cpp:20:
In file included from <module-includes>:325:
In file included from /usr/include/ncurses.h:141:
/usr/include/unctrl.h:54:1: error: expected '}'
#include <curses.h>
^
/usr/include/unctrl.h:51:12: note: to match this '{'
extern "C" {
           ^
/usr/include/unctrl.h:60:1: error: extraneous closing brace ('}')
}
^
/Users/dawiejoubert/Source/Clang/llvm/tools/clang/test/Headers/cxx11.cpp:20:10: fatal error: could not build module 'Darwin'
#include <stdint.h>
 ~~~~~~~~^
13 errors generated.

--

Best regards,

Dawie

On 03 Jan 2014, at 9:42 PM, Dawie Joubert <joubertdj at gmail.com> wrote:

> Hi,
> 
> That worked! Thanks for the response!
> 
> However. The final result of the check-all is as follows:
> 
> ********************
> Testing Time: 591.24s
> ********************
> Failing Tests (3):
>     AddressSanitizer32 :: TestCases/stack-use-after-return.cc
>     AddressSanitizer64 :: TestCases/stack-use-after-return.cc
>     Clang :: Headers/cxx11.cpp
> 
>   Expected Passes    : 16803
>   Expected Failures  : 75
>   Unsupported Tests  : 212
>   Unexpected Failures: 3
> make[3]: *** [CMakeFiles/check-all] Error 1
> make[2]: *** [CMakeFiles/check-all.dir/all] Error 2
> make[1]: *** [CMakeFiles/check-all.dir/rule] Error 2
> make: *** [check-all] Error 2
> 
> Is it part of the same “problem”?
> 
> Best regards,
> 
> Dawie
> 
> On 03 Jan 2014, at 9:33 PM, Joubert, Dawie <Dawie.Joubert at rhdhv.com> wrote:
> 
>> 
>> Hi,
>> 
>> This was it! Thanks!
>> 
>> A pity that the information is not updated on the site!
>> 
>> Thanks for the response!
>> 
>> Dawie
>> 
>> 
>> -----Original Message-----
>> From: thakis at google.com on behalf of Nico Weber
>> Sent: Thu 2014/01/02 09:00 PM
>> To: Dawie Joubert
>> Cc: cfe-dev at cs.uiuc.edu Developers; Bob Wilson
>> Subject: Re: [cfe-dev] Mac OS X - Mavericks - make check-all error
>> 
>> Hi,
>> 
>> you need to check out libcxx into projects, see
>> http://llvm.org/bugs/show_bug.cgi?id=17821 and the discussion on
>> https://www.mail-archive.com/cfe-commits@cs.uiuc.edu/msg84027.html (I
>> suggested that this should be mentioned on
>> http://clang.llvm.org/get_started.html but didn't get a reply.
>> 
>> Nico
>> 
>> 
>> On Thu, Jan 2, 2014 at 10:45 AM, Dawie Joubert <joubertdj at gmail.com> wrote:
>> 
>> > Dear all,
>> >
>> > The "make" command executes successfully on Mac OS X Mavericks . but when
>> > I want to test it before I use it .. with "make check-all" . the following
>> > error occurs:
>> >
>> > In file included from
>> > /Users/dawiejoubert/Source/Clang/llvm/projects/compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_test.cc:21:
>> > */Users/dawiejoubert/Source/Clang/llvm/utils/unittest/googletest/include/gtest/gtest.h:54:10:
>> > **fatal error: *
>> > *      'limits' file not found*
>> > #include <limits>
>> > *         ^*
>> > 1 error generated.
>> > make[3]: ***
>> > [projects/compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_test.cc.x86_64.o]
>> > Error 1
>> > make[2]: ***
>> > [projects/compiler-rt/lib/sanitizer_common/tests/CMakeFiles/Sanitizer-x86_64-Test.dir/all]
>> > Error 2
>> > make[1]: *** [CMakeFiles/check-all.dir/rule] Error 2
>> > make: *** [check-all] Error 2
>> >
>> > "Limits" should be standard c++ stuff shouldn't it be?
>> >
>> > PS. I recently switched from a PC to a Mac so please be not too hard on
>> > ID10T errors . ;)
>> >
>> > Best regards,
>> >
>> > Dawie
>> >
>> >
>> > _______________________________________________
>> > cfe-dev mailing list
>> > cfe-dev at cs.uiuc.edu
>> > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>> >
>> >
>> 
>> This email and any attachments are intended solely for the use of the addressee(s); disclosure or copying by others than the intended person(s) is strictly prohibited. If you have received this email in error, please treat this email as confidential, notify the sender and delete all copies of the email immediately.
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140103/bc674914/attachment.html>


More information about the cfe-dev mailing list