This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Problem with --enable-c-cpplib and precompiled sources
- To: egcs-bugs at cygnus dot com
- Subject: Problem with --enable-c-cpplib and precompiled sources
- From: "Andris Pavenis" <pavenis at lanet dot lv>
- Date: Tue, 8 Dec 1998 14:13:15 +0200
Hi!
I tried to build egcs-1.1.1 release for DJGPP with configure option
--enable-c-cpplib. All things I have tested works except compiling already
precompiled source (see stack trace in attachment). This happens even with
empty file so contents doesn't mater.
>From 'gcc -c -v xxx.ii' I'm getting SIGSEGV:
cpp_buffer *
cpp_push_buffer (pfile, buffer, length)
cpp_reader *pfile;
U_CHAR *buffer;
long length;
{
register cpp_buffer *buf = CPP_BUFFER (pfile);
############ I'm getting buf==NULL here so SIGSEGV is
############ natural
if (buf == pfile->buffer_stack)
{
cpp_fatal (pfile, "%s: macro or `#include' recursion too deep",
buf->fname);
return NULL;
}
buf--;
bzero ((char *) buf, sizeof (cpp_buffer));
Andris
The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any another MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.
---- File information -----------
File: xxx.l1
Date: 8 Dec 1998, 13:46
Size: 1379 bytes.
Type: Text
xxx.l1