This is the mail archive of the
ecos-devel@sources.redhat.com
mailing list for the eCos project.
PowerPC 405D5: 'Error: too many positional arguments' because of vectors.S with gcc-2.95.2
- From: Stefan Rosinger <a_jedi_night4u at gmx dot at>
- To: ecos-devel at sources dot redhat dot com
- Date: Sat, 09 Oct 2004 20:48:55 +0200
- Subject: PowerPC 405D5: 'Error: too many positional arguments' because of vectors.S with gcc-2.95.2
Hi at all!
I want to build eCos 2.0 for a PowerPC 405(integrated in Virtex-II Pro of
Xilinx).
With gcc 2.95.2 I get the following error message:
powerpc-eabi-gcc -Wp,-MD,vectors.tmp
-I/ecos-e/eCos/redboot/virtex2p_redboot_install/include
-I/ecos-d/Cygwin/cvs/ecos/ecos/packages/hal/powerpc/arch/current
-I/ecos-d/Cygwin/cvs/ecos/ecos/packages/hal/powerpc/arch/current/src
-I/ecos-d/Cygwin/cvs/ecos/ecos/packages/hal/powerpc/arch/current/tests -I.
-msoft-float -mcpu=405 -Wa,-m405 -Wall -Wpointer-arith -Wstrict-prototypes
-Winline -Wundef -Woverloaded-virtual -g -O0 -ffunction-sections
-fdata-sections -fno-rtti -fno-exceptions -g -O0 -Wa,-an, -c -o
/ecos-e/eCos/redboot/virtex2p_redboot_install/lib/vectors.o
/ecos-d/Cygwin/cvs/ecos/ecos/packages/hal/powerpc/arch/current/src/vectors.S
/ecos-d/Cygwin/cvs/ecos/ecos/packages/hal/powerpc/arch/current/src/vectors.S:
Assembler messages:
/ecos-d/Cygwin/cvs/ecos/ecos/packages/hal/powerpc/arch/current/src/vectors.S:720:
Error: too many positional arguments
make[1]: *** [/ecos-e/eCos/redboot/virtex2p_redboot_install/lib/vectors.o]
Error 1
make[1]: Leaving directory
`/ecos-e/eCos/redboot/virtex2p_redboot_build/hal/powerpc/arch/current'
make: *** [build] Error 2
make: Leaving directory `/ecos-e/eCos/redboot/virtex2p_redboot_build'
-----------------------------------
The vectors.S file gives me at this position:
hal_intc_decode r15,r14 # get table index
-----------------------------------
Would could I do wrong?
Maybe a new gcc could help? If yes, which newer one works fine with
powerpc 405?
Thx for any advise!
Stefan