preprocessor/6084: cpp Segmentation Fault

Phil Edwards phil@jaj.com
Sat Apr 13 04:36:00 GMT 2002


On Fri, Apr 12, 2002 at 03:57:12PM -0700, Gerwin, Joshua A wrote:
> My hunch is that this is either a 3.0 problem, perhaps fixed in your version
> of 3.1, or that the libc.so we're linking during compile is significantly
> different.

During compile of...?  The compiler itself?  If your libc.so were that
broken, I'd expect much bigger breakage much earlier.


> Program received signal SIGSEGV, Segmentation fault.
> 0xffffffff7f44035c in strlen () from /usr/lib/64/libc.so.1
> (gdb) bt
> #0  0xffffffff7f44035c in strlen () from /usr/lib/64/libc.so.1
> #1  0xffffffff7f48d6d4 in _doprnt () from /usr/lib/64/libc.so.1
> #2  0xffffffff7f48f180 in fprintf () from /usr/lib/64/libc.so.1

Something is very weird here.  I don't recall a "/usr/lib/64" directory under
SPARC/Solaris 7.  The 64-bit version should be /usr/lib/sparcv9/libc.so.1.


Phil

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams



More information about the Gcc-bugs mailing list