This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Problem with --enable-c-cpplib and precompiled sources


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]