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.
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)
> 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