discuss-gnustep
[Top][All Lists]
Advanced

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

Re: libobjc2 still failing tests


From: Jordan Schidlowsky
Subject: Re: libobjc2 still failing tests
Date: Fri, 25 Jan 2019 13:46:02 -0600

Is there an easy or recommended way to run the libobjc2 tests when cross 
compiling with cmake?  

Jordan

> On Jan 25, 2019, at 11:07 AM, David Chisnall <gnustep@theravensnest.org> 
> wrote:
> 
> On 25/01/2019 16:46, Andreas Fink wrote:
>>  17/162 Test  #17: AssociatedObject ..................................   
>> Passed    0.00 sec
>>         Start  18: AssociatedObject_optimised
>>  18/162 Test  #18: AssociatedObject_optimised 
>> ........................***Exception: Other  0.00 sec
>>         Start  19: AssociatedObject_legacy
>>  19/162 Test  #19: AssociatedObject_legacy ...........................   
>> Passed    0.00 sec
>>         Start  20: AssociatedObject_legacy_optimised
>>  20/162 Test  #20: AssociatedObject_legacy_optimised 
>> .................***Exception: Other  0.00 sec
>> this still fails with clang-8
> 
> This one seems to be a clang bug.  Inserting a printf in the -dealloc method, 
> it *is* being called and is storing the true value in the global, but clang 
> is optimising this away.  This bug doesn't appear in the FreeBSD packaged 
> version of LLVM 8, so it's probably recent breakage.  I'll try to put 
> together a reduced test case.
> 
> Removing static from the declaration of deallocCalled fixes the test.
> 
> David
> 
> _______________________________________________
> 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]