From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31380 invoked by alias); 24 Jun 2005 15:37:06 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 31366 invoked by uid 22791); 24 Jun 2005 15:37:01 -0000 Received: from bj44-205.i.netease.com (HELO 163.com) (202.108.44.205) by sourceware.org (qpsmtpd/0.30-dev) with SMTP; Fri, 24 Jun 2005 15:37:01 +0000 Received: from master (unknown [220.192.15.199]) by smtp2 (Coremail) with SMTP id HkBOFX4ovEI24eYD.1 for ; Fri, 24 Jun 2005 23:36:40 +0800 (CST) Date: Fri, 24 Jun 2005 15:37:00 -0000 From: "=?GB2312?B?zuLJ7bn6?=" To: "ecos-discuss" Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit Subject: [ECOS] error of gcc3.4.4 X-SW-Source: 2005-06/txt/msg00250.txt.bz2 Message-ID: <20050624153700.z1t3M6wozQ7-6Utt6_f2QRIeayQyyCHpFClg_r0caKk@z> Hi, I had compiled GCC3.4.4 as my active compiler. under the eCos default gcc3.2.1, I can compile the ecos kernel and redboot. But use the same template, it can't be compiled, the output windows display: =========================================================================================================== sh -c "export PATH=/opt/cvs/gnutools/arm-elf/bin:$PATH; unset GDBTK_LIBRARY; unset GCC_EXEC_PREFIX; export ECOS_REPOSITORY=/opt/cvs/ecos/packages; make --directory /root/lx/easyARM2200/easyarm2200_build" make: Entering directory `/root/lx/easyARM2200/easyarm2200_build' make -r -C hal/arm/arch/current headers make[1]: Entering directory `/root/lx/easyARM2200/easyarm2200_build/hal/arm/arch/current' make[1]: Leaving directory `/root/lx/easyARM2200/easyarm2200_build/hal/arm/arch/current' make -r -C hal/arm/lpc2xxx/var/current headers make[1]: Entering directory `/root/lx/easyARM2200/easyarm2200_build/hal/arm/lpc2xxx/var/current' make[1]: Leaving directory `/root/lx/easyARM2200/easyarm2200_build/hal/arm/lpc2xxx/var/current' make -r -C hal/arm/lpc2xxx/p2106/current headers make[1]: Entering directory `/root/lx/easyARM2200/easyarm2200_build/hal/arm/lpc2xxx/p2106/current' make[1]: Leaving directory `/root/lx/easyARM2200/easyarm2200_build/hal/arm/lpc2xxx/p2106/current' make -r -C hal/common/current headers make[1]: Entering directory `/root/lx/easyARM2200/easyarm2200_build/hal/common/current' make[1]: Leaving directory `/root/lx/easyARM2200/easyarm2200_build/hal/common/current' make -r -C infra/current headers make[1]: Entering directory `/root/lx/easyARM2200/easyarm2200_build/infra/current' make[1]: Leaving directory `/root/lx/easyARM2200/easyarm2200_build/infra/current' make -r -C redboot/current headers make[1]: Entering directory `/root/lx/easyARM2200/easyarm2200_build/redboot/current' make[1]: Leaving directory `/root/lx/easyARM2200/easyarm2200_build/redboot/current' make -r -C isoinfra/current headers make[1]: Entering directory `/root/lx/easyARM2200/easyarm2200_build/isoinfra/current' make[1]: Leaving directory `/root/lx/easyARM2200/easyarm2200_build/isoinfra/current' make -r -C language/c/libc/string/current headers make[1]: Entering directory `/root/lx/easyARM2200/easyarm2200_build/language/c/libc/string/current' make[1]: Leaving directory `/root/lx/easyARM2200/easyarm2200_build/language/c/libc/string/current' make -r -C services/crc/current headers make[1]: Entering directory `/root/lx/easyARM2200/easyarm2200_build/services/crc/current' make[1]: Leaving directory `/root/lx/easyARM2200/easyarm2200_build/services/crc/current' headers finished make -r -C hal/arm/arch/current arm.inc make[1]: Entering directory `/root/lx/easyARM2200/easyarm2200_build/hal/arm/arch/current' arm-elf-gcc -finline-limit=7000 -mthumb-interwork -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -I/root/lx/easyARM2200/easyarm2200_install/include -I/opt/cvs/ecos/packages/hal/arm/arch/current -I/opt/cvs/ecos/packages/hal/arm/arch/current/src -I/opt/cvs/ecos/packages/hal/arm/arch/current/tests -I. -Wp,-MD,arm.tmp -o hal_mk_defs.tmp -S /opt/cvs/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c cc1: error: invalid option `no-short-load-words' cc1: warning: command line option "-Woverloaded-virtual" is valid for C++/ObjC++ but not for C cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C make[1]: Leaving directory `/root/lx/easyARM2200/easyarm2200_build/hal/arm/arch/current' make[1]: *** [arm.inc] Error 1 make: Leaving directory `/root/lx/easyARM2200/easyarm2200_build' make: *** [build] Error 2 ============================================================================== What should I do? thanks. -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss