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 <gnus...@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 _______________________________________________ Discuss-gnustep mailing list Discuss-gnustep@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnustep