[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

SPARC64 + GCC 3.3.2



To my understanding GCC 3.3.2 (20031022) *should* support sparc64 kernel builds. I've browsed dozens of mail threads (mainly Debian) for more information, but have not been able to extract relevant information based on my specific problem (outlined below).

OS: Gentoo GNU/Linux
GCC 3.3.2 (20031022)
Attempting to build kernel 2.6.0-test9

egcs64 was removed, thereby all sparc64-linux-* removed; which is depreciated for the most part with gcc-3.3.x present.

The ~/linux/arch/sparc64/Makefile test:

' CC := $(shell if gcc -m64 -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo gcc; else echo sparc64-linux-gcc; fi ) '

is apparently falling back to sparc64-linux-gcc however, as the build

$ make image

fails by complaining about it:

/bin/sh: line 1: sparc64-linux-gcc: command not found

Version/Environment output as follows:
eric@lylix eric $ gcc --version
gcc (GCC) 3.3.2 20031022 (Gentoo Linux 3.3.2-r2, propolice)
eric@lylix eric $ echo $CC
gcc

If I explicitely set CC=gcc:
$ make CC=gcc image
it fails with:
cc1: error: invalid option `medlow'

It seems 64-bit is somehow broken with my install of gcc. Any suggestions or ideas would be appreciated as I would like to make the migration from egcs64.

emty




Reply to: