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]

compile probblem with arm-linux-gcc


I downloaded the very cool binutils and gcc (and so on) from
http://www.endebian.com. They provide cross developement tools in *.deb and
*.rpm format. (I run debian woody)

then, I created a few symbolic links because eCos calls the tools arm-elf-gcc
etc and in the packages they are called arm-linux-gcc.
I created links for ar, gcc, as and objcopy. Is anything else needed? 

When I compile the system (make -k) three files fail to compile with errors of
the assembler:

rm-elf-gcc -c  -I/home/andi/ecos-work/install/include -I/home/andi/ecos/ecos/packages/kernel/current -I/home/andi/ecos/ecos/packages/kernel/current/src -I/home/andi/ecos/ecos/packages/kernel/current/tests -I. -I/home/andi/ecos/ecos/packages/kernel/current/src/common/ -mcpu=strongarm1100 -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/common/thread.tmp -o src/common/kernel_thread.o /home/andi/ecos/ecos/packages/kernel/current/src/common/thread.cxx
src/common/kernel_thread.o: File truncated
/tmp/cc3pNX0s.s: Assembler messages:
/tmp/cc3pNX0s.s:4333: FATAL: Can't write src/common/kernel_thread.o: File truncated
make[1]: *** [src/common/thread.o.d] Error 1
arm-elf-gcc -c  -I/home/andi/ecos-work/install/include -I/home/andi/ecos/ecos/packages/kernel/current -I/home/andi/ecos/ecos/packages/kernel/current/src -I/home/andi/ecos/ecos/packages/kernel/current/tests -I. -I/home/andi/ecos/ecos/packages/kernel/current/src/sched/ -mcpu=strongarm1100 -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/sched/sched.tmp -o src/sched/kernel_sched.o /home/andi/ecos/ecos/packages/kernel/current/src/sched/sched.cxx
src/sched/kernel_sched.o: File truncated
/tmp/cckMCQOO.s: Assembler messages:
/tmp/cckMCQOO.s:1267: FATAL: Can't write src/sched/kernel_sched.o: File truncated
make[1]: *** [src/sched/sched.o.d] Error 1
arm-elf-gcc -c  -I/home/andi/ecos-work/install/include -I/home/andi/ecos/ecos/packages/kernel/current -I/home/andi/ecos/ecos/packages/kernel/current/src -I/home/andi/ecos/ecos/packages/kernel/current/tests -I. -I/home/andi/ecos/ecos/packages/kernel/current/src/sync/ -mcpu=strongarm1100 -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/sync/mutex.tmp -o src/sync/kernel_mutex.o /home/andi/ecos/ecos/packages/kernel/current/src/sync/mutex.cxx
src/sync/kernel_mutex.o: File truncated
/tmp/ccjWmSXh.s: Assembler messages:
/tmp/ccjWmSXh.s:2493: FATAL: Can't write src/sync/kernel_mutex.o: File truncated
make[1]: *** [src/sync/mutex.o.d] Error 1
make[1]: Target `build' not remade because of errors.
make[1]: Leaving directory `/home/andi/ecos-work/kernel/current'
make: *** [build] Error 2

What could I do? This is nothing I am familiar with.

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