[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libobjc2 build issue
From: |
Laurent Michel |
Subject: |
Re: libobjc2 build issue |
Date: |
Fri, 06 Oct 2017 13:24:07 -0400 |
Awesome! Thanks for the quick response. Trying now!
On 6 Oct 2017, at 12:15, David Chisnall wrote:
> Hi,
>
> I need to do a new release soon, as this was fixed in trunk ages ago…
>
> If you run cmake with the -DLLVM_OPTS=off flag, then you should avoid this
> error.
>
> David
>
>> On 6 Oct 2017, at 16:36, Laurent Michel <address@hidden> wrote:
>>
>> Dear All,
>>
>> I just attempted to build the whole GNUstep suite with libobjc2 in a docker
>> container
>> based on Ubuntu 16.04 and clang/llvm 3.8 n(also tried with 4.0 with the same
>> result)
>>
>> I encounter the following issue when trying to build libobjc2. Namely, cmake
>> really
>> does not like the AddLLVM directive it finds. This is with the git version
>> of libobjc2 and
>> checking out the 1.8.1 tag. I googled and saw that this “kind” of issues
>> has been ongoing for a while, but I couldn’t locate a clear-cut solution.
>>
>> Note that this is not the first time I build GNUstep and didn’t have this
>> problem in the past.
>> Does that mean that the Ubuntu version of clang is broken and the compiler
>> itself (+llvm) must
>> be build from source to get anywhere?
>>
>> Many thanks for relevant pointers!
>>
>> Best,
>> —
>> Laurent
>>
>> PS/ Here is the complaint from cmake
>>
>> export CC=clang-3.8;export CXX=
>> clang++-3.8;cmake ..
>> -- The C compiler identification is Clang 3.8.0
>> -- The CXX compiler identification is Clang 3.8.0
>> -- Check
>> for
>> working C compiler: /usr/bin/clang-3.8
>> -- Check
>> for
>> working C compiler: /usr/bin/clang-3.8 -- works
>> -- Detecting C compiler ABI info
>> -- Detecting C compiler ABI info -
>> done
>>
>> -- Detecting C compile features
>> -- Detecting C compile features -
>> done
>>
>> -- Check
>> for
>> working CXX compiler: /usr/bin/clang++-3.8
>> -- Check
>> for
>> working CXX compiler: /usr/bin/clang++-3.8 -- works
>> -- Detecting CXX compiler ABI info
>> -- Detecting CXX compiler ABI info -
>> done
>>
>> -- Detecting CXX compile features
>> -- Detecting CXX compile features -
>> done
>>
>> -- The ASM compiler identification is Clang
>> -- Found assembler: /usr/bin/clang-3.8
>> CMake Error at opts/CMakeLists.txt:4
>> (include)
>> :
>> include could not find load file:
>>
>> AddLLVM
>>
>>
>> CMake Error at opts/CMakeLists.txt:11
>> (add_llvm_loadable_module)
>> :
>> Unknown CMake
>> command "add_llvm_loadable_module"
>> .
>>
>>
>> _______________________________________________
>> Gnustep-dev mailing list
>> address@hidden
>> https://lists.gnu.org/mailman/listinfo/gnustep-dev
signature.asc
Description: OpenPGP digital signature