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: Riccardo Mottola
Subject: Re: base / libobjc2 link issues on FreeBSD 12
Date: Thu, 20 Feb 2020 12:01:38 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.5

Hi David,

David Chisnall wrote:
ld-elf.so.1: /System/Library/Libraries/libobjc.so.4.6: Undefined symbol
"_ZNSt3__14cerrE"
configure:7880: $? = 1
configure: program exited with status 1

This looks as if something is including a C++ header that is pulling in iostream, specifically the libstdc++ version of iostream.  libstdc++ is not installed by default on FreeBSD, so I'm not sure how that's happening.  Do the libobjc2 tests also fail with this error?

well, "make test" has 178 failures, which means... probably all of them, not very promising.
So this is FreeBSD, so I wonder what is going wrong.

I configured libobjc2 this way:

cmake .. -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang -DCMAKE_ASM_COMPILER=clang -DCMAKE_ASM_FLAGS=-c

$ make test
Running tests...
Test project /usr/home/multix/code/gnustep-cvs/libobjc2/Build
        Start   1: alias
  1/178 Test   #1: alias .............................................***Failed    0.00 sec
        Start   2: alias_optimised
  2/178 Test   #2: alias_optimised ...................................***Failed    0.00 sec
        Start   3: alias_legacy
<....>

0% tests passed, 178 tests failed out of 178

how can I share you the failure details? where are they?

Riccardo



reply via email to

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