gnustep-dev
[Top][All Lists]
Advanced

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

Re: mingw compilation of base broken


From: Riccardo Mottola
Subject: Re: mingw compilation of base broken
Date: Mon, 22 Aug 2011 15:55:25 +0200
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110706 Firefox/5.0 SeaMonkey/2.2

Hi,

good, I have 3.4.5 on mingw.

With your fix, everything compiles. However running base checks has a lot of failed tests:

base/NSCalendarDate/test00.m:
Failed test: test00.m:107 ... +dateWithString:calendarFormat:locale: handles
 Africa/Addis_Ababa
Failed test:     test00.m:246 ... date check with 2002-03-31 01:30:00
Failed test:     test00.m:261 ... date check with 2002-03-31 01:30:00
Failed test:     test00.m:265 ... date check with 2002-03-31 00:30:00
Failed test:     test00.m:410 ... date year calculation preserves timezone

---base/NSMutableString/NSMutableString_string.m:
Failed test: ../NSString/NSString_tests.h:309 ... character set encoding/dec
oding works
--- Running tests in base/NSNumber ---

base/NSNumber/test00.m:
Failed test:     test00.m:102 ... NSDecimalNumber numberWithInt: works
Failed test:     test00.m:107 ... NSDecimalNumber doubleValue works
Failed test:     test00.m:111 ... NSDecimalNumber charValue works
Failed test:     test00.m:113 ... NSDecimalNumber intValue works
Failed test:     test00.m:115 ... NSDecimalNumber integerValue works
Failed test:     test00.m:117 ... NSDecimalNumber longValue works
Failed test:     test00.m:119 ... NSDecimalNumber longLongValue works
Failed test:     test00.m:121 ... NSDecimalNumber shortValue works
Failed test:     test00.m:123 ... NSDecimalNumber unsignedCharValue works
Failed test:     test00.m:125 ... NSDecimalNumber unsignedIntValue works
Failed test:     test00.m:127 ... NSDecimalNumber unsignedIntegerValue works
Failed test:     test00.m:129 ... NSDecimalNumber unsignedLongValue works
Failed test:     test00.m:133 ... NSDecimalNumber unsignedShortValue works


and then the last one:

base/NSObject/initialize.m:
Failed build:
--- Running tests in base/NSOperation ---

Here test runs just hang, with 0% cpu usage

I interrupted tests. I will compile gui and back and see how "usage" fares.

Fred Kiefer wrote:
This problem is due to old versions of gcc (< 4.0) not supporting the build in __builtin_offsetof. I just committed a workaround that defines this as a macro. This code is based on a suggestion by David Chisnall and I could not test it myself as I don't have a gcc that old. Please give it a try and don't forget to test with gcc 2.95 as well.





reply via email to

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