Hi,
I have upgraded to NetBSD 8 on x86. This means I updated userland as
well as dependencies, thus I need to reconfigure and rebuild also GNUstep.
I configured to use clang and libobjc2 this way:
./configure --prefix=/ --with-layout=gnustep
--with-library-combo=ng-gnu-gnu CC=clang CXX=clang++
knowing that we have issues with "gnu" I used "ng". This should enable
the modern runtime, right?
However, when configuring base, I get an issue:
configure:7855: checking whether objc really works
configure:7875: 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/System/Library/Libraries
-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/System/Library/Libraries conftest.c
-lrt -lpthread -rdynamic -pthread -fexceptions
-fobjc-runtime=gnustep-1.8 -fblocks
-L/home/multix/GNUstep/Library/Libraries -L/Local/Library/Libraries
-L/System/Library/Libraries -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lpthread
-lobjc -lm -lpthread >&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() [-Wdeprecated-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.
/System/Library/Libraries/libobjc.so: undefined reference to
`_Unwind_GetDataRelBase'
/System/Library/Libraries/libobjc.so: undefined reference to `_Unwind_SetGR'
/System/Library/Libraries/libobjc.so: undefined reference to
`_Unwind_GetLanguageSpecificData'
/System/Library/Libraries/libobjc.so: undefined reference to
`_Unwind_DeleteException'
/System/Library/Libraries/libobjc.so: undefined reference to
`__gcc_personality_v0'
/System/Library/Libraries/libobjc.so: undefined reference to
`_Unwind_Resume_or_Rethrow'
/System/Library/Libraries/libobjc.so: undefined reference to
`_Unwind_RaiseException'
/System/Library/Libraries/libobjc.so: undefined reference to `_Unwind_SetIP'
/System/Library/Libraries/libobjc.so: undefined reference to
`_Unwind_GetRegionStart'
/System/Library/Libraries/libobjc.so: undefined reference to
`_Unwind_GetTextRelBase'
/System/Library/Libraries/libobjc.so: undefined reference to
`_Unwind_Resume'
/System/Library/Libraries/libobjc.so: undefined reference to `_Unwind_GetIP'
clang-5.0: error: linker command failed with exit code 1 (use -v to see
invocation)
configure:7875: $? = 1
I wonder why "gcc personality" ?
I am confused.
Riccardo
_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev