public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/7137: gcc-3.2 failed to compile kernel
@ 2002-06-27  9:44 Joel Sherrill
  0 siblings, 0 replies; 3+ messages in thread
From: Joel Sherrill @ 2002-06-27  9:44 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c/7137; it has been noted by GNATS.

From: Joel Sherrill <joel.sherrill@OARcorp.com>
To: gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org
Cc: joel@sources.redhat.com, soete@freebel.net
Subject: Re: c/7137: gcc-3.2 failed to compile kernel
Date: Thu, 27 Jun 2002 07:41:33 -0500

 This is not my bug report.  I assume someone did not
 put the right domain on joel. :)
 
 gcc-gnats@gcc.gnu.org wrote:
 > 
 > Thank you very much for your problem report.
 > It has the internal identification `c/7137'.
 > 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:15:59 PDT 2002
 
 -- 
 Joel Sherrill, Ph.D.             Director of Research & Development
 joel@OARcorp.com                 On-Line Applications Research
 Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: c/7137: gcc-3.2 failed to compile kernel
@ 2002-06-27  0:37 neil
  0 siblings, 0 replies; 3+ messages in thread
From: neil @ 2002-06-27  0:37 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, joel, nobody, soete

Synopsis: gcc-3.2 failed to compile kernel

State-Changed-From-To: open->closed
State-Changed-By: neil
State-Changed-When: Thu Jun 27 00:36:50 2002
State-Changed-Why:
    Duplicate of 7138.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7137


^ permalink raw reply	[flat|nested] 3+ messages in thread

* c/7137: gcc-3.2 failed to compile kernel
@ 2002-06-26 23:16 joel, soete
  0 siblings, 0 replies; 3+ messages in thread
From: joel, soete @ 2002-06-26 23:16 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7137
>Category:       c
>Synopsis:       gcc-3.2 failed to compile kernel
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 26 23:15:59 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     joel,soete@freebel.net
>Release:        gcc-3.2
>Organization:
>Environment:
parisc-linux
>Description:
with gcc-3.2 (CVS update 2002-06-26),
binutils (CVS update 2002-06-26) &&
glibc (sources from debian release glibc-2.2.5-4 + Dave patch),
I build successfully the tool chain to compile the kernel linux-2.4.18-pa40 (CVS update).

After setting the env to access those binaries, I launch:
make mrproper ; make distclean # to be sure?
make oldconfig (answer PA7000 for processor type)
make menuconfig (exit without changes)
make dep ; make vmlinux

this last make failled with following messages:
make[1]: Entering directory `/Develop/parisc-linux/src/linux-2.4.18-pa40/arch/parisc/kernel'
gcc -D__KERNEL__ -I/Develop/parisc-linux/src/linux-2.4.18-pa40/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -D__linux__ -pipe -fno-strength-reduce -mno-space-regs -mfast-indirect-calls -mdisable-fpregs -ffunction-sections -march=1.1 -mschedule=7100   -DKBUILD_BASENAME=cache  -c -o cache.o cache.c
gcc -D__ASSEMBLY__ -traditional -D__KERNEL__ -I/Develop/parisc-linux/src/linux-2.4.18-pa40/include  -c -o pacache.o pacache.S
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
make[1]: *** [pacache.o] Error 1
make[1]: Leaving directory `/Develop/parisc-linux/src/linux-2.4.18-pa40/arch/parisc/kernel'
make: *** [_dir_arch/parisc/kernel] Error 2

Here is also experts comments:

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.
> 
> However, the macro should not be expanded inside <> or "".  Joel, can
> you
> file a PR <http://gcc.gnu.org/cgi-bin/gnatsweb.pl>?
> 
> Dave
> -- 
> J. David Anglin                                  dave.anglin@nrc.ca
> National Research Council of Canada              (613) 990-0752 (FAX:
> 952-6605)
> 
> _______________________________________________
> parisc-linux mailing list
> parisc-linux@lists.parisc-linux.org
> http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
> 
> 

>How-To-Repeat:
self explained in problem description
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-06-27 12:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-27  9:44 c/7137: gcc-3.2 failed to compile kernel Joel Sherrill
  -- strict thread matches above, loose matches on Subject: below --
2002-06-27  0:37 neil
2002-06-26 23:16 joel, soete

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).