[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libobjc2 still failing tests
From: |
Andreas Fink |
Subject: |
Re: libobjc2 still failing tests |
Date: |
Sat, 26 Jan 2019 17:51:43 +0100 |
tried that. now ./configure complains.
checking whether objc really works... no
I don't seem to be able to use your Objective-C compiler to produce
working binaries! Please check your Objective-C compiler installation.
If you are using gcc-3.x make sure that your compiler's libgcc_s and libobjc
can be found by the dynamic linker - usually that requires you to play
with LD_LIBRARY_PATH or /etc/ld.so.conf.
Please refer to your compiler installation instructions for more help.
configure: error: The Objective-C compiler does not work or is not installed
properly.
config.log contains this:
configure:7884: /usr/bin/clang-8 -o conftest -g -O2 -L/usr/local/lib
-I/usr/local/include -I/usr/local/include -I/usr/local/include
-I/usr/local/include -x objective-c -fuse-ld=lld-8 -L/usr/local/lib
-L/usr/local/lib -L/usr/l
ocal/lib -L/usr/local/lib conftest.c -lrt -ldl -lpthread -rdynamic
-fuse-ld=lld-8 -pthread -fexceptions -fobjc-runtime=gnustep-2.0 -fblocks
-L/root/GNUstep/Library/Libraries -L/usr/local/lib -lpthread -l:libobjc.so.4.6
-lm
-lpthread >&5
In file included from conftest.c:106:
In file included from ././config/config.objc.m:2:
././config/objc-common.g:54:3: warning: assignment to Objective-C's isa is
deprecated in favor of object_setClass() [-Wdeprecated-objc-isa-usage]
obj->isa = self;
^ ~~~~~~~
object_setClass( , )
././config/objc-common.g:47:5: note: instance variable is declared here
id isa;
^
././config/objc-common.g:45:31: warning: class 'NSObject' defined without
specifying a base class [-Wobjc-root-class]
GS_OBJC_ROOT_CLASS @interface NSObject
^
././config/objc-common.g:45:39: note: add a super class to fix this problem
GS_OBJC_ROOT_CLASS @interface NSObject
^
: NSObject
In file included from conftest.c:106:
././config/config.objc.m:4:31: warning: class 'Test' defined without specifying
a base class [-Wobjc-root-class]
GS_OBJC_ROOT_CLASS @interface Test
^
././config/config.objc.m:4:35: note: add a super class to fix this problem
GS_OBJC_ROOT_CLASS @interface Test
^
: NSObject
3 warnings generated.
configure:7884: $? = 0
configure:7884: ./conftest
./configure: line 1873: 13064 Segmentation fault ./conftest$ac_exeext
configure:7884: $? = 139
configure: program exited with status 139
configure: failed program was:
| /* confdefs.h */
> On 26 Jan 2019, at 17:35, David Chisnall <gnustep@theravensnest.org> wrote:
>
> On 26 Jan 2019, at 15:59, Andreas Fink <afink@list.fink.org> wrote:
>>
>> I can reproduce the same problem with
>>
>> export LD=/usr/bin/ld64.lld-8
>
> I very much doubt that this does anything. I don’t think that the -base
> build system uses $LD. Try adding -fuse-ld=lld-8 to LDFLAGS.
>
> David
>
- Re: libobjc2 still failing tests, (continued)
- Re: libobjc2 still failing tests, Andreas Fink, 2019/01/26
- Re: libobjc2 still failing tests, David Chisnall, 2019/01/26
- Re: libobjc2 still failing tests, Andreas Fink, 2019/01/26
- Re: libobjc2 still failing tests, David Chisnall, 2019/01/26
- Re: libobjc2 still failing tests, Andreas Fink, 2019/01/26
- Re: libobjc2 still failing tests, Andreas Fink, 2019/01/26
- Re: libobjc2 still failing tests, David Chisnall, 2019/01/26
- Re: libobjc2 still failing tests,
Andreas Fink <=
- Re: libobjc2 still failing tests, Andreas Fink, 2019/01/25