gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: base / libobjc2 link issues on FreeBSD 12


From: David Chisnall
Subject: Re: base / libobjc2 link issues on FreeBSD 12
Date: Thu, 20 Feb 2020 16:59:58 +0000
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0

On 20/02/2020 15:08, Riccardo Mottola wrote:
freebsd 12.1 system compiler is clang 8.0.1

Yup, just checked, it is on my system too and it appears to work.

I added these options because they are mentioned like this in your INSTALL file!

My fault.  I've fixed that now.


Just as a test, I did again a  clean build with absolutely no options, just:
cd Build
$ cmake ..
-- The C compiler identification is Clang 8.0.1
-- The ASM compiler identification is Clang
-- Found assembler: /usr/bin/cc
-- The CXX compiler identification is Clang 8.0.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- 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/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Testing C++ interop
-- Testing /usr/lib/libcxxrt.so as the C++ runtime library
-- Using /usr/lib/libcxxrt.so as the C++ runtime library
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- GNUstep install type set to SYSTEM
-- Performing Test CXA_ALLOCATE_EXCEPTION_NOEXCEPT_COMPILES
-- Performing Test CXA_ALLOCATE_EXCEPTION_NOEXCEPT_COMPILES - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /home/multix/code/gnustep-cvs/libobjc2/Build

Looks identical to what I see.


make -j2

<.... build...>

-> all 178 tests fail.

where are the errors of the tests?

You ran ctest? Adding --output-on-failure will show the errors. You can also just run any of the test binaries individually.

I can't reproduce this though. Doing exactly the same steps as you on a fresh clone on a FreeBSD 12 system, ctest -j200 finishes with:

100% tests passed, 0 tests failed out of 178

Total Test time (real) =   4.03 sec

David




reply via email to

[Prev in Thread] Current Thread [Next in Thread]