objc hello.m seg faults

jdassen@wi.leidenuniv.nl jdassen@wi.leidenuniv.nl
Thu Apr 16 11:15:00 GMT 1998


[Please preserve the 21192@bugs.debian.org on on-topic replies, so that they
get archived in the Debian bugtracking system
( http://www.debian.org/Bugs/ ).]
[Please Cc me too; I'm not on this list]

Hi,

I've recently been making non-maintainer releases of egcs for Debian
GNU/Linux ( http://www.debian.org/ ) as our current maintainer appears to be
unavailable and we're working towards a new release.

I've received a report (attached) that a simple "hello world" Objective C
program coredumps (in thread-related initialisation code) when compiled with
the egcs-1.0.2 packages I produced; it works fine when compiled with gcc
2.7.2.3.

I have no experience with Objective C, but after a little experimenting on
my part (see attachment) I believe the problem to be in egcs's ObjC runtime
library, rather than the compiler itself.

Relevant details:
- x86-linux-glibc system
- egcs 1.0.2 (gcc version egcs-2.90.27 980315 (egcs-1.0.2 release), built 
  fully bootstrapped; 
  ./configure --prefix=/usr --enable-threads --enable-shared i486-linux
  (which selected POSIX threads).
- GNU libc2 libc6-2.0.7pre1-4
- binutils-2.8.1.0.23-1
Please let me know if I left relevant details out.

Greetings,
Ray
-- 
POPULATION EXPLOSION  Unique in human experience, an event which happened 
yesterday but which everyone swears won't happen until tomorrow.  
- The Hipcrime Vocab by Chad C. Mulligan 


More information about the Gcc-bugs mailing list