GNUstep base fails - libobjc2 on NetBSD x86

Riccardo Mottola <[email protected]>
Newsgroups gmane.comp.lib.gnustep.devel
Organization GNUstep
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.