public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.4.5 -ac series broken on Sparc64
@ 2001-05-30  0:30 Leif Sawyer
  2001-05-30  2:07 ` Keith Owens
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Leif Sawyer @ 2001-05-30  0:30 UTC (permalink / raw)
  To: linux kernel mailinglist

i've successfully built the 2.4.5 vanilla kernel.

I went to check the -ac series, and each [1-4] breaks
in the same way on Sparc64 platform:

include/linux/irq.h:61: asm/hw_irq.h: No such file or directory
*** [sched.o] Error 1

a find . -name 'hw_irq.h' shows appropriate versions
in i386, ia64, mips, mips64, alpha, ppc, parisc, um, and sh

Is this is a ports-maintainer issue, or what?  Surely
breaking the sparc platform is not in the future plans...

Thanks.


^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: 2.4.5 -ac series broken on Sparc64
@ 2001-05-30 19:40 Leif Sawyer
  0 siblings, 0 replies; 7+ messages in thread
From: Leif Sawyer @ 2001-05-30 19:40 UTC (permalink / raw)
  To: linux-kernel; +Cc: Alan Cox

Alan Cox responded to:
> Leif Sawyer, who wrote:
>> include/linux/irq.h:61: asm/hw_irq.h: No such file or directory
>> *** [sched.o] Error 1
>> 
>> a find . -name 'hw_irq.h' shows appropriate versions
>> in i386, ia64, mips, mips64, alpha, ppc, parisc, um, and sh
>> 
> The sparc64 tree isnt very well integrated with -ac. What I 
> have I merge but where -ac varies from the Linus tree or the
> Linus tree  requires new files tends to break it.
> 
> It can probably be an empty file

This worked for me:

sed 's/_SH_/_SPARC64_/g' include/asm-sh/hw_irq.h >
include/asm-sparc64/hw_irq.h

make mrproper
cp ../.config .
make oldconfig
make dep && make

In file included from /usr/src/linux-2.4.5-ac4/include/linux/sched.h:9
/usr/src/linux-2.4.5-ac4/include/linux/binfmts.h:45: warning: `struct
mm_struct' declared inside parameter list
/usr/src/linux-2.4.5-ac4/include/linux/binfmts.h:45: warning: its scope is
only this definition or declaration,
/usr/src/linux-2.4.5-ac4/include/linux/binfmts.h:45: warning: which is
probably not what you want.

This warning is repeated for quite a good portion of the source files during
the make process, however the kernel seems to build correctly.  Haven't
tried a reboot though.. :-\

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

end of thread, other threads:[~2001-05-31  9:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-30  0:30 2.4.5 -ac series broken on Sparc64 Leif Sawyer
2001-05-30  2:07 ` Keith Owens
2001-05-30  2:10 ` Keith Owens
2001-05-30  7:58 ` Alan Cox
2001-05-31  9:21   ` Russell King
2001-05-31  9:28     ` Alan Cox
  -- strict thread matches above, loose matches on Subject: below --
2001-05-30 19:40 Leif Sawyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox