[egcs 1.0.1] i386-pc-solaris2.6 and -g
Joe Buck
jbuck@synopsys.com
Fri Jan 23 21:57:00 GMT 1998
[ after building egcs ]
> Programs compiled with -g cause the binutils 2.8.1 addr2line and objcopy
> (and hence strip) to dump core. The problem seems to be that a lookup
> of the filename symbol doesn't succeed, returning a null pointer for the
> filename. Addr2line, in particular, then tries to print the filename,
> causing it to seg fault in libc.
Even if this is an egcs bug, it is also a binutils bug. Binutils programs
should not drop core even if presented with corrupt object files.
>
More information about the Gcc
mailing list