[Top][All Lists]

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

Re: gnuconfig and runtime 1.9/ARC issue

From: Johannes Brakensiek
Subject: Re: gnuconfig and runtime 1.9/ARC issue
Date: Sat, 4 May 2019 20:30:33 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

Hello David and Patryk,

thank you very much! I did as you suggested. I am able to enable ARC now.

Am 04.05.19 um 19:44 schrieb Patryk Laurent:
> On May 4, 2019, at 10:05 AM, David Chisnall
> <address@hidden> wrote:
>> When you configure GNUstep, Make, make sure that you use the 'ng' library 
>> combo.  This will use the GNUstep runtime.  I'd also recommend using clang 8 
>> with the 2.0 runtime, rather than the 1.9 release, unless you have a 
>> compelling reason to use an old compiler.

I switched to 1.9 runtime, because clang 6.0 was the last compiler
available via debian backports.

Just to let you know: After changing the configuration of make the
output of gnustep-config --objc-flags now looks like this:

-fno-strict-aliasing -fexceptions -fobjc-exceptions
-D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -DDEBUG -fno-omit-frame-pointer
-Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -fblocks
-fobjc-runtime=gnustep-1.9 -fobjc-runtime=gnustep-1.8 -fblocks
-fconstant-string-class=NSConstantString -I.
-I/usr/GNUstep/Local/Library/Headers -I/usr/GNUstep/System/Library/Headers

So somehow the runtime version is still written twice - once using the
wrong version (1.8). I don't know if it is related, but apps now won't
start anymore:

openapp ProjectCenter
Uncaught exception NSInvalidArgumentException, reason:
GSMutableArray(instance) does not recognize isDescendantOf:

openapp Gorm
2019-05-04 20:21:30.471 Gorm[347:347] Bad palette selection - -1
2019-05-04 20:21:30.523 Gorm[347:347] Bad palette selection - -1
2019-05-04 20:21:30.610 Gorm[347:347] Bad palette selection - -1
Speicherzugriffsfehler (Memory access error)

Is there a way to fix this or should I just switch to clang 8.0 and
runtime 2.0? I detected I probably could do this quite easy using the
packages from https://apt.llvm.org/ ;-)

Thank you,

reply via email to

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