This is the mail archive of the ecos-discuss@sources.redhat.com 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: powerpc-eabi on cygwin


Hi,

I am having a similar problem when making the eCos library using the current CVS
sources.  I am also using cygwin and the prebuilt powerpc-eabi toolchain.  The
error below occurs when compiling hal_mk_defs.c.  I don't get the error when
using a powerpc-eabi toolchain I built about a year ago.

Paul Randall
Delta Information Systems

...
make -r -C io/wallclock/current headers
make[1]: Entering directory `/opt/testlib/io/wallclock/current'
make[1]: Leaving directory `/opt/testlib/io/wallclock/current'
make -r -C error/current headers
make[1]: Entering directory `/opt/testlib/error/current'
make[1]: Leaving directory `/opt/testlib/error/current'
headers finished
make -r -C hal/powerpc/arch/current
/ecos-c/cygwin/opt/testlib/install/include/cyg/hal/ppc_offsets.inc
make[1]: Entering directory `/opt/testlib/hal/powerpc/arch/current'
powerpc-eabi-gcc -msoft-float -mcpu=860 -Wall -Wpointer-arith
-Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2
-ffunction-sections -fdata-sections -fno-rtti -fno-exceptions
-fvtable-gc -finit-priority
-I/ecos-c/cygwin/opt/testlib/install/include
-I/ecos-c/cygwin/opt/ecoscvs/ecos/packages/hal/powerpc/arch/current
-I/ecos-c/cygwin/opt/ecoscvs/ecos/packages/hal/powerpc/arch/current/src
-I/ecos-c/cygwin/opt/ecoscvs/ecos/packages/hal/powerpc/arch/current/tests
-I.
 -Wp,-MD,ppc_offsets.tmp -o hal_mk_defs.tmp -S
/ecos-c/cygwin/opt/ecoscvs/ecos/packages/hal/powerpc/arch/current/src/hal_mk_defs.c

cc1: format string has invalid operand number
cc1: format string has invalid operand number
cc1: format string has invalid operand number
cc1: format string has invalid operand number
cc1: format string has invalid operand number
cc1: format string has invalid operand number
cc1: variable-size type declared outside of any function

/ecos-c/cygwin/opt/ecoscvs/ecos/packages/hal/powerpc/arch/current/src/hal_mk_defs.c:1:

confused by earlier errors, bailing out
make[1]: ***
[/ecos-c/cygwin/opt/testlib/install/include/cyg/hal/ppc_offsets.inc]
Error 1
make[1]: Leaving directory `/opt/testlib/hal/powerpc/arch/current'
make: *** [build] Error 2

chandrag at danlawinc dot com wrote:

> Hi,
>
>   I am trying to compile ecos for a powerpc target in cygwin environment.
> Make exits by printing the following errors.  I downloaded the gnu tools
> for cygwin from ecoscentric.  There is no problem in building the same
> ecos sources under linux.
>
>   What could be the problem?
>
> Thanks in advance,
> chandra
> ----------------------------------------------------------------------------
> ----
> powerpc-eabi-gcc -c  -I/home/chandra/ecos-app/app_install/include
> -I/ecos_5th_Fe
> b2003/ecos/packages/hal/common/current
> -I/ecos_5th_Feb2003/ecos/packages/hal/com
> mon/current/src -I/ecos_5th_Feb2003/ecos/packages/hal/common/current/tests
> -I. -
> I/ecos_5th_Feb2003/ecos/packages/hal/common/current/src/ -msoft-float
> -mcpu=860
> -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef
> -Woverloaded-virtual
> -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions
> -fvtable-gc
>  -finit-priority -Wp,-MD,src/drv_api.tmp -o src/hal_common_drv_api.o
> /ecos_5th_F
> eb2003/ecos/packages/hal/common/current/src/drv_api.c
> cc1: format string has invalid operand number
> cc1: format string has invalid operand number
> cc1: format string has invalid operand number
> cc1: format string has invalid operand number
> cc1: format string has invalid operand number
> cc1: format string has invalid operand number
> cc1: variable-size type declared outside of any function
> /ecos_5th_Feb2003/ecos/packages/hal/common/current/src/drv_api.c:1: confused
> by
> earlier errors, bailing out
> make[1]: *** [src/drv_api.o.d] Error 1
> make[1]: Leaving directory
> `/home/chandra/ecos-app/app_build/hal/common/current'
>
> make: *** [build] Error 2
>
> ----------------------------------------------------------------------------
> ----
>
> The following command at bash$ prompt also fails with error messages.
>
> ----------------------------------------------------------------------------
> ----
> $ powerpc-eabi-gcc -c test.c
> cc1: Internal compiler error in size_binop, at fold-const.c:2014
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
> ----------------------------------------------------------------------------
> -----
>
> --
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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


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