[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compilation clang/fedora23 libobjc2 (github)
From: |
Eduardo Osorio Armenta |
Subject: |
compilation clang/fedora23 libobjc2 (github) |
Date: |
Sat, 27 Feb 2016 11:51:24 -0600 |
Hello GNUstep-ers
i'm pretty new to clang compiler...
following the instructions from https://github.com/gnustep/libobjc2/blo
b/1.8.1/INSTALL
found that
cmake .. -DCMAKE_C_COMPILER=clang
-DCMAKE_CXX_COMPILER=clang
-DCMAKE_ASM_COMPILER=clang
-DCMAKE_ASM_FLAGS=-c
produces output error at $make
[ 42%] Linking C executable CXXExceptions
CMakeFiles/CXXExceptions.dir/CXXException.cc.o: En la función
`throw_int':
...
make[2]: *** [Test/CXXExceptions] Error 1
CMakeFiles/Makefile2:733: recipe for target
'Test/CMakeFiles/CXXExceptions.dir/all' failed
make[1]: *** [Test/CMakeFiles/CXXExceptions.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
tried this:
[under Build folder] $rm -rf *
cmake .. -DCMAKE_C_COMPILER=clang
-DCMAKE_CXX_COMPILER=clang++
-DCMAKE_ASM_COMPILER=clang
-DCMAKE_ASM_FLAGS=-c
everything compiles. And only 2 test fails
96% tests passed, 2 tests failed out of 50
The following tests FAILED:
7 - BlockImpTest (SEGFAULT)
8 - BlockImpTest_optimised (SEGFAULT)
Errors while running CTest
Makefile:61: recipe for target 'test' failed
make: *** [test] Error 8
is this a truly compiler difference?
-DCMAKE_CXX_COMPILER=clang
versus
-DCMAKE_CXX_COMPILER=clang++
both display:
[eosorio@localhost Build]$ clang++ --version
clang version 3.7.0 (tags/RELEASE_370/final)
Target: x86_64-redhat-linux-gnu
Thread model: posix
[eosorio@localhost Build]$ clang --version
clang version 3.7.0 (tags/RELEASE_370/final)
Target: x86_64-redhat-linux-gnu
Thread model: posix
thank you,
best regards
- compilation clang/fedora23 libobjc2 (github),
Eduardo Osorio Armenta <=