bug-gnustep
[Top][All Lists]
Advanced

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

[bug #25033] compilation of gnustep-gui-0.14.0 fails on openbsd 4.4 spar


From: Sebastian Reitenbach
Subject: [bug #25033] compilation of gnustep-gui-0.14.0 fails on openbsd 4.4 sparc
Date: Sat, 21 Feb 2009 16:57:37 +0000
User-agent: Mozilla/5.0 (X11; U; OpenBSD i386; en-US; rv:1.8.1.16) Gecko/20080812 Firefox/2.0.0.16

Follow-up Comment #12, bug #25033 (project gnustep):

I rm -rf /usr/GNUstep, then checked out -make and -base from trunk, 
and reinstalled.
It still segfaults here, no matter I link against libffi or ffcall.
The backtrace now is different, below, linked against ffcall.

I installed this way:
cd gnustep-make
./configure --disable-libffi --enable-ffcall
gmake install
cd ../gnustep-base
gmake && gmake install


gdb defaults
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-unknown-openbsd4.4"...
(gdb) r
Starting program: /usr/GNUstep/Local/Tools/defaults
error: NXConstantString (instance)
NXConstantString does not recognize copyWithZone:

Program received signal SIGABRT, Aborted.
abort () at /usr/src/lib/libc/stdlib/abort.c:74
74      /usr/src/lib/libc/stdlib/abort.c: No such file or directory.
        in /usr/src/lib/libc/stdlib/abort.c
(gdb) bt
#0  abort () at /usr/src/lib/libc/stdlib/abort.c:74
#1  0x0d7989c4 in objc_verror (object=0x1204d1a4, code=-134350360,
    fmt=0xf7fdfa98 "r211 220v205zÀ", ap=0xf7fdfa98 "r211 220v205zÀ")
    at /usr/src/gnu/lib/libobjc/libobjc/misc.c:68
#2  0x0d78dc2c in -[Object error:] (self=0x1204d1a4, _cmd=0xd99a7b8,
    aString=0xd898d10 "%s does not recognize %s") at
/usr/src/gnu/lib/libobjc/libobjc/Object.m:335
#3  0x0d78dae0 in -[Object doesNotRecognize:] (self=0x1204d1a4,
_cmd=0xd99a790, aSel=0x120264d8)
    at /usr/src/gnu/lib/libobjc/libobjc/Object.m:321
#4  0x0d78d824 in -[Object forward::] (self=0x1204d1a4, _cmd=0x87f95f0,
aSel=0x120264d8,
    argFrame=0xf7fdfbf8) at /usr/src/gnu/lib/libobjc/libobjc/Object.m:275
#5  0x0d792fd8 in __objc_forward (object=0x1204d1a4, sel=0x120264d8,
args=0xf7fdfbf8)
    at /usr/src/gnu/lib/libobjc/libobjc/sendmsg.c:588
#6  0x0d792ce0 in __objc_word_forward (rcv=0x1204d1a4, op=0x120264d8)
    at /usr/src/gnu/lib/libobjc/libobjc/sendmsg.c:528
#7  0x11b27788 in -[NSNotificationCenter addObserver:selector:name:object:]
(self=0xc104128,
    _cmd=0x12053150, observer=0xf1293e8, selector=0x12053148,
name=0x1204d1a4, object=0x0)
    at NSNotificationCenter.m:780
#8  0x11c86464 in -[GSLazyRecursiveLock init] (self=0xf1293e8,
_cmd=0x12029bfc) at GSLock.m:252
#9  0x11b401d8 in +[NSObject new] (self=0x12052ef0, _cmd=0x120514fc) at
NSObject.m:1301
#10 0x11c7645c in +[_GSLockInitializer initialize] (self=0x12050dec,
_cmd=0x1204cb58)
    at GSCategories.m:1463
#11 0x0d792958 in __objc_send_initialize (class=0x12050dec)
    at /usr/src/gnu/lib/libobjc/libobjc/sendmsg.c:324
#12 0x0d7927b4 in __objc_init_install_dtable (receiver=0x12050dec,
op=0x1205150c)
    at /usr/src/gnu/lib/libobjc/libobjc/sendmsg.c:266
#13 0x0d7935d8 in objc_msg_lookup (receiver=0x12050dec, op=0x1205150c)
    at /usr/src/gnu/lib/libobjc/libobjc/sendmsg.c:184
#14 0x11c76d98 in newLockAt (self=0x12052fd8, _cmd=0x120659b8,
location=0x120655f4)
    at GSCategories.m:1483
#15 0x11c7648c in +[NSLock(GSCategories) newLockAt:] (self=0x12052fd8,
_cmd=0x120659b8,
    location=0x120655f4) at GSCategories.m:1503
#16 0x11cc8160 in GSSetupEncodingTable () at Unicode.m:280
#17 0x11ccdd00 in GSPrivateDefaultCStringEncoding () at Unicode.m:2079
#18 0x11bcd340 in +[NSString initialize] (self=0x1203b804, _cmd=0x1204cb58)
at NSString.m:582
#19 0x0d792958 in __objc_send_initialize (class=0x1203b804)
    at /usr/src/gnu/lib/libobjc/libobjc/sendmsg.c:324
#20 0x0d7927b4 in __objc_init_install_dtable (receiver=0x1203b804,
op=0x12029bcc)
    at /usr/src/gnu/lib/libobjc/libobjc/sendmsg.c:266
#21 0x0d7935d8 in objc_msg_lookup (receiver=0x1203b804, op=0x12029bcc)
    at /usr/src/gnu/lib/libobjc/libobjc/sendmsg.c:184
#22 0x11b3ff60 in +[NSObject initialize] (self=0x12029ae8, _cmd=0x1204cb58)
at NSObject.m:1166
#23 0x0d792958 in __objc_send_initialize (class=0x12029ae8)
    at /usr/src/gnu/lib/libobjc/libobjc/sendmsg.c:324
#24 0x0d7928a4 in __objc_send_initialize (class=0x1201c68c)
    at /usr/src/gnu/lib/libobjc/libobjc/sendmsg.c:297
#25 0x0d7927b4 in __objc_init_install_dtable (receiver=0x1201c68c,
op=0x12050960)
    at /usr/src/gnu/lib/libobjc/libobjc/sendmsg.c:266
#26 0x0d7935d8 in objc_msg_lookup (receiver=0x1201c68c, op=0x12050960)
    at /usr/src/gnu/lib/libobjc/libobjc/sendmsg.c:184
#27 0x11c6fe4c in GSIMapSetup () at
../Headers/Additions/GNUstepBase/GSIMap.h:956
#28 0x11c6f62c in GSIMapInitWithZoneAndCapacity (map=0x12471ac4,
zone=0x1204c61c, capacity=9)
    at ../Headers/Additions/GNUstepBase/GSIMap.h:964
#29 0x11c6ae70 in +[GSFFCallInvocation load] (self=0x12050928,
_cmd=0x87f8e00)
---Type <return> to continue, or q <return> to quit---
    at GSFFCallInvocation.m:522
#30 0x0d794428 in __objc_send_message_in_list (method_list=0x120508a4,
class=0x12050928, op=0xb856e30)
    at /usr/src/gnu/lib/libobjc/libobjc/init.c:335
#31 0x0d794490 in __objc_send_load (tree=0x12050928, level=2)
    at /usr/src/gnu/lib/libobjc/libobjc/init.c:353
#32 0x0d7942fc in objc_preorder_traverse (tree=0x9567da0, level=2,
    function=0xd794448 <__objc_send_load>) at
/usr/src/gnu/lib/libobjc/libobjc/init.c:271
#33 0x0d794310 in objc_preorder_traverse (tree=0x9567ee0, level=1,
    function=0xd794448 <__objc_send_load>) at
/usr/src/gnu/lib/libobjc/libobjc/init.c:273
#34 0x0d794310 in objc_preorder_traverse (tree=0x9567d30, level=0,
    function=0xd794448 <__objc_send_load>) at
/usr/src/gnu/lib/libobjc/libobjc/init.c:273
#35 0x0d794bcc in objc_send_load () at
/usr/src/gnu/lib/libobjc/libobjc/init.c:712
#36 0x0d794a80 in __objc_exec_class (module=0x12066d54) at
/usr/src/gnu/lib/libobjc/libobjc/init.c:658
#37 0x11cd5b2c in _GLOBAL_.I.NSStream.mZRdYAb () at NSStream.m:614
#38 0x1199fcf0 in ?? () from
/usr/GNUstep/Local/Library/Libraries/libgnustep-base.so.1.19
#39 0x1199fcf0 in ?? () from
/usr/GNUstep/Local/Library/Libraries/libgnustep-base.so.1.19
Previous frame identical to this frame (corrupt stack?)
(gdb)

/usr/GNUstep/Local/Tools/defaults:
        Start    End      Type Open Ref GrpRef Name
        00010000 00619000 exe  1    0   0     
/usr/GNUstep/Local/Tools/defaults
        0ba98000 0c68a000 rlib 0    1   0     
/usr/GNUstep/Local/Library/Libraries/libgnustep-base.so.1.19
        102c4000 108e0000 rlib 0    2   0      /usr/lib/libpthread.so.11.0
        128e4000 12ef9000 rlib 0    2   0      /usr/lib/libobjc.so.4.0
        0cf0c000 0d547000 rlib 0    2   0      /usr/local/lib/libgmp.so.7.1
        0eab8000 0f164000 rlib 0    2   0     
/usr/local/lib/libgnutls.so.14.0
        0c7fc000 0ce0c000 rlib 0    3   0     
/usr/local/lib/libtasn1.so.1.0
        09180000 097d2000 rlib 0    3   0     
/usr/local/lib/libgcrypt.so.13.0
        0df34000 0e537000 rlib 0    4   0     
/usr/local/lib/libgpg-error.so.2.0
        0d928000 0df32000 rlib 0    5   0      /usr/local/lib/libintl.so.4.0
        108e0000 10fdc000 rlib 0    7   0     
/usr/local/lib/libiconv.so.5.0
        0fc84000 102bf000 rlib 0    2   0      /usr/local/lib/libxslt.so.3.7
        0ae30000 0b57b000 rlib 0    3   0     
/usr/local/lib/libxml2.so.10.0
        0f670000 0fc82000 rlib 0    5   0      /usr/lib/libz.so.4.1
        10fdc000 11614000 rlib 0    4   0      /usr/lib/libm.so.3.0
        11614000 11c16000 rlib 0    2   0     
/usr/local/lib/libcallback.so.1.0
        11c18000 12219000 rlib 0    2   0     
/usr/local/lib/libavcall.so.1.0
        097d4000 09df8000 rlib 0    2   0      /usr/lib/libiberty.so.9.0
        1221c000 128e2000 rlib 0    1   0      /usr/lib/libc.so.48.0
        0a820000 0a820000 rtld 0    1   0      /usr/libexec/ld.so


however, when linking any part of base, regardless of whether linked against
libffi or ffcall, I noticed the following linker warnings:

 Compiling file SourceEntry.m ...
 Compiling file StringsEntry.m ...
 Compiling file StringsFile.m ...
 Linking tool make_strings ...
/usr/local/lib/libgmp.so.7.1: warning: vsprintf() is often misused, please
use vsnprintf()
../../Source/./obj/libgnustep-base.so.1.19: warning: strcpy() is almost
always misused, please use strlcpy()
../../Source/./obj/libgnustep-base.so.1.19: warning: sprintf() is often
misused, please use snprintf()
../../Source/./obj/libgnustep-base.so.1.19: warning: strcat() is almost
always misused, please use strlcat()
/usr/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_NSDate' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_NSMutableString' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_NSString' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_NSFileManager' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_NSMutableArray' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_NSObject' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_NSMutableDictionary' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_NXConstantString' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_NSAutoreleasePool' are not defined
Making all in NSTimeZones...
gmake[1]: Nothing to be done for `all'.
Making all in Resources...
gmake[1]: Nothing to be done for `all'.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?25033>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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