From: EXTERNAL B. M. (P. ST-FIR/Eng) <ext...@de...> - 2007-08-17 10:46:46
|
Hi, I'm getting the following compiler error when trying to compile any sh3 dsp AS arch/sh/kernel/cpu/sh3/entry.o arch/sh/kernel/cpu/sh3/entry.S: Assembler messages: arch/sh/kernel/cpu/sh3/entry.S:271: Error: unknown opcode arch/sh/kernel/cpu/sh3/entry.S:272: Error: unknown opcode arch/sh/kernel/cpu/sh3/entry.S:273: Error: unknown opcode arch/sh/kernel/cpu/sh3/entry.S:274: Error: unknown opcode arch/sh/kernel/cpu/sh3/entry.S:275: Error: unknown opcode arch/sh/kernel/cpu/sh3/entry.S:278: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:279: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:280: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:281: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:282: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:283: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:284: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:285: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:286: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:439: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:440: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:441: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:442: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:443: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:444: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:445: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:446: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:447: Error: invalid operands for opcode make[3]: *** [arch/sh/kernel/cpu/sh3/entry.o] Error 1 make[2]: *** [arch/sh/kernel/cpu/sh3] Error 2 make[1]: *** [arch/sh/kernel/cpu] Error 2 I figured out that this was introduced by 2.6.23-rc1 when the following line was removed from arch/sh/Makefile cflags-$(CONFIG_SH_DSP) +=3D -Wa,-dsp Was it accidently removed, or is there any sense? Regards Markus |
From: Paul M. <le...@li...> - 2007-08-18 04:14:31
|
On Fri, Aug 17, 2007 at 12:46:32PM +0200, EXTERNAL Brunner Markus (Praktikant; ST-FIR/Eng) wrote: > Hi, > > I'm getting the following compiler error when trying to compile any sh3 > dsp > > AS arch/sh/kernel/cpu/sh3/entry.o > arch/sh/kernel/cpu/sh3/entry.S: Assembler messages: > arch/sh/kernel/cpu/sh3/entry.S:271: Error: unknown opcode > arch/sh/kernel/cpu/sh3/entry.S:272: Error: unknown opcode > arch/sh/kernel/cpu/sh3/entry.S:273: Error: unknown opcode > arch/sh/kernel/cpu/sh3/entry.S:274: Error: unknown opcode > arch/sh/kernel/cpu/sh3/entry.S:275: Error: unknown opcode > arch/sh/kernel/cpu/sh3/entry.S:278: Error: invalid operands for opcode > arch/sh/kernel/cpu/sh3/entry.S:279: Error: invalid operands for opcode > arch/sh/kernel/cpu/sh3/entry.S:280: Error: invalid operands for opcode > arch/sh/kernel/cpu/sh3/entry.S:281: Error: invalid operands for opcode > arch/sh/kernel/cpu/sh3/entry.S:282: Error: invalid operands for opcode > arch/sh/kernel/cpu/sh3/entry.S:283: Error: invalid operands for opcode > arch/sh/kernel/cpu/sh3/entry.S:284: Error: invalid operands for opcode > arch/sh/kernel/cpu/sh3/entry.S:285: Error: invalid operands for opcode > arch/sh/kernel/cpu/sh3/entry.S:286: Error: invalid operands for opcode > arch/sh/kernel/cpu/sh3/entry.S:439: Error: invalid operands for opcode > arch/sh/kernel/cpu/sh3/entry.S:440: Error: invalid operands for opcode > arch/sh/kernel/cpu/sh3/entry.S:441: Error: invalid operands for opcode > arch/sh/kernel/cpu/sh3/entry.S:442: Error: invalid operands for opcode > arch/sh/kernel/cpu/sh3/entry.S:443: Error: invalid operands for opcode > arch/sh/kernel/cpu/sh3/entry.S:444: Error: invalid operands for opcode > arch/sh/kernel/cpu/sh3/entry.S:445: Error: invalid operands for opcode > arch/sh/kernel/cpu/sh3/entry.S:446: Error: invalid operands for opcode > arch/sh/kernel/cpu/sh3/entry.S:447: Error: invalid operands for opcode > make[3]: *** [arch/sh/kernel/cpu/sh3/entry.o] Error 1 > make[2]: *** [arch/sh/kernel/cpu/sh3] Error 2 > make[1]: *** [arch/sh/kernel/cpu] Error 2 > > > I figured out that this was introduced by 2.6.23-rc1 when the following > line was removed from arch/sh/Makefile > > cflags-$(CONFIG_SH_DSP) += -Wa,-dsp > > > Was it accidently removed, or is there any sense? > It made sense for SH2-DSP, I thought SH3-DSP would cope with it also. Is this problem fixed if you reinsert this flag? |
From: Markus B. <sup...@go...> - 2007-08-18 04:32:02
|
> It made sense for SH2-DSP, I thought SH3-DSP would cope with it also. Is > this problem fixed if you reinsert this flag? Yes, it compiles fine after reinsertion. Regards Markus |
From: Paul M. <le...@li...> - 2007-08-18 04:57:50
|
On Sat, Aug 18, 2007 at 06:36:14AM +0200, Markus Brunner wrote: > > > It made sense for SH2-DSP, I thought SH3-DSP would cope with it also. Is > > this problem fixed if you reinsert this flag? > > Yes, it compiles fine after reinsertion. > Thanks, I'll take a look at it when I'm back at the office. |
From: Paul M. <le...@li...> - 2007-08-20 01:23:14
|
On Sat, Aug 18, 2007 at 01:56:32PM +0900, Paul Mundt wrote: > On Sat, Aug 18, 2007 at 06:36:14AM +0200, Markus Brunner wrote: > > > > > It made sense for SH2-DSP, I thought SH3-DSP would cope with it also. Is > > > this problem fixed if you reinsert this flag? > > > > Yes, it compiles fine after reinsertion. > > > Thanks, I'll take a look at it when I'm back at the office. > How about this? -- diff --git a/arch/sh/Makefile b/arch/sh/Makefile index e5c84d0..e678e0c 100644 --- a/arch/sh/Makefile +++ b/arch/sh/Makefile @@ -34,6 +34,8 @@ isa-y := $(isa-y)-nofpu endif endif +isa-y := $(isa-y)-up + cflags-$(CONFIG_CPU_SH2) := $(call cc-option,-m2,) cflags-$(CONFIG_CPU_SH2A) += $(call cc-option,-m2a,) \ $(call cc-option,-m2a-nofpu,) |
From: EXTERNAL B. M. (P. ST-FIR/Eng) <ext...@de...> - 2007-08-20 13:02:09
|
> How about this? >=20 > diff --git a/arch/sh/Makefile b/arch/sh/Makefile > index e5c84d0..e678e0c 100644 > --- a/arch/sh/Makefile > +++ b/arch/sh/Makefile > @@ -34,6 +34,8 @@ isa-y :=3D $(isa-y)-nofpu > endif > endif > =20 > +isa-y :=3D $(isa-y)-up > + > cflags-$(CONFIG_CPU_SH2) :=3D $(call cc-option,-m2,) > cflags-$(CONFIG_CPU_SH2A) +=3D $(call cc-option,-m2a,) \ > $(call cc-option,-m2a-nofpu,) I only have limited Makefile knowledge and I don't understand=20 How this could solve the problem. If the patch was meant to be applied in addition to the removed cflags-$(CONFIG_SH_DSP) +=3D -Wa,-dsp it works. If it was meant to be apllied against current git it doesn't work. |
From: Paul M. <le...@li...> - 2007-08-20 13:23:34
|
On Mon, Aug 20, 2007 at 03:01:55PM +0200, EXTERNAL Brunner Markus (Praktikant; ST-FIR/Eng) wrote: > > How about this? > > > > diff --git a/arch/sh/Makefile b/arch/sh/Makefile > > index e5c84d0..e678e0c 100644 > > --- a/arch/sh/Makefile > > +++ b/arch/sh/Makefile > > @@ -34,6 +34,8 @@ isa-y := $(isa-y)-nofpu > > endif > > endif > > > > +isa-y := $(isa-y)-up > > + > > cflags-$(CONFIG_CPU_SH2) := $(call cc-option,-m2,) > > cflags-$(CONFIG_CPU_SH2A) += $(call cc-option,-m2a,) \ > > $(call cc-option,-m2a-nofpu,) > > > I only have limited Makefile knowledge and I don't understand > How this could solve the problem. > If the patch was meant to be applied in addition to the removed > cflags-$(CONFIG_SH_DSP) += -Wa,-dsp > it works. > If it was meant to be apllied against current git it doesn't work. It was meant to be applied without the -Wa,-dsp. The explicit -Wa,-isa= tuning implies -dsp opcode support depending on the tuning target. Can you try to do the build with V=1 for verbose output and paste the full invocation to the build as well as the full error itself, as well as the toolchain versions? I was able to get your defconfig building with all of the toolchains I had on hand, so this makes me suspect your binutils version or something is still not being parsed properly. |
From: EXTERNAL B. M. (P. ST-FIR/Eng) <ext...@de...> - 2007-08-20 15:42:42
|
From: Paul Mundt [mailto:le...@li...]=20 > It was meant to be applied without the -Wa,-dsp. The explicit -Wa,-isa=3D > tuning implies -dsp opcode support depending on the tuning target. Can > you try to do the build with V=3D1 for verbose output and paste the = full > invocation to the build as well as the full error itself, as well as the > toolchain versions? I was able to get your defconfig building with all of > the toolchains I had on hand, so this makes me suspect your binutils > version or something is still not being parsed properly. It seems to be toolchain related. Both KPIT toolchains v0601 (gcc 3.4 binutils 2.16) and v0701 compile. My self-build crosstool toolchains with gcc 4.0.4 and 4.1.2 with binutils 2.16.1 also compile with your fix. The crosstool toolchains 3.2.3, 3.3.6 and 3.4.6 (all binutils 2.15) don't work with your fix, they need -Wa,-dsp So it seems binutils 2.15 is the one to blame. GNU Make 3.81 Gcc 3.* Binutils 2.15 make ARCH=3Dsh V=3D1 CROSS_COMPILE=3D/opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gn= u /bin/sh3-unknown-linux-gnu- zImage SYMLINK include/asm-sh/cpu -> include/asm-sh/cpu-sh3 if [ ! -d include/asm-sh ]; then mkdir -p include/asm-sh; fi ln -fsn /home/markus/sh-2.6/include/asm-sh/cpu-sh3 include/asm-sh/cpu if [ ! -d include/asm-sh ]; then mkdir -p include/asm-sh; fi rm -f include/asm-sh/mach for i in magicpanelr2; do \ if [ -d /home/markus/sh-2.6/include/asm-sh/$i ]; then \ echo -n ' SYMLINK include/asm-sh/mach -> '; \ echo -e "include/asm-sh/$i"; \ ln -fsn /home/markus/sh-2.6/include/asm-sh/$i \ include/asm-sh/mach; \ else \ if [ ! -d include/asm-sh/mach ]; then \ echo -n ' SYMLINK include/asm-sh/mach -> '; \ echo -e 'include/asm-sh'; \ ln -fsn /home/markus/sh-2.6/include/asm-sh/ include/asm-sh/mach; \ fi; \ fi; \ done SYMLINK include/asm-sh/mach -> include/asm-sh set -e; echo ' CHK include/linux/version.h'; mkdir -p include/linux/; (echo \#define LINUX_VERSION_CODE 132631; echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))';) < /home/markus/sh-2.6/Makefile > include/linux/version.h.tmp; if [ -r include/linux/version.h ] && cmp -s include/linux/version.h include/linux/version.h.tmp; then rm -f include/linux/version.h.tmp; else echo ' UPD include/linux/version.h'; mv -f include/linux/version.h.tmp include/linux/version.h; fi CHK include/linux/version.h make -f scripts/Makefile.build obj=3Darch/sh/tools include/asm-sh/machtypes.h make[1]: `include/asm-sh/machtypes.h' is up to date. rm -f include/config/kernel.release echo 2.6.23-rc2 > include/config/kernel.release set -e; echo ' CHK include/linux/utsrelease.h'; mkdir -p include/linux/; if [ `echo -n "2.6.23-rc2" | wc -c ` -gt 64 ]; then echo '"2.6.23-rc2" exceeds 64 characters' >&2; exit 1; fi; (echo \#define UTS_RELEASE \"2.6.23-rc2\";) < include/config/kernel.release > include/linux/utsrelease.h.tmp; if [ -r include/linux/utsrelease.h ] && cmp -s include/linux/utsrelease.h include/linux/utsrelease.h.tmp; then rm -f include/linux/utsrelease.h.tmp; else echo ' UPD include/linux/utsrelease.h'; mv -f include/linux/utsrelease.h.tmp include/linux/utsrelease.h; fi CHK include/linux/utsrelease.h make -f scripts/Makefile.build obj=3Dscripts/basic make -f scripts/Makefile.build obj=3D. mkdir -p arch/sh/kernel/ =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-gcc -Wp,-MD,arch/sh/kernel/.asm-offsets.s.d -nostdinc -isystem /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/lib/gcc/sh3-u nknown-linux-gnu/3.4.6/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -m3 -ml -ffreestanding -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -D"KBUILD_STR(s)=3D#s" -D"KBUILD_BASENAME=3DKBUILD_STR(asm_offsets)" -D"KBUILD_MODNAME=3DKBUILD_STR(asm_offsets)" -fverbose-asm -S -o arch/sh/kernel/asm-offsets.s arch/sh/kernel/asm-offsets.c mkdir -p include/asm-sh/ (set -e; echo "#ifndef __ASM_OFFSETS_H__"; echo "#define __ASM_OFFSETS_H__"; echo "/*"; echo " * DO NOT MODIFY."; echo " *"; echo " * This file was generated by Kbuild"; echo " *"; echo " */"; echo ""; sed -ne "/^->/{s:^->\([^ ]*\) [\$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; s:->::; p;}" arch/sh/kernel/asm-offsets.s; echo ""; echo "#endif" ) > include/asm-sh/asm-offsets.h make -f scripts/Makefile.build obj=3D. missing-syscalls /bin/sh scripts/checksyscalls.sh /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-gcc -Wp,-MD,./.missing-syscalls.d -nostdinc -isystem /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/lib/gcc/sh3-u nknown-linux-gnu/3.4.6/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -m3 -ml -ffreestanding -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -D"KBUILD_STR(s)=3D#s" -D"KBUILD_BASENAME=3DKBUILD_STR(missing_syscalls)" -D"KBUILD_MODNAME=3DKBUILD_STR(missing_syscalls)" make -f scripts/Makefile.build obj=3Dscripts make -f scripts/Makefile.build obj=3Dscripts/genksyms make -f scripts/Makefile.build obj=3Dscripts/mod =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-gcc -Wp,-MD,scripts/mod/.empty.o.d -nostdinc -isystem /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/lib/gcc/sh3-u nknown-linux-gnu/3.4.6/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -m3 -ml -ffreestanding -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -D"KBUILD_STR(s)=3D#s" -D"KBUILD_BASENAME=3DKBUILD_STR(empty)" -D"KBUILD_MODNAME=3DKBUILD_STR(empty)" -c -o scripts/mod/.tmp_empty.o scripts/mod/empty.c scripts/mod/mk_elfconfig sh < scripts/mod/empty.o > scripts/mod/elfconfig.h gcc -Wp,-MD,scripts/mod/.file2alias.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o scripts/mod/file2alias.o scripts/mod/file2alias.c gcc -Wp,-MD,scripts/mod/.modpost.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o scripts/mod/modpost.o scripts/mod/modpost.c gcc -Wp,-MD,scripts/mod/.sumversion.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o scripts/mod/sumversion.o scripts/mod/sumversion.c gcc -o scripts/mod/modpost scripts/mod/modpost.o scripts/mod/file2alias.o scripts/mod/sumversion.o make -f scripts/Makefile.build obj=3Dinit =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-gcc -Wp,-MD,init/.main.o.d -nostdinc -isystem /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/lib/gcc/sh3-u nknown-linux-gnu/3.4.6/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -m3 -ml -ffreestanding -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -D"KBUILD_STR(s)=3D#s" -D"KBUILD_BASENAME=3DKBUILD_STR(main)" -D"KBUILD_MODNAME=3DKBUILD_STR(main)" -c -o init/.tmp_main.o init/main.c CHK include/linux/compile.h /bin/sh /home/markus/sh-2.6/scripts/mkcompile_h include/linux/compile.h \ "sh" "" "" "/opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkn own-linux-gnu-gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -m3 -ml -ffreestanding -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement " =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-gcc -Wp,-MD,init/.version.o.d -nostdinc -isystem /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/lib/gcc/sh3-u nknown-linux-gnu/3.4.6/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -m3 -ml -ffreestanding -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -D"KBUILD_STR(s)=3D#s" -D"KBUILD_BASENAME=3DKBUILD_STR(version)" -D"KBUILD_MODNAME=3DKBUILD_STR(version)" -c -o init/.tmp_version.o init/version.c =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-gcc -Wp,-MD,init/.do_mounts.o.d -nostdinc -isystem /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/lib/gcc/sh3-u nknown-linux-gnu/3.4.6/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -m3 -ml -ffreestanding -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -D"KBUILD_STR(s)=3D#s" -D"KBUILD_BASENAME=3DKBUILD_STR(do_mounts)" -D"KBUILD_MODNAME=3DKBUILD_STR(mounts)" -c -o init/.tmp_do_mounts.o init/do_mounts.c =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-gcc -Wp,-MD,init/.do_mounts_rd.o.d -nostdinc -isystem /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/lib/gcc/sh3-u nknown-linux-gnu/3.4.6/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -m3 -ml -ffreestanding -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -D"KBUILD_STR(s)=3D#s" -D"KBUILD_BASENAME=3DKBUILD_STR(do_mounts_rd)" -D"KBUILD_MODNAME=3DKBUILD_STR(mounts)" -c -o init/.tmp_do_mounts_rd.o init/do_mounts_rd.c =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-gcc -Wp,-MD,init/.do_mounts_initrd.o.d -nostdinc -isystem /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/lib/gcc/sh3-u nknown-linux-gnu/3.4.6/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -m3 -ml -ffreestanding -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -D"KBUILD_STR(s)=3D#s" -D"KBUILD_BASENAME=3DKBUILD_STR(do_mounts_initrd)" -D"KBUILD_MODNAME=3DKBUILD_STR(mounts)" -c -o = init/.tmp_do_mounts_initrd.o init/do_mounts_initrd.c =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-ld -EL -r -o init/mounts.o init/do_mounts.o init/do_mounts_rd.o init/do_mounts_initrd.o =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-gcc -Wp,-MD,init/.initramfs.o.d -nostdinc -isystem /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/lib/gcc/sh3-u nknown-linux-gnu/3.4.6/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -m3 -ml -ffreestanding -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -D"KBUILD_STR(s)=3D#s" -D"KBUILD_BASENAME=3DKBUILD_STR(initramfs)" -D"KBUILD_MODNAME=3DKBUILD_STR(initramfs)" -c -o init/.tmp_initramfs.o init/initramfs.c =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-gcc -Wp,-MD,init/.calibrate.o.d -nostdinc -isystem /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/lib/gcc/sh3-u nknown-linux-gnu/3.4.6/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -m3 -ml -ffreestanding -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -D"KBUILD_STR(s)=3D#s" -D"KBUILD_BASENAME=3DKBUILD_STR(calibrate)" -D"KBUILD_MODNAME=3DKBUILD_STR(calibrate)" -c -o init/.tmp_calibrate.o init/calibrate.c =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-ld -EL -r -o init/built-in.o init/main.o init/version.o init/mounts.o init/initramfs.o init/calibrate.o make -f scripts/Makefile.build obj=3Dusr /bin/sh /home/markus/sh-2.6/scripts/gen_initramfs_list.sh -l -d > usr/.initramfs_data.cpio.gz.d =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-gcc -Wp,-MD,usr/.initramfs_data.o.d -nostdinc -isystem /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/lib/gcc/sh3-u nknown-linux-gnu/3.4.6/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -D__ASSEMBLY__ -m3 -ml -ffreestanding -c -o usr/initramfs_data.o usr/initramfs_data.S =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-ld -EL -r -o usr/built-in.o usr/initramfs_data.o make -f scripts/Makefile.build obj=3Darch/sh/kernel =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-gcc -Wp,-MD,arch/sh/kernel/.debugtraps.o.d -nostdinc -isystem /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/lib/gcc/sh3-u nknown-linux-gnu/3.4.6/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -D__ASSEMBLY__ -m3 -ml -ffreestanding -c -o arch/sh/kernel/debugtraps.o arch/sh/kernel/debugtraps.S =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-gcc -Wp,-MD,arch/sh/kernel/.io.o.d -nostdinc -isystem /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/lib/gcc/sh3-u nknown-linux-gnu/3.4.6/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -m3 -ml -ffreestanding -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -D"KBUILD_STR(s)=3D#s" -D"KBUILD_BASENAME=3DKBUILD_STR(io)" = -D"KBUILD_MODNAME=3DKBUILD_STR(io)" -c -o arch/sh/kernel/.tmp_io.o arch/sh/kernel/io.c =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-gcc -Wp,-MD,arch/sh/kernel/.io_generic.o.d -nostdinc -isystem /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/lib/gcc/sh3-u nknown-linux-gnu/3.4.6/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -m3 -ml -ffreestanding -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -D"KBUILD_STR(s)=3D#s" -D"KBUILD_BASENAME=3DKBUILD_STR(io_generic)" -D"KBUILD_MODNAME=3DKBUILD_STR(io_generic)" -c -o arch/sh/kernel/.tmp_io_generic.o arch/sh/kernel/io_generic.c =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-gcc -Wp,-MD,arch/sh/kernel/.irq.o.d -nostdinc -isystem /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/lib/gcc/sh3-u nknown-linux-gnu/3.4.6/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -m3 -ml -ffreestanding -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -D"KBUILD_STR(s)=3D#s" -D"KBUILD_BASENAME=3DKBUILD_STR(irq)" = -D"KBUILD_MODNAME=3DKBUILD_STR(irq)" -c -o arch/sh/kernel/.tmp_irq.o arch/sh/kernel/irq.c =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-gcc -Wp,-MD,arch/sh/kernel/.machvec.o.d -nostdinc -isystem /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/lib/gcc/sh3-u nknown-linux-gnu/3.4.6/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -m3 -ml -ffreestanding -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -D"KBUILD_STR(s)=3D#s" -D"KBUILD_BASENAME=3DKBUILD_STR(machvec)" -D"KBUILD_MODNAME=3DKBUILD_STR(machvec)" -c -o arch/sh/kernel/.tmp_machvec.o arch/sh/kernel/machvec.c =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-gcc -Wp,-MD,arch/sh/kernel/.process.o.d -nostdinc -isystem /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/lib/gcc/sh3-u nknown-linux-gnu/3.4.6/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -m3 -ml -ffreestanding -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -D"KBUILD_STR(s)=3D#s" -D"KBUILD_BASENAME=3DKBUILD_STR(process)" -D"KBUILD_MODNAME=3DKBUILD_STR(process)" -c -o arch/sh/kernel/.tmp_process.o arch/sh/kernel/process.c =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-gcc -Wp,-MD,arch/sh/kernel/.ptrace.o.d -nostdinc -isystem /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/lib/gcc/sh3-u nknown-linux-gnu/3.4.6/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -m3 -ml -ffreestanding -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -D"KBUILD_STR(s)=3D#s" -D"KBUILD_BASENAME=3DKBUILD_STR(ptrace)" -D"KBUILD_MODNAME=3DKBUILD_STR(ptrace)" -c -o = arch/sh/kernel/.tmp_ptrace.o arch/sh/kernel/ptrace.c =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-gcc -Wp,-MD,arch/sh/kernel/.semaphore.o.d -nostdinc -isystem /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/lib/gcc/sh3-u nknown-linux-gnu/3.4.6/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -m3 -ml -ffreestanding -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -D"KBUILD_STR(s)=3D#s" -D"KBUILD_BASENAME=3DKBUILD_STR(semaphore)" -D"KBUILD_MODNAME=3DKBUILD_STR(semaphore)" -c -o arch/sh/kernel/.tmp_semaphore.o arch/sh/kernel/semaphore.c =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-gcc -Wp,-MD,arch/sh/kernel/.setup.o.d -nostdinc -isystem /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/lib/gcc/sh3-u nknown-linux-gnu/3.4.6/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -m3 -ml -ffreestanding -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -D"KBUILD_STR(s)=3D#s" -D"KBUILD_BASENAME=3DKBUILD_STR(setup)" -D"KBUILD_MODNAME=3DKBUILD_STR(setup)" -c -o arch/sh/kernel/.tmp_setup.o arch/sh/kernel/setup.c =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-gcc -Wp,-MD,arch/sh/kernel/.signal.o.d -nostdinc -isystem /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/lib/gcc/sh3-u nknown-linux-gnu/3.4.6/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -m3 -ml -ffreestanding -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -D"KBUILD_STR(s)=3D#s" -D"KBUILD_BASENAME=3DKBUILD_STR(signal)" -D"KBUILD_MODNAME=3DKBUILD_STR(signal)" -c -o = arch/sh/kernel/.tmp_signal.o arch/sh/kernel/signal.c =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-gcc -Wp,-MD,arch/sh/kernel/.sys_sh.o.d -nostdinc -isystem /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/lib/gcc/sh3-u nknown-linux-gnu/3.4.6/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -m3 -ml -ffreestanding -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -D"KBUILD_STR(s)=3D#s" -D"KBUILD_BASENAME=3DKBUILD_STR(sys_sh)" -D"KBUILD_MODNAME=3DKBUILD_STR(sys_sh)" -c -o = arch/sh/kernel/.tmp_sys_sh.o arch/sh/kernel/sys_sh.c =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-gcc -Wp,-MD,arch/sh/kernel/.syscalls.o.d -nostdinc -isystem /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/lib/gcc/sh3-u nknown-linux-gnu/3.4.6/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -D__ASSEMBLY__ -m3 -ml -ffreestanding -c -o arch/sh/kernel/syscalls.o arch/sh/kernel/syscalls.S =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-gcc -Wp,-MD,arch/sh/kernel/.time.o.d -nostdinc -isystem /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/lib/gcc/sh3-u nknown-linux-gnu/3.4.6/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -m3 -ml -ffreestanding -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -D"KBUILD_STR(s)=3D#s" -D"KBUILD_BASENAME=3DKBUILD_STR(time)" -D"KBUILD_MODNAME=3DKBUILD_STR(time)" -c -o arch/sh/kernel/.tmp_time.o arch/sh/kernel/time.c =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-gcc -Wp,-MD,arch/sh/kernel/.topology.o.d -nostdinc -isystem /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/lib/gcc/sh3-u nknown-linux-gnu/3.4.6/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -m3 -ml -ffreestanding -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -D"KBUILD_STR(s)=3D#s" -D"KBUILD_BASENAME=3DKBUILD_STR(topology)" -D"KBUILD_MODNAME=3DKBUILD_STR(topology)" -c -o arch/sh/kernel/.tmp_topology.o arch/sh/kernel/topology.c =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-gcc -Wp,-MD,arch/sh/kernel/.traps.o.d -nostdinc -isystem /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/lib/gcc/sh3-u nknown-linux-gnu/3.4.6/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -m3 -ml -ffreestanding -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -D"KBUILD_STR(s)=3D#s" -D"KBUILD_BASENAME=3DKBUILD_STR(traps)" -D"KBUILD_MODNAME=3DKBUILD_STR(traps)" -c -o arch/sh/kernel/.tmp_traps.o arch/sh/kernel/traps.c make -f scripts/Makefile.build obj=3Darch/sh/kernel/cpu make -f scripts/Makefile.build obj=3Darch/sh/kernel/cpu/irq =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-gcc -Wp,-MD,arch/sh/kernel/cpu/irq/.imask.o.d -nostdinc -isystem /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/lib/gcc/sh3-u nknown-linux-gnu/3.4.6/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -m3 -ml -ffreestanding -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -D"KBUILD_STR(s)=3D#s" -D"KBUILD_BASENAME=3DKBUILD_STR(imask)" -D"KBUILD_MODNAME=3DKBUILD_STR(imask)" -c -o arch/sh/kernel/cpu/irq/.tmp_imask.o arch/sh/kernel/cpu/irq/imask.c =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-gcc -Wp,-MD,arch/sh/kernel/cpu/irq/.intc.o.d -nostdinc -isystem /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/lib/gcc/sh3-u nknown-linux-gnu/3.4.6/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -m3 -ml -ffreestanding -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -D"KBUILD_STR(s)=3D#s" -D"KBUILD_BASENAME=3DKBUILD_STR(intc)" -D"KBUILD_MODNAME=3DKBUILD_STR(intc)" -c -o arch/sh/kernel/cpu/irq/.tmp_intc.o arch/sh/kernel/cpu/irq/intc.c =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-ld -EL -r -o arch/sh/kernel/cpu/irq/built-in.o arch/sh/kernel/cpu/irq/imask.o arch/sh/kernel/cpu/irq/intc.o make -f scripts/Makefile.build obj=3Darch/sh/kernel/cpu/sh3 =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-gcc -Wp,-MD,arch/sh/kernel/cpu/sh3/.ex.o.d -nostdinc -isystem /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/lib/gcc/sh3-u nknown-linux-gnu/3.4.6/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -D__ASSEMBLY__ -m3 -ml -ffreestanding -c -o arch/sh/kernel/cpu/sh3/ex.o arch/sh/kernel/cpu/sh3/ex.S =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-gcc -Wp,-MD,arch/sh/kernel/cpu/sh3/.probe.o.d -nostdinc -isystem /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/lib/gcc/sh3-u nknown-linux-gnu/3.4.6/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -m3 -ml -ffreestanding -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -D"KBUILD_STR(s)=3D#s" -D"KBUILD_BASENAME=3DKBUILD_STR(probe)" -D"KBUILD_MODNAME=3DKBUILD_STR(probe)" -c -o arch/sh/kernel/cpu/sh3/.tmp_probe.o arch/sh/kernel/cpu/sh3/probe.c =20 /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/bin/sh3-unkno wn-linux-gnu-gcc -Wp,-MD,arch/sh/kernel/cpu/sh3/.entry.o.d -nostdinc -isystem /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/lib/gcc/sh3-u nknown-linux-gnu/3.4.6/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -D__ASSEMBLY__ -m3 -ml -ffreestanding -c -o arch/sh/kernel/cpu/sh3/entry.o arch/sh/kernel/cpu/sh3/entry.S arch/sh/kernel/cpu/sh3/entry.S: Assembler messages: arch/sh/kernel/cpu/sh3/entry.S:270: Error: unknown opcode arch/sh/kernel/cpu/sh3/entry.S:271: Error: unknown opcode arch/sh/kernel/cpu/sh3/entry.S:272: Error: unknown opcode arch/sh/kernel/cpu/sh3/entry.S:273: Error: unknown opcode arch/sh/kernel/cpu/sh3/entry.S:274: Error: unknown opcode arch/sh/kernel/cpu/sh3/entry.S:277: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:278: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:279: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:280: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:281: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:282: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:283: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:284: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:285: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:438: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:439: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:440: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:441: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:442: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:443: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:444: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:445: Error: invalid operands for opcode arch/sh/kernel/cpu/sh3/entry.S:446: Error: invalid operands for opcode make[3]: *** [arch/sh/kernel/cpu/sh3/entry.o] Error 1 make[2]: *** [arch/sh/kernel/cpu/sh3] Error 2 make[1]: *** [arch/sh/kernel/cpu] Error 2 make: *** [arch/sh/kernel] Error 2 =20 |
From: Paul M. <le...@li...> - 2007-08-20 15:56:35
|
On Mon, Aug 20, 2007 at 05:42:30PM +0200, EXTERNAL Brunner Markus (Praktikant; ST-FIR/Eng) wrote: > From: Paul Mundt [mailto:le...@li...] > > It was meant to be applied without the -Wa,-dsp. The explicit > -Wa,-isa= > > tuning implies -dsp opcode support depending on the tuning target. Can > > you try to do the build with V=1 for verbose output and paste the full > > invocation to the build as well as the full error itself, as well as > the > > toolchain versions? I was able to get your defconfig building with all > of > > the toolchains I had on hand, so this makes me suspect your binutils > > version or something is still not being parsed properly. > > It seems to be toolchain related. > Both KPIT toolchains v0601 (gcc 3.4 binutils 2.16) and v0701 compile. > My self-build crosstool toolchains with gcc 4.0.4 and 4.1.2 with > binutils 2.16.1 also compile with your fix. > The crosstool toolchains 3.2.3, 3.3.6 and 3.4.6 (all binutils 2.15) > don't work with your fix, they need -Wa,-dsp > So it seems binutils 2.15 is the one to blame. > > > /opt/crosstool/gcc-3.4.6-glibc-2.3.6/sh3-unknown-linux-gnu/lib/gcc/sh3-u > nknown-linux-gnu/3.4.6/include -D__KERNEL__ -Iinclude -include > include/linux/autoconf.h -D__ASSEMBLY__ -m3 -ml -ffreestanding -c -o > arch/sh/kernel/cpu/sh3/entry.o arch/sh/kernel/cpu/sh3/entry.S > arch/sh/kernel/cpu/sh3/entry.S: Assembler messages: > arch/sh/kernel/cpu/sh3/entry.S:270: Error: unknown opcode That's what I was afraid of, you don't support the -isa tuning. Grumble. This is getting a bit hairy.. how about this? -- diff --git a/arch/sh/Makefile b/arch/sh/Makefile index 3d211aa..97ac586 100644 --- a/arch/sh/Makefile +++ b/arch/sh/Makefile @@ -34,6 +34,8 @@ isa-y := $(isa-y)-nofpu endif endif +isa-y := $(isa-y)-up + cflags-$(CONFIG_CPU_SH2) := $(call cc-option,-m2,) cflags-$(CONFIG_CPU_SH2A) += $(call cc-option,-m2a,) \ $(call cc-option,-m2a-nofpu,) @@ -46,7 +48,20 @@ cflags-$(CONFIG_CPU_SH4A) += $(call cc-option,-m4a,) \ cflags-$(CONFIG_CPU_BIG_ENDIAN) += -mb cflags-$(CONFIG_CPU_LITTLE_ENDIAN) += -ml -cflags-y += $(call as-option,-Wa$(comma)-isa=$(isa-y),) -ffreestanding +# +# -Wa,-isa= tuning implies -Wa,-dsp for the versions of binutils that +# support it, while -Wa,-dsp by itself limits the range of usable opcodes +# on certain CPU subtypes. Try the ISA variant first, and if that fails, +# fall back on -Wa,-dsp for the old binutils versions. Even without DSP +# opcodes, we always want the best ISA tuning the version of binutils +# will provide. +# +isaflags-y := $(call as-option,-Wa$(comma)-isa=$(isa-y),) + +isaflags-$(CONFIG_SH_DSP) := \ + $(call as-option,-Wa$(comma)-isa=$(isa-y),-Wa$(comma)-dsp) + +cflags-y += $(isaflags-y) -ffreestanding cflags-$(CONFIG_MORE_COMPILE_OPTIONS) += \ $(shell echo $(CONFIG_COMPILE_OPTIONS) | sed -e 's/"//g') |
From: EXTERNAL B. M. (P. ST-FIR/Eng) <ext...@de...> - 2007-08-21 07:28:27
|
> That's what I was afraid of, you don't support the -isa tuning. Grumble. > This is getting a bit hairy.. how about this? Great, this works.=20 Thanks Markus |