ports/60883: gcc preprocessor Segmentation Fault when input file is longer than 12288 bytes
Nicolas Hatier
nicolas.hatier at niversoft.com
Sun Jan 4 05:20:22 UTC 2004
>Number: 60883
>Category: ports
>Synopsis: gcc preprocessor Segmentation Fault when input file is longer than 12288 bytes
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Jan 03 21:20:13 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Nicolas Hatier
>Release: FreeBSD 5.-RELEASE i386
>Organization:
Niversoft
>Environment:
FreeBSD something.niversoft.com 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 root at wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Using gcc 3.3.3 20031103 (prerelease)
repro on 3.3 and 3.2.2, not tested below
When compiling a file longer than 12288 bytes, the preprocessor stops in a segmentation fault.
Not reproduceable on other ports of gcc.
>How-To-Repeat:
Create a file, test.cpp, that contains exactly 12288 characters. That can be anything parseable, I opt for a long commented block
> cpp test.cpp
-- this works
Add one character to the file
> cpp test.cpp
[..] internal compiler error, Segmentation fault
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list