gnustep-dev
[Top][All Lists]
Advanced

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

GNUstep base fails - libobjc2 on NetBSD x86


From: Riccardo Mottola
Subject: GNUstep base fails - libobjc2 on NetBSD x86
Date: Sat, 02 Jan 2021 22:16:03 +0000
User-agent: GNUMail (Version 1.3.0)

Hi,

I am still struggling to get GNUstep running on NetBSD/i386... strange thing. I am trying to get it runing with libobjc2. I just updated that one too.
WIth David some fixes where done in libobjc2 some weeks ago.

make:
$ ./configure --with-library-combo=ng-gnu-gnu prefix=/ --with-layout=gnustep


I configured libobcj2 with:
 CMAKE_C_FLAGS                    -march=i686 -mtune=i686


the arch is to avoid atomics issues on NetBSD.

I tried both the bfd and the cold linker.... no help

Currently I fail with:
configure:7872: checking whether objc really works
configure:7892: clang -o conftest -g -O2 -I/Local/Library/Headers -I/Local/Library/Headers -I/System/Library/Headers - I/usr/pkg/include -I/System/Library/Headers -x objective-c -L/Local/Library/Libraries -L/Local/Library/Libraries -L/S ystem/Library/Libraries -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/System/Library/Libraries conftest.c -lrt -lpthread -pthre ad -fexceptions -rdynamic -fobjc-runtime=gnustep-2.0 -fblocks -L/home/multix/GNUstep/Library/Libraries -L/Local/Library /Libraries -L/System/Library/Libraries -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lobjc -lm >&5
In file included from conftest.c:104:
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() [-W
deprecated-objc-isa-usage]
  obj->isa = self;
  ^  ~~~~~~~
  object_setClass( , )
././config/objc-common.g:47:5: note: instance variable is declared here
 id isa;
    ^
1 warning generated.
configure:7892: $? = 0
configure:7892: ./conftest
[1]   Abort trap              ./conftest${ac_exeext}
configure:7892: $? = 134


any ideas?

Riccardo




reply via email to

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