All of lore.kernel.org
 help / color / mirror / Atom feed
* kernel 2.4.25-pre8 fails to build for sparc32
@ 2004-02-06  1:24 Nicolas Boullis
  2004-02-06  2:59 ` Keith M Wesolowski
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Nicolas Boullis @ 2004-02-06  1:24 UTC (permalink / raw)
  To: sparclinux

Hi,

First of all, sorry if I'm doing something wrong with this report, I'm 
still quite a newbie on this list...

I just tried to build a sparc32 kernel for my Ultra5. (I know this is 
sparc64 hardware, but I need to test some things with a sparc32 kernel, 
and I think it's supposed to work fine...) Unfortunately, the build 
fails with the following message:

,----
| make[4]: Entering directory `/usr/src/linux-2.4.25-pre8_32/drivers/ide'
| gcc -D__KERNEL__ -I/usr/src/linux-2.4.25-pre8_32/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -m32 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7   -nostdinc -iwithprefix include -DKBUILD_BASENAME=ide_iops  -DEXPORT_SYMTAB -c ide-iops.c
| ide-iops.c:119: error: conflicting types for `ide_insw'
| /usr/src/linux-2.4.25-pre8_32/include/asm/ide.h:107: error: previous declaration of `ide_insw'
| ide-iops.c:149: error: conflicting types for `ide_outsw'
| /usr/src/linux-2.4.25-pre8_32/include/asm/ide.h:138: error: previous declaration of `ide_outsw'
| ide-iops.c: In function `ide_mm_insw':
| ide-iops.c:196: warning: implicit declaration of function `__ide_mm_insw'
| ide-iops.c: In function `ide_mm_insl':
| ide-iops.c:206: warning: implicit declaration of function `__ide_mm_insl'
| ide-iops.c: In function `ide_mm_outsw':
| ide-iops.c:226: warning: implicit declaration of function `__ide_mm_outsw'
| ide-iops.c: In function `ide_mm_outsl':
| ide-iops.c:236: warning: implicit declaration of function `__ide_mm_outsl'
| make[4]: *** [ide-iops.o] Error 1
| make[4]: Leaving directory `/usr/src/linux-2.4.25-pre8_32/drivers/ide'
`----

Can anyone help me sove this failure?


TIA,

Nicolas

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

* Re: kernel 2.4.25-pre8 fails to build for sparc32
  2004-02-06  1:24 kernel 2.4.25-pre8 fails to build for sparc32 Nicolas Boullis
@ 2004-02-06  2:59 ` Keith M Wesolowski
  2004-02-06 22:16 ` Nicolas Boullis
  2004-02-06 22:36 ` Keith M Wesolowski
  2 siblings, 0 replies; 4+ messages in thread
From: Keith M Wesolowski @ 2004-02-06  2:59 UTC (permalink / raw)
  To: sparclinux

On Fri, Feb 06, 2004 at 02:24:38AM +0100, Nicolas Boullis wrote:

> First of all, sorry if I'm doing something wrong with this report, I'm 
> still quite a newbie on this list...
> 
> I just tried to build a sparc32 kernel for my Ultra5. (I know this is 
> sparc64 hardware, but I need to test some things with a sparc32 kernel, 
> and I think it's supposed to work fine...) Unfortunately, the build 
> fails with the following message:

I think you're confused.  You probably mean you want to use a 32-bit
userland, which you can do just fine with a sparc64 kernel.  The
sparc32 kernel does not support ultrasparc CPUs nor any of the
associated hardware in ultras.  Please do not bother trying to make it
work.  Use ARCH=sparc64 and all will be well.

-- 
Keith M Wesolowski

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

* Re: kernel 2.4.25-pre8 fails to build for sparc32
  2004-02-06  1:24 kernel 2.4.25-pre8 fails to build for sparc32 Nicolas Boullis
  2004-02-06  2:59 ` Keith M Wesolowski
@ 2004-02-06 22:16 ` Nicolas Boullis
  2004-02-06 22:36 ` Keith M Wesolowski
  2 siblings, 0 replies; 4+ messages in thread
From: Nicolas Boullis @ 2004-02-06 22:16 UTC (permalink / raw)
  To: sparclinux

Hi,

On Thu, Feb 05, 2004 at 06:59:51PM -0800, Keith M Wesolowski wrote:

> I think you're confused.  You probably mean you want to use a 32-bit
> userland, which you can do just fine with a sparc64 kernel.

Well, I dont' think I am that confused. I'm currently using a 64-bit 
kernel, with 32-bit applications, and everything works fine.

But I'd like to check if XFS is as broken in 32-bit as in 64-bit (the
64-bit kernel freezes when a XFS restore is attemted), and to try a
driver module in 32-bit mode. As far as I know, both require a 64-bit 
kernel...

> The
> sparc32 kernel does not support ultrasparc CPUs nor any of the
> associated hardware in ultras.  Please do not bother trying to make it
> work.  Use ARCH=sparc64 and all will be well.

Well, I thought that some distribution were using a 32-bit kernel for 
installation, even on sparc64... Was I wrong?


Regards,

Nicolas

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

* Re: kernel 2.4.25-pre8 fails to build for sparc32
  2004-02-06  1:24 kernel 2.4.25-pre8 fails to build for sparc32 Nicolas Boullis
  2004-02-06  2:59 ` Keith M Wesolowski
  2004-02-06 22:16 ` Nicolas Boullis
@ 2004-02-06 22:36 ` Keith M Wesolowski
  2 siblings, 0 replies; 4+ messages in thread
From: Keith M Wesolowski @ 2004-02-06 22:36 UTC (permalink / raw)
  To: sparclinux

On Fri, Feb 06, 2004 at 11:16:15PM +0100, Nicolas Boullis wrote:

> Well, I thought that some distribution were using a 32-bit kernel for 
> installation, even on sparc64... Was I wrong?

Yes.  See arch/sparc/kernel/head.S:no_sun4u_here.  Or about a hundred
other places in the sparc32 code where ultras clearly couldn't
possibly work.

-- 
Keith M Wesolowski

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

end of thread, other threads:[~2004-02-06 22:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-06  1:24 kernel 2.4.25-pre8 fails to build for sparc32 Nicolas Boullis
2004-02-06  2:59 ` Keith M Wesolowski
2004-02-06 22:16 ` Nicolas Boullis
2004-02-06 22:36 ` Keith M Wesolowski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.