linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Linux 2.4.19pre2-ac2 || Linux 2.4.18-ac3, compilation error on SPARC
@ 2002-03-04  8:32 Mathieu Legrand
  2002-03-04 22:34 ` stephan
  0 siblings, 1 reply; 3+ messages in thread
From: Mathieu Legrand @ 2002-03-04  8:32 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2467 bytes --]

Hello:

I couldn't get the latest ac kernels to compile on a SUN sparc Ultra 10,
even using the default configuration (arch/sparc64/defconfig).

I didn't try yet to compile a older kernel.  Here is the error message I get:

sparc64-linux-gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -m64 -pipe -mno-fpu -mcpu=ultrasparc -mcmodel=medlow -ffixed-g4 -fcall-used-g5 -fcall-used-g7 -Wno-sign-compare -Wa,--undeclared-regs   -DKBUILD_BASENAME=ide  -DEXPORT_SYMTAB -c ide.c
In file included from /usr/src/linux/include/linux/ide.h:301,
                 from ide.c:149:
/usr/src/linux/include/asm/ide.h:132: warning: `/*' within comment
In file included from /usr/src/linux/include/linux/ide.h:301,
                 from ide.c:149:
/usr/src/linux/include/asm/ide.h:153: parse error before `static'
/usr/src/linux/include/asm/ide.h:153: warning: no semicolon at end of struct or union
/usr/src/linux/include/asm/ide.h:153: warning: no semicolon at end of struct or union
/usr/src/linux/include/asm/ide.h: In function `ide_insw':
/usr/src/linux/include/asm/ide.h:175: warning: implicit declaration of function `inw_be'
/usr/src/linux/include/asm/ide.h: At top level:
/usr/src/linux/include/asm/ide.h:320: warning: This file contains more `{'s than `}'s.
/usr/src/linux/include/linux/ide.h:1103: warning: This file contains more `{'s than `}'s.
ide.c: In function `ide_dump_status':
ide.c:993: warning: long long int format, long int arg (arg 2)
ide.c: In function `hwif_unregister':
ide.c:2188: warning: implicit declaration of function `ide_release_region'
make[3]: *** [ide.o] Error 1
make[3]: Leaving directory `/usr/src/linux/drivers/ide'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux/drivers/ide'
make[1]: *** [_subdir_ide] Error 2
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [_dir_drivers] Error 2

I am using Debian unstable on that computer.

  egcs64         19980921.1-1
  libc6-sparc64  2.2.5-3
  libc6-dev-spar 2.2.5-3

Reading specs from /usr/lib/gcc-lib/sparc64-linux/egcs-2.92.11/specs
gcc version egcs-2.92.11 19980921 (gcc2 ss-980609 experimental)

-- 
Mathieu Legrand <mathieu @ {accellion.com -work | globules.net -perso}>
GPG: 0x349EBC9961C501D1   fp: D6D2D2D74E6320D99B54 38F3349EBC9961C501D1
 - Yoda of Borg are we: Futile is resistance.  Assimilate you, we will.

[-- Attachment #2: Type: application/pgp-signature, Size: 241 bytes --]

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

* Re: Linux 2.4.19pre2-ac2 || Linux 2.4.18-ac3, compilation error on SPARC
  2002-03-04  8:32 Linux 2.4.19pre2-ac2 || Linux 2.4.18-ac3, compilation error on SPARC Mathieu Legrand
@ 2002-03-04 22:34 ` stephan
  2002-03-04 23:00   ` Linux 2.4.19pre2-ac2 || Linux 2.4.18-ac3, compilation error on Alan Cox
  0 siblings, 1 reply; 3+ messages in thread
From: stephan @ 2002-03-04 22:34 UTC (permalink / raw)
  To: Mathieu Legrand; +Cc: linux-kernel

On Mon, 4 Mar 2002, Mathieu Legrand wrote:

> Hello:
>
> I couldn't get the latest ac kernels to compile on a SUN sparc Ultra 10,
> even using the default configuration (arch/sparc64/defconfig).
>
same problem here
2.4.19-ac2 compiles ok
when applying the ac patches is fails on the ide.h

sun ultrasparc 10
redhat 6.2 (lot of updates)
gcc version :

Reading specs from /usr/lib/gcc-lib/sparc-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)



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

* Re: Linux 2.4.19pre2-ac2 || Linux 2.4.18-ac3, compilation error on
  2002-03-04 22:34 ` stephan
@ 2002-03-04 23:00   ` Alan Cox
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Cox @ 2002-03-04 23:00 UTC (permalink / raw)
  To: stephan; +Cc: Mathieu Legrand, linux-kernel

> same problem here
> 2.4.19-ac2 compiles ok
> when applying the ac patches is fails on the ide.h
> 
> Reading specs from /usr/lib/gcc-lib/sparc-redhat-linux/egcs-2.91.66/specs
> gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

egcs is not a recommended compiler for the -ac tree. I don't however think
that is the problem. You need some pending patches from DaveM and possibly
also some other further fixes.

I'm afraid sparc is right at the bottom of the platforms I care about

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

end of thread, other threads:[~2002-03-04 22:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-04  8:32 Linux 2.4.19pre2-ac2 || Linux 2.4.18-ac3, compilation error on SPARC Mathieu Legrand
2002-03-04 22:34 ` stephan
2002-03-04 23:00   ` Linux 2.4.19pre2-ac2 || Linux 2.4.18-ac3, compilation error on Alan Cox

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 NNTP newsgroup(s).