On Thu, Dec 21, 2017 at 11:01 PM, Ivan Vučica <[email protected]> wrote:
> On Thu, Dec 21, 2017 at 7:53 PM, Richard Frith-Macdonald < > [email protected]> wrote: > >> Compiling file GSConcreteValue.m ... > >> In file included from In file included from In file included from > GSBlocks.m:23: > >> In file included from ../Headers/Foundation/NSObject.h:30: > >> In file included from ../Headers/Foundation/NSObjCRuntime.h:38: > >> ../Headers/GNUstepBase/GSVersionMacros.h:290:10: error: "You are > building gnustep-base using the objc-nonfragile-abi but your > >> gnustep-base was not configured to use it." > >> # error "You are building gnustep-base using the > objc-nonfragile-abi but your gnustep-base was not configured to use it." > > > > That would seem to suggest you have gnustep-make trying to use clang and > the new runtime but gnustep-base expecting to use gcc and the gnu runtime. > > Could it be that you forgot to set the library combo for the modern > compiler/runtime rather than the traditional one? > > The gnustep-base configure script should recognise the library combo > (from the environment or from gnustep-make) when figuring out how to > configure itself; > > traditional (gnu runtime in the library combo) implies traditional abi > > modern, next-generation (ng runtime in the library combo) implies the > nonfragile abi > > I am able to reproduce this on clang 3.8.0, using latest versions of > everything from Git. > For clarification, I cannot reproduce the GSVersionMacros.h #error, but the original crash and stacktrace. > I will now rebuild with the gnu-gnu-gnu combo. > Using gnu-gnu-gnu with GCC 5.4.0 from Ubuntu 16.04 seems to work fine. Unless I missed accidentally rebuilding it, I didn't even need to rebuild Zcode which surprised me. :-) Example command rebuilding -base: gcc NSURL+GNUstepBase.m -c \ -MMD -MP -Wall -Wdeclaration-after-statement -DNO_GNUSTEP=1 -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -g -DDEBUG -fno-omit-frame-pointer -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -I/GNUstep/Local/Library/Headers -I/GNUstep/Local/Library/Headers -I/GNUstep/Local/Library/Headers -fgnu-runtime -fgnu-runtime -fconstant-string-class=NSConstantString -I../. -I../ -I../../Headers -I. -I/home/ivucica/GNUstep/Library/Headers -I/GNUstep/Local/Library/Headers -I/GNUstep/System/Library/Headers -I/GNUstep/Local/Library/Headers -I/GNUstep/Local/Library/Headers -I/GNUstep/System/Library/Headers -I/GNUstep/Local/Library/Headers -I/usr/include/x86_64-linux-gnu -I/usr/include/libxml2 -I/usr/include/p11-kit-1 \ -o obj/Additions.obj/NSURL+GNUstepBase.m.o Example command rebuilding -gui: gcc NSEvent.m -c \ -MMD -MP -DGNUSTEP_TARGET_DIR=\".\" -DGNUSTEP_TARGET_CPU=\"x86_64\" -DGNUSTEP_TARGET_OS=\"linux-gnu\" -DLIBRARY_COMBO=\"gnu-gnu-gnu\" -DGNUSTEP_BASE_HAVE_LIBXML=1 -DBACKEND_BUNDLE=1 -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -g -DDEBUG -fno-omit-frame-pointer -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -I/GNUstep/Local/Library/Headers -I/GNUstep/Local/Library/Headers -fgnu-runtime -Wall -fconstant-string-class=NSConstantString -I../Headers/Additions -I../Headers -I./. -I. -I/home/ivucica/GNUstep/Library/Headers -I/GNUstep/Local/Library/Headers -I/GNUstep/System/Library/Headers -I/usr/include/libpng12 \ -o obj/libgnustep-gui.obj/NSEvent.m.o And -back: gcc XGGLFormat.m -c \ -MMD -MP -Wall -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -g -DDEBUG -fno-omit-frame-pointer -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -I/GNUstep/Local/Library/Headers -I/GNUstep/Local/Library/Headers -fgnu-runtime -fconstant-string-class=NSConstantString -I../../Headers -I../. -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I. -I/home/ivucica/GNUstep/Library/Headers -I/GNUstep/Local/Library/Headers -I/GNUstep/System/Library/Headers \ -o obj/x11.obj/XGGLFormat.m.o
_______________________________________________ Discuss-gnustep mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnustep
