This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: eCos 3.0 beta 1 now available for download


On Thu, Feb 26, 2009 at 11:51:06AM +0100, Ilija Kocho wrote:
> Here's my report from testing MAC7100EVB:
> 
> Host environment: Ubuntu 8.10 (64bit) on DELL Vostro 1510 2GB RAM
> 
> I tested "default" package configuration since it includes all MAC7100 
> components.
> 
> 1.
> Kernel compiled with 1 warning which i fixed and I shall send patch on 
> Bugzilla.
> 
> 2.
> Test application compiles (and runs correctly) with following warnings:
> 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
> 
> I know these compiler flags come from ECOS_GLOBAL_CFLAGS but i need 
> info. how to get rid of them. Can I just remove them from 
> hal_arm_mac7100_mac7100evb.cdl? Btw. they are present in other platforms 
> too (LPC 2xxx, etc.)

Hi Ilija

I do not meet these warnings for LPC2XXX. I digged old post. It was
applied for hal_arm.cdl

http://ecos.sourceware.org/ml/ecos-patches/2007-10/msg00011.html

1) I get just 2 warnings when I build kernel/tests for LPC2XXX target

/tmp/t$ echo $ECOS_REPOSITORY 
/opt/ecos/ecos-3.0b1/packages

/tmp/t$ which arm-eabi-gcc
/opt/ecos/gnutools/arm-eabi/bin/arm-eabi-gcc

/tmp/t$ ecosconfig new olpch2294 kernel;ecosconfig tree&&make -s&&make -s tests
U CYGHWR_HAL_ARM_LPC2XXX, new inferred value LPC2294
headers finished
/opt/ecos/ecos-3.0b1/packages/hal/arm/lpc2xxx/var/v3_0b1/src/hal_diag.c: In function âcyg_hal_plf_serial_isrâ:
/opt/ecos/ecos-3.0b1/packages/hal/arm/lpc2xxx/var/v3_0b1/src/hal_diag.c:260: warning: pointer targets in passing argument 1 of âcyg_hal_is_breakâ differ in signedness
build finished
headers finished
build finished
/opt/ecos/ecos-3.0b1/packages/kernel/v3_0b1/tests/intr0.cxx: In function âvoid intr0_main()â:
/opt/ecos/ecos-3.0b1/packages/kernel/v3_0b1/tests/intr0.cxx:201: warning: the address of âvoid vsr0()â will never be NULL


2) I have no warnings when I compile an application:

/tmp/t$ mkdir foo
/tmp/t$ cd foo
/tmp/t/foo$ echo 'void cyg_start(void){for(;;);}'>foo.c
/tmp/t/foo$ DST=foo SRCS=foo.c /opt/ecos/ecos-3.0b1/examples/build_Makefile ..
/tmp/t/foo$ make -s
/tmp/t/foo$

because a built Make.params contains the substitutions:

ACTUAL_CFLAGS := $(subst -frtti,,$(ACTUAL_CFLAGS))
ACTUAL_CFLAGS := $(subst -Woverloaded-virtual,,$(ACTUAL_CFLAGS))


Regards,

Sergei

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]