[parisc-linux] gcc-3.2 failed to compile kernel

joel.soete@freebel.net joel.soete@freebel.net
Thu, 27 Jun 2002 08:25:26 +0200 (CEST)


Quoting John David Anglin <dave@hiauly1.hia.nrc.ca>:

> > joel.soete@freebel.net wrote:
> > > In file included from pacache.S:44:
> > > /Develop/parisc-linux/src/linux-2.4.18-pa40/include/asm/cache.h:9:
> 1/config.h
> > >   :
> > > No such file or directory
> > 
> > The offending line is:
> >       8 #include <linux/config.h>
> > 
> > I'll assume "linux" being #define'd to 1.
> > gcc predefines perhaps?
> 
> Yes, the predefine is standard and is present in gcc 3.0.4, etc.  You
> can
> see macro defines using the "-dM -E" option.

Oops,  gcc -E ... works well and give the expect results (if I do a link
1->linux) but gcc -dM -E ... SegFault :((

# gcc -dM -E -D__ASSEMBLY__ -traditional -D__KERNEL__
-I/Develop/parisc-linux/src/linux/include  -c -o pacache.CPP pacache.S
In file included from /Develop/parisc-linux/src/linux/include/asm/assembly.h:31,
                 from pacache.S:44:
/Develop/parisc-linux/src/linux/include/asm/offset.h:3: unterminated #ifndef
cc1: internal compiler error: internal error: Segmentation fault

> 
> However, the macro should not be expanded inside <> or "".  Joel, can
> you
> file a PR <http://gcc.gnu.org/cgi-bin/gnatsweb.pl>?
> 

For the first problem ("linux" #define 1) here is the references:
----- Forwarded message from gcc-gnats@gcc.gnu.org -----
Date: 27 Jun 2002 06:16:00 -0000
From: gcc-gnats@gcc.gnu.org
Reply-To: gcc-gnats@gcc.gnu.org,nobody@gcc.gnu.org
Subject: Re: c/7138: gcc-3.2 failed to compile kernel
To: joel.soete@freebel.net

Thank you very much for your problem report.
It has the internal identification `c/7138'.
The individual assigned to look at your
report is: unassigned.

>Category:       c
>Responsible:    unassigned
>Synopsis:       gcc-3.2 failed to compile kernel
>Arrival-Date:   Wed Jun 26 23:16:00 PDT 2002


----- End forwarded message -----

Would I have to assign it to you?
Thanks for all,
    Joel


-------------------------------------------------
This mail sent through Tiscali Webmail (http://webmail.tiscali.be)