This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c/6084: cpp Segmentation Fault
- From: joshg at hf dot intel dot com
- To: gcc-gnats at gcc dot gnu dot org
- Cc: rnesius at ichips dot intel dot com, tuan dot nguyen at intel dot com
- Date: 28 Mar 2002 18:50:57 -0000
- Subject: c/6084: cpp Segmentation Fault
- Reply-to: joshg at hf dot intel dot com
>Number: 6084
>Category: c
>Synopsis: cpp Segmentation Fault
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 28 10:56:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Josh Gerwin
>Release: gcc version 3.0.3
>Organization:
>Environment:
SunOS 5.7 Generic_106541-19 sun4u sparc SUNW,Ultra-2
uses NFS and AFS
>Description:
During a cpp run on a perl 5.6.1 source component, got a segmentation fault. First time I've seen cpp *segfault*. Quite a surprise, really.
>How-To-Repeat:
/(path/to)/gcc/3.0.3-64/bin/cpp -DPERL_CORE -fno-strict-aliasing -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mcpu=v9 -m64 -Wa,-xarch=v9 -O3 -m64 -dM -dD -dI -v op.c
Reading specs from /(path/to)/gcc/3.0.3-64/lib/gcc-lib/sparcv9-sun-solaris2/3.0.3/specs
Configured with: ../gcc-3.0.3/configure --host=sparcv9-sun-solaris2 --prefix=/(path/to)/gcc/3.0.3-64 --with-as=/usr/ccs/bin/as --with-nm=/(path/to)/gcc/3.0.3-64/bin/nm --with-ld=/usr/ccs/bin/ld
Thread model: posix
gcc version 3.0.3
/(path/to)/gcc/3.0.3-64/lib/gcc-lib/sparcv9-sun-solaris2/3.0.3/cpp0 -lang-c -v -Dsparc -Dsun -Dunix -D__svr4__ -D__SVR4 -D__sparc__ -D__sun__ -D__unix__ -D__svr4__ -D__SVR4 -D__sparc -D__sun -D__unix -Asystem=unix -Asystem=svr4 -D__OPTIMIZE__ -D__STDC_HOSTED__=1 -dM -dD -dI -D__SIZE_TYPE__=long unsigned int -D__PTRDIFF_TYPE__=long int -D__WCHAR_TYPE__=int -D__WINT_TYPE__=int -D__arch64__ -Acpu=sparc64 -Amachine=sparcv9 -D__sparcv9 -DPERL_CORE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 op.c
GNU CPP version 3.0.3 (cpplib) (sparc)
ignoring nonexistent directory "/(path/to)/gcc/3.0.3-64/sparcv9-sun-solaris2/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/(path/to)/gcc/3.0.3-64/lib/gcc-lib/sparcv9-sun-solaris2/3.0.3/include
/usr/include
End of search list.
cpp: Internal error: Segmentation Fault (program cpp0)
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>Fix:
Yes, please Fix.
>Release-Note:
>Audit-Trail:
>Unformatted: