* build error about current git @ 2006-04-04 1:22 Yoichi Yuasa 2006-04-04 2:04 ` Stephen P. Becker 2006-04-04 10:43 ` Ralf Baechle 0 siblings, 2 replies; 6+ messages in thread From: Yoichi Yuasa @ 2006-04-04 1:22 UTC (permalink / raw) To: linux-mips Hi, I got the following error, when I built the kernel using current git. Yoichi $ make tb0287_defconfig . . . gcc: 0: No such file or directory gcc: unrecognized option `-G' gcc: unrecognized option `-EL' cc1: error: invalid option `no-abicalls' $ make gcc: 0: No such file or directory gcc: unrecognized option `-G' gcc: unrecognized option `-EL' cc1: error: invalid option `no-abicalls' CHK include/linux/version.h HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/split-include HOSTCC scripts/basic/docproc HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/kxgettext.o HOSTCC scripts/kconfig/mconf.o HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf scripts/kconfig/conf -s arch/mips/Kconfig # # using defaults found in .config # gcc: 0: No such file or directory gcc: unrecognized option `-G' gcc: unrecognized option `-EL' cc1: error: invalid option `no-abicalls' SPLIT include/linux/autoconf.h -> include/config/* CC arch/mips/kernel/asm-offsets.s gcc: cannot specify -o with -c or -S and multiple compilations make[1]: *** [arch/mips/kernel/asm-offsets.s] Error 1 make: *** [prepare0] Error 2 $ gcc -v Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux Thread model: posix gcc version 3.3.5 (Debian 1:3.3.5-13) ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: build error about current git 2006-04-04 1:22 build error about current git Yoichi Yuasa @ 2006-04-04 2:04 ` Stephen P. Becker 2006-04-04 3:52 ` Yoichi Yuasa 2006-04-04 10:43 ` Ralf Baechle 1 sibling, 1 reply; 6+ messages in thread From: Stephen P. Becker @ 2006-04-04 2:04 UTC (permalink / raw) To: Yoichi Yuasa; +Cc: linux-mips Yoichi Yuasa wrote: > Hi, > > I got the following error, when I built the kernel using current git. > > Yoichi Why don't you take a closer look at the output of "gcc -v" which you pasted below, and then you tell us why your x86 toolchain can't build a mips kernel. -Steve > $ gcc -v > Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs > Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux > Thread model: posix > gcc version 3.3.5 (Debian 1:3.3.5-13) > > > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: build error about current git 2006-04-04 2:04 ` Stephen P. Becker @ 2006-04-04 3:52 ` Yoichi Yuasa 0 siblings, 0 replies; 6+ messages in thread From: Yoichi Yuasa @ 2006-04-04 3:52 UTC (permalink / raw) To: Stephen P. Becker; +Cc: yoichi_yuasa, linux-mips Hi, On Mon, 03 Apr 2006 22:04:03 -0400 "Stephen P. Becker" <geoman@gentoo.org> wrote: > Yoichi Yuasa wrote: > > Hi, > > > > I got the following error, when I built the kernel using current git. > > > > Yoichi > > Why don't you take a closer look at the output of "gcc -v" which you > pasted below, and then you tell us why your x86 toolchain can't build a > mips kernel. Because, the first error occurs in using HOSTCC. mips toolchain is $ mipsel-linux-gcc -v Reading specs from /usr/local/cross/lib/gcc-lib/mipsel-linux/3.3.2/specs Configured with: ../gcc-3.3.2/configure --target=mipsel-linux --prefix=/usr/local/cross --enable-languages=c --without-headers --disable-shared --disable-threads : (reconfigured) ../gcc-3.3.2/configure --target=mipsel-linux --prefix=/usr/local/cross --enable-languages=c --without-headers --disable-shared --disable-threads : (reconfigured) ../gcc-3.3.2/configure --target=mipsel-linux --prefix=/usr/local/cross --enable-languages=c --without-headers --disable-shared --disable-threads : (reconfigured) ../gcc-3.3.2/configure --target=mipsel-linux --prefix=/usr/local/cross --enable-languages=c --disable-shared Thread model: posix gcc version 3.3.2 Yoichi ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: build error about current git 2006-04-04 1:22 build error about current git Yoichi Yuasa 2006-04-04 2:04 ` Stephen P. Becker @ 2006-04-04 10:43 ` Ralf Baechle 2006-04-04 11:48 ` Yoichi Yuasa 1 sibling, 1 reply; 6+ messages in thread From: Ralf Baechle @ 2006-04-04 10:43 UTC (permalink / raw) To: Yoichi Yuasa; +Cc: linux-mips On Tue, Apr 04, 2006 at 10:22:21AM +0900, Yoichi Yuasa wrote: > I got the following error, when I built the kernel using current git. > > Yoichi > > $ make tb0287_defconfig > . > . > . > gcc: 0: No such file or directory > gcc: unrecognized option `-G' > gcc: unrecognized option `-EL' > cc1: error: invalid option `no-abicalls' It seems to happen because no SYS_HAS_CPU_xxx is set for this config, so no CONFIG_CPU_VR41XX option will be choosen either, similar for a bunch of other settings. Below patch fixes make tb0287_defconfig but you may want to add some further settings such select SYS_SUPPORTS_32BIT_KERNEL if EXPERIMENTAL Just let me know, Ralf Signed-off-by: Ralf Baechle <ralf@linux-mips.org> diff --git a/arch/mips/vr41xx/Kconfig b/arch/mips/vr41xx/Kconfig index a7add16..ea21094 100644 --- a/arch/mips/vr41xx/Kconfig +++ b/arch/mips/vr41xx/Kconfig @@ -4,6 +4,8 @@ config CASIO_E55 select DMA_NONCOHERENT select IRQ_CPU select ISA + select SYS_HAS_CPU_VR41XX + select SYS_SUPPORTS_32BIT_KERNEL select SYS_SUPPORTS_LITTLE_ENDIAN config IBM_WORKPAD @@ -12,6 +14,8 @@ config IBM_WORKPAD select DMA_NONCOHERENT select IRQ_CPU select ISA + select SYS_HAS_CPU_VR41XX + select SYS_SUPPORTS_32BIT_KERNEL select SYS_SUPPORTS_LITTLE_ENDIAN config NEC_CMBVR4133 @@ -21,12 +25,18 @@ config NEC_CMBVR4133 select DMA_NONCOHERENT select IRQ_CPU select HW_HAS_PCI + select SYS_HAS_CPU_VR41XX + select SYS_SUPPORTS_32BIT_KERNEL + select SYS_SUPPORTS_LITTLE_ENDIAN config ROCKHOPPER bool "Support for Rockhopper baseboard" depends on NEC_CMBVR4133 select I8259 select HAVE_STD_PC_SERIAL_PORT + select SYS_HAS_CPU_VR41XX + select SYS_SUPPORTS_32BIT_KERNEL + select SYS_SUPPORTS_LITTLE_ENDIAN config TANBAC_TB022X bool "Support for TANBAC VR4131 multichip module and TANBAC VR4131DIMM" @@ -34,6 +44,8 @@ config TANBAC_TB022X select DMA_NONCOHERENT select HW_HAS_PCI select IRQ_CPU + select SYS_HAS_CPU_VR41XX + select SYS_SUPPORTS_32BIT_KERNEL select SYS_SUPPORTS_LITTLE_ENDIAN help The TANBAC VR4131 multichip module(TB0225) and @@ -46,6 +58,9 @@ config TANBAC_TB0226 bool "Support for TANBAC Mbase(TB0226)" depends on TANBAC_TB022X select GPIO_VR41XX + select SYS_HAS_CPU_VR41XX + select SYS_SUPPORTS_32BIT_KERNEL + select SYS_SUPPORTS_LITTLE_ENDIAN help The TANBAC Mbase(TB0226) is a MIPS-based platform manufactured by TANBAC. @@ -54,6 +69,9 @@ config TANBAC_TB0226 config TANBAC_TB0287 bool "Support for TANBAC Mini-ITX DIMM base(TB0287)" depends on TANBAC_TB022X + select SYS_HAS_CPU_VR41XX + select SYS_SUPPORTS_32BIT_KERNEL + select SYS_SUPPORTS_LITTLE_ENDIAN help The TANBAC Mini-ITX DIMM base(TB0287) is a MIPS-based platform manufactured by TANBAC. @@ -65,6 +83,8 @@ config VICTOR_MPC30X select DMA_NONCOHERENT select HW_HAS_PCI select IRQ_CPU + select SYS_HAS_CPU_VR41XX + select SYS_SUPPORTS_32BIT_KERNEL select SYS_SUPPORTS_LITTLE_ENDIAN config ZAO_CAPCELLA @@ -73,6 +93,8 @@ config ZAO_CAPCELLA select DMA_NONCOHERENT select HW_HAS_PCI select IRQ_CPU + select SYS_HAS_CPU_VR41XX + select SYS_SUPPORTS_32BIT_KERNEL select SYS_SUPPORTS_LITTLE_ENDIAN config PCI_VR41XX ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: build error about current git 2006-04-04 10:43 ` Ralf Baechle @ 2006-04-04 11:48 ` Yoichi Yuasa 2006-04-04 12:22 ` Ralf Baechle 0 siblings, 1 reply; 6+ messages in thread From: Yoichi Yuasa @ 2006-04-04 11:48 UTC (permalink / raw) To: Ralf Baechle; +Cc: yoichi_yuasa, linux-mips Hello Ralf, On Tue, 4 Apr 2006 11:43:36 +0100 Ralf Baechle <ralf@linux-mips.org> wrote: > On Tue, Apr 04, 2006 at 10:22:21AM +0900, Yoichi Yuasa wrote: > > > I got the following error, when I built the kernel using current git. > > > > Yoichi > > > > $ make tb0287_defconfig > > . > > . > > . > > gcc: 0: No such file or directory > > gcc: unrecognized option `-G' > > gcc: unrecognized option `-EL' > > cc1: error: invalid option `no-abicalls' > > It seems to happen because no SYS_HAS_CPU_xxx is set for this config, > so no CONFIG_CPU_VR41XX option will be choosen either, similar for a > bunch of other settings. Below patch fixes make tb0287_defconfig but > you may want to add some further settings such > > select SYS_SUPPORTS_32BIT_KERNEL if EXPERIMENTAL > > Just let me know, ROCKHOPPER, TB0226 and TB0287 are only base board(CPU is not included in these boards). These configs don't need "select SYS_HAS_CPU_VR41XX" and "select SYS_SUPPORTS_32BIT_KERNEL". Thanks, Yoichi Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> diff -pruN -X dontdiff mips-orig/arch/mips/vr41xx/Kconfig mips/arch/mips/vr41xx/Kconfig --- mips-orig/arch/mips/vr41xx/Kconfig 2006-04-04 20:27:53.335428500 +0900 +++ mips/arch/mips/vr41xx/Kconfig 2006-04-04 20:37:51.396805000 +0900 @@ -4,6 +4,8 @@ config CASIO_E55 select DMA_NONCOHERENT select IRQ_CPU select ISA + select SYS_HAS_CPU_VR41XX + select SYS_SUPPORTS_32BIT_KERNEL select SYS_SUPPORTS_LITTLE_ENDIAN config IBM_WORKPAD @@ -12,6 +14,8 @@ config IBM_WORKPAD select DMA_NONCOHERENT select IRQ_CPU select ISA + select SYS_HAS_CPU_VR41XX + select SYS_SUPPORTS_32BIT_KERNEL select SYS_SUPPORTS_LITTLE_ENDIAN config NEC_CMBVR4133 @@ -21,6 +25,9 @@ config NEC_CMBVR4133 select DMA_NONCOHERENT select IRQ_CPU select HW_HAS_PCI + select SYS_HAS_CPU_VR41XX + select SYS_SUPPORTS_32BIT_KERNEL + select SYS_SUPPORTS_LITTLE_ENDIAN config ROCKHOPPER bool "Support for Rockhopper baseboard" @@ -34,6 +41,8 @@ config TANBAC_TB022X select DMA_NONCOHERENT select HW_HAS_PCI select IRQ_CPU + select SYS_HAS_CPU_VR41XX + select SYS_SUPPORTS_32BIT_KERNEL select SYS_SUPPORTS_LITTLE_ENDIAN help The TANBAC VR4131 multichip module(TB0225) and @@ -65,6 +74,8 @@ config VICTOR_MPC30X select DMA_NONCOHERENT select HW_HAS_PCI select IRQ_CPU + select SYS_HAS_CPU_VR41XX + select SYS_SUPPORTS_32BIT_KERNEL select SYS_SUPPORTS_LITTLE_ENDIAN config ZAO_CAPCELLA @@ -73,6 +84,8 @@ config ZAO_CAPCELLA select DMA_NONCOHERENT select HW_HAS_PCI select IRQ_CPU + select SYS_HAS_CPU_VR41XX + select SYS_SUPPORTS_32BIT_KERNEL select SYS_SUPPORTS_LITTLE_ENDIAN config PCI_VR41XX ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: build error about current git 2006-04-04 11:48 ` Yoichi Yuasa @ 2006-04-04 12:22 ` Ralf Baechle 0 siblings, 0 replies; 6+ messages in thread From: Ralf Baechle @ 2006-04-04 12:22 UTC (permalink / raw) To: Yoichi Yuasa; +Cc: linux-mips On Tue, Apr 04, 2006 at 08:48:47PM +0900, Yoichi Yuasa wrote: > ROCKHOPPER, TB0226 and TB0287 are only base board(CPU is not included in these boards). > These configs don't need "select SYS_HAS_CPU_VR41XX" and "select SYS_SUPPORTS_32BIT_KERNEL". All right, applied. Ralf ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-04-04 12:11 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-04-04 1:22 build error about current git Yoichi Yuasa 2006-04-04 2:04 ` Stephen P. Becker 2006-04-04 3:52 ` Yoichi Yuasa 2006-04-04 10:43 ` Ralf Baechle 2006-04-04 11:48 ` Yoichi Yuasa 2006-04-04 12:22 ` Ralf Baechle
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.