From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30542 invoked by alias); 13 Apr 2002 08:26:03 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 30528 invoked by uid 71); 13 Apr 2002 08:26:03 -0000 Date: Sat, 13 Apr 2002 01:26:00 -0000 Message-ID: <20020413082603.30527.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Phil Edwards Subject: Re: preprocessor/6084: cpp Segmentation Fault Reply-To: Phil Edwards X-SW-Source: 2002-04/txt/msg00718.txt.bz2 List-Id: The following reply was made to PR preprocessor/6084; it has been noted by GNATS. From: Phil Edwards To: "Gerwin, Joshua A" Cc: joshg@hf.intel.com, gcc-gnats@gcc.gnu.org, rnesius@ichips.intel.com, "Nguyen, Tuan" , gcc-bugs@gcc.gnu.org, neil@daikokuya.demon.co.uk Subject: Re: preprocessor/6084: cpp Segmentation Fault Date: Sat, 13 Apr 2002 04:20:53 -0400 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