discuss-gnustep
[Top][All Lists]
Advanced

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

Re: gnuconfig and runtime 1.9/ARC issue


From: Patryk Laurent
Subject: Re: gnuconfig and runtime 1.9/ARC issue
Date: Sat, 4 May 2019 16:22:01 -0700

David,

Is there any way to query the version of the currently-used runtime?

Patryk


> On May 4, 2019, at 11:30, Johannes Brakensiek <johannes@brakensiek.info> 
> wrote:
> 
> 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
>> <gnustep@theravensnest.org> 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:
> 
> -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1
> -DGNUSTEP_RUNTIME=1 -D_NONFRAGILE_ABI=1 -DGNUSTEP_BASE_LIBRARY=1
> -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/home/joey/GNUstep/Library/Headers
> -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
> /usr/GNUstep/Local/Applications/ProjectCenter.app/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,
> Johannes
> 
> 
> 
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep




reply via email to

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