GCC-3.3 failure on Sparc when compiling Linux kernel
Hi.
Compiling the 2.6.7-rc1 kernel with the latest gcc-3.3 causes a problem.
gcc -Wp,-MD,mm/.fremap.o.d -nostdinc -iwithprefix include -D__KERNEL__
-Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -m32 -pipe -mno-fpu -fcall-used-g5
-fcall-used-g7 -mcpu=v8 -O2 -fomit-frame-pointer
-DKBUILD_BASENAME=fremap -DKBUILD_MODNAME=fremap -c -o mm/fremap.o
mm/fremap.c
mm/fremap.c: In function `install_page':
mm/fremap.c:95: error: unrecognizable insn:
(insn 841 71 842 2 0x507b7300 (set (reg:SI 253)
(zero_extract:SI (reg:SI 139)
(const_int 1 [0x1])
(const_int 31 [0x1f]))) -1 (nil)
(expr_list:REG_DEAD (reg:SI 139)
(nil)))
mm/fremap.c:95: internal compiler error: in extract_insn, at recog.c:2175
Anyone else using gcc-3.3 on Sparc seeing this? Here's some package
version info ...
ii binutils 2.14.90.0.7-6 The GNU assembler, linker and binary
ii cpp 3.3.3-3 The GNU C preprocessor (cpp)
ii cpp-3.3 3.3.3-9 The GNU C preprocessor
ii gcc 3.3.3-3 The GNU C compiler
ii gcc-3.3 3.3.3-9 The GNU C compiler
ii gcc-3.3-base 3.3.3-9 The GNU Compiler Collection (base package)
ii libc6 2.3.2.ds1-12 GNU C Library: Shared libraries
ii libc6-dev 2.3.2.ds1-12 GNU C Library: Development Libraries
ii libgcc1 3.3.3-9 GCC support library
Art Haas
--
Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.
-Thomas Jefferson to James Smith, 1822
Reply to: