This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Odd problem with libobjc
- From: Germán Arias <german at xelalug dot org>
- To: GCC <gcc-help at gcc dot gnu dot org>
- Date: Sat, 23 Jul 2011 19:39:22 -0600
- Subject: Odd problem with libobjc
- Reply-to: GCC
With some programs in gnustep I get the error (with --debug):
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb523b6c0 (LWP 24619)]
0xb6e00fe6 in objc_msg_lookup (receiver=0x85b1988, op=0xb7211da0)
at /home/german/Instalados/GCC/gcc-4.6.0/libobjc/sendmsg.c:397
397 /home/german/Instalados/GCC/gcc-4.6.0/libobjc/sendmsg.c: No such
file or directory.
in /home/german/Instalados/GCC/gcc-4.6.0/libobjc/sendmsg.c
Current language: auto; currently c
the output of bracktrace is:
(gdb) backtrace
#0 0xb6e00fe6 in objc_msg_lookup (receiver=0x85b1988, op=0xb7211da0)
at /home/german/Instalados/GCC/gcc-4.6.0/libobjc/sendmsg.c:397
#1 0xb6eda77a in -[GSSet initWithCoder:] (self=0x86c3910,
_cmd=0xb726dc00,
aCoder=0x86c1418) at ../Headers/GNUstepBase/GSIMap.h:399
#2 0xb704ddf6 in -[NSUnarchiver decodeValueOfObjCType:at:]
(self=0x86c1418,
_cmd=0xb76e80f8, type=0xb7598414 "@", address=0x86c381c)
at NSUnarchiver.m:662
#3 0x086c3910 in ?? ()
#4 0xb726dc00 in _OBJC_SELECTOR_TABLE ()
from /usr/GNUstep/Local/Library/Libraries/libgnustep-base.so.1.23
ï
home/german/Instalados/GCC was the path where I extracted the GCC
tarball, when I install it (GCC 4.6.0). The GCC folder don't exist
anymore. So I suppose this is a bad configuration problem. I have
installed GCC at /usr/local/bin/gcc, but why it search files at my home
directory? Any advice to solve this? Thanks.