On Thu, Jul 03, 2008 at 01:15:20PM -0700, David Miller wrote: > From: Adrian Bunk <bunk@xxxxxxxxxx> > Date: Thu, 3 Jul 2008 23:02:07 +0300 > > > On Thu, Jul 03, 2008 at 01:12:53AM -0700, David Miller wrote: > > > From: David Miller <davem@xxxxxxxxxxxxx> > > > Date: Thu, 03 Jul 2008 00:50:52 -0700 (PDT) > > > > > > In file included from include/asm-sparc/page.h:6, > > > from include/asm/page.h:1, > > > from arch/sparc64/kernel/vmlinux.lds.S:3: > > > include/asm-sparc/page_32.h:24:25: error: asm/btfixup.h: No such file or directory > > > > > > When we run vmlinux.lds.S through CPP, it undefines things like > > > "sparc" with the '-Usparc -Usparc64' options that get passed in. > > > So the ifdef tests in asm-sparc/page.h do not work. > > >... > > > > It also builds for me (gcc 4.3.1) since -Usparc is not -U__sparc__ > > (if I add the latter I get your build error). > > > > Did gcc's behavior change in this area? > > Strange, I'll look more closely at this. I have tried different scenarios here to reproduce it - so far without luck. As in "build for me with my toolchain". What I have concentrated on has been to build a kernel, apply patches, build kernel again. But everything just works. And to be sure I did a fresh pull from sam/sparc.git so I should have the same stuff as you are testing. Sam -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html