[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNUstep base fails - libobjc2 on NetBSD x86
From: |
Frederik Seiffert |
Subject: |
Re: GNUstep base fails - libobjc2 on NetBSD x86 |
Date: |
Sun, 3 Jan 2021 15:26:00 +0100 |
Hi Riccardo,
Looks like the conftest executable is aborting. Can you try running it with a
debugger to see where it fails?
Frederik
> Am 02.01.2021 um 23:14 schrieb Riccardo Mottola <riccardo.mottola@libero.it>:
>
> 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
>
>