|
From: | Benoît Garrigues |
Subject: | Test on Ubuntu 12.04 64bits (was: Re: First release of corebase coming soon) |
Date: | Sat, 26 May 2012 17:42:23 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 |
Hi Stef, I tested revision 35163 on Ubuntu 12.04 64bits with - clang 3.0 (from ubuntu) - gnustep libobjc2 1.6. - gnustep base 1.24 First, there are some warnings at compile time : Compiling file CFLocale.c ... CFLocale.c:312:19: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare] if (context == (const void*)ICU_CALENDAR_KEY) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CFLocale.c:329:19: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare] if (context == (const void*)ICU_CALENDAR_KEY) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. Compiling file NSCFError.m ... NSCFError.m:48:10: warning: incompatible pointer types returning 'CFErrorRef' (aka 'NSError *') from a function with result type 'NSCFError *' [-Wincompatible-pointer-types] return CFErrorCreate (NULL, domain, code, userInfo); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Tests results : all tests have compilation warnings and most of them produce a core dump. $ make check This is gnustep-make 2.6.2. Type 'make print-gnustep-make-help' for help. Making check in Source ... make[1]: Rien à faire pour « check ». Making check in Tests ... Checking for presence of test subdirectories ... --- Running tests in CFArray --- CFArray/create.m: Failed file: create.m aborted without running all tests! CFArray/mutablearray.m: Failed file: mutablearray.m aborted without running all tests! --- Running tests in CFAttributedString --- CFAttributedString/general.m: Failed file: general.m aborted without running all tests! CFAttributedString/mutable.m: Failed file: mutable.m aborted without running all tests! --- Running tests in CFBinaryHeap --- CFBinaryHeap/general.m: Failed file: general.m aborted without running all tests! --- Running tests in CFCalendar --- CFCalendar/basic.m: Failed file: basic.m aborted without running all tests! CFCalendar/create.m: Failed file: create.m aborted without running all tests! --- Running tests in CFCharacterSet --- CFCharacterSet/basic.m: Failed file: basic.m aborted without running all tests! CFCharacterSet/mutable.m: Failed file: mutable.m aborted without running all tests! --- Running tests in CFData --- CFData/basic.m: Failed file: basic.m aborted without running all tests! --- Running tests in CFDate --- CFDate/basic.m: Failed file: basic.m aborted without running all tests! --- Running tests in CFDateFormatter --- CFDateFormatter/basic.m: Failed file: basic.m aborted without running all tests! --- Running tests in CFLocale --- CFLocale/create.m: Failed file: create.m aborted without running all tests! CFLocale/displayvalues.m: Failed build: CFLocale/identifier.m: Failed build: CFLocale/values.m: Failed file: values.m aborted without running all tests! --- Running tests in CFNumber --- CFNumber/general.m: Failed file: general.m aborted without running all tests! --- Running tests in CFNumberFormatter --- CFNumberFormatter/create.m: Failed file: create.m aborted without running all tests! CFNumberFormatter/format.m: Failed build: CFNumberFormatter/parse.m: Failed file: parse.m aborted without running all tests! --- Running tests in CFRuntime --- CFRuntime/runtime.m: Failed file: runtime.m aborted without running all tests! --- Running tests in CFString --- CFString/create.m: Failed build: CFString/encodings.m: Failed file: encodings.m aborted without running all tests! CFString/format.m: Failed build: CFString/general.m: Failed file: general.m aborted without running all tests! CFString/mutablestring.m: Failed build: --- Running tests in CFTimeZone --- CFTimeZone/basic.m: Failed file: basic.m aborted without running all tests! CFTimeZone/general.m: Failed file: general.m aborted without running all tests! --- Running tests in CFTree --- CFTree/basic.m: Failed file: basic.m aborted without running all tests! --- Running tests in CFURL --- CFURL/create.m: Failed file: create.m aborted without running all tests! CFURL/escaping.m: Failed build: CFURL/file_system_path.m: Failed file: file_system_path.m aborted without running all tests! CFURL/ref_resolution.m: Failed build: --- Running tests in CFURLAccess --- CFURLAccess/basic.m: Failed file: basic.m aborted without running all tests! --- Running tests in CFUUID --- CFUUID/create.m: Failed file: create.m aborted without running all tests! 27 Failed files 8 Failed builds When launching CFArray/create test with gdb, the backtrace is the following : Starting program: /home/benoit/Projets/OpenSource/objc/GNUstep-anonymous/dev-libs/corebase/Tests/CFArray/obj/create [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Loading two versions of Protocol. The class that will be used is undefined Loading two versions of Object. The class that will be used is undefined [New Thread 0x7ffff235f700 (LWP 26352)] Program received signal SIGSEGV, Segmentation fault. 0x00007ffff708d687 in objc_msg_lookup_sender () from /usr/local/lib/libobjc.so.4 (gdb) bt #0 0x00007ffff708d687 in objc_msg_lookup_sender () from /usr/local/lib/libobjc.so.4 #1 0x00007ffff7931142 in GSPrivateBuildStrings () at /home/benoit/src/gnustep-base-1.24.0/Source/externs.m:239 #2 0x00007ffff7869cc3 in +[NSObject initialize] (self=<optimized out>, _cmd=<optimized out>) at /home/benoit/src/gnustep-base-1.24.0/Source/NSObject.m:1142 #3 0x00007ffff70844c4 in objc_send_initialize () from /usr/local/lib/libobjc.so.4 #4 0x00007ffff70842b1 in objc_send_initialize () from /usr/local/lib/libobjc.so.4 #5 0x00007ffff708d792 in objc_msg_lookup_sender () from /usr/local/lib/libobjc.so.4 #6 0x00007ffff72d1807 in NSCFInitialize () at NSCFType.m:51 #7 0x00007ffff70823c6 in objc_send_load_message () from /usr/local/lib/libobjc.so.4 #8 0x00007ffff7082ee7 in objc_resolve_class () from /usr/local/lib/libobjc.so.4 #9 0x00007ffff7082fc3 in objc_resolve_class_links () from /usr/local/lib/libobjc.so.4 #10 0x00007ffff7086e97 in __objc_exec_class () from /usr/local/lib/libobjc.so.4 #11 0x00007ffff7de9306 in call_init (l=<optimized out>, argc=1, argv=0x7fffffffdc68, env=0x7fffffffdc78) at dl-init.c:85 #12 0x00007ffff7de93df in call_init (env=<optimized out>, argv=<optimized out>, argc=<optimized out>, l=<optimized out>) at dl-init.c:52 #13 _dl_init (main_map=0x7ffff7ffe2c8, argc=1, argv=0x7fffffffdc68, env=0x7fffffffdc78) at dl-init.c:134 #14 0x00007ffff7ddb6ea in _dl_start_user () from /lib64/ld-linux-x86-64.so.2 #15 0x0000000000000001 in ?? () #16 0x00007fffffffdf8d in ?? () #17 0x0000000000000000 in ?? () The test.log file is attached. Best regards, Benoît Le 21/05/2012 17:42, Stefan Bidi a écrit : For those of you not familiar with the project, the GNUstep-corebase project is a free software implementation of the CoreFoundation library. |
tests.log
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |