This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
compiling redboot -> File truncated
- From: Konstantin Kletschke <konsti at ludenkalle dot de>
- To: ecos-discuss at sources dot redhat dot com
- Date: Tue, 16 Sep 2003 11:24:20 +0200
- Subject: [ECOS] compiling redboot -> File truncated
- Reply-to: konsti at ludenkalle dot de
Hi there!
My boss ordered a BDI2000 and so I am giving redboot a new try on my
eb40a. For learning/failure prevention purposes I installed the
cross-2.95.3.tar.bz2 binary toolchain from www.arm.linux.org.uk
into /usr/local/arm.
It uses arm-linux-gcc instead of arm-elf-gcc, so I told ecos the new
name of the binary in ecos.ecc:
cdl_option CYGBLD_GLOBAL_COMMAND_PREFIX {
# Flavor: data
user_value arm-linux
# value_source user
# Default value: arm-elf
# };
before issuing ecosconfig.tree.
I use an cvs tree which is from yesterday IIRC.
Than this happens:
arm-linux-gcc -c -I/usr/src/ecos/2003-09-15-rb-RAM/install/include
-I/usr/src/ecos/cvs/ecos/packages/kernel/current
-I/usr/src/ecos/cvs/ecos/packages/kernel/current/src
-I/usr/src/ecos/cvs/ecos/packages/kernel/current/tests -I.
-I/usr/src/ecos/cvs/ecos/packages/kernel/current/src/common/
-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
-fvtable-gc -finit-priority -Wp,-MD,src/common/thread.tmp -o
src/common/kernel_thread.o
/usr/src/ecos/cvs/ecos/packages/kernel/current/src/common/thread.cxx
src/common/kernel_thread.o: File truncated
/tmp/ccqqXemv.s: Assembler messages:
/tmp/ccqqXemv.s:5755: FATAL: Can't write src/common/kernel_thread.o:
File truncated
make[1]: *** [src/common/thread.o.d] Error 1
make[1]: Leaving directory
`/usr/src/ecos/2003-09-15-rb-RAM/kernel/current'
make: *** [build] Error 2
I double checked, that the user has konsti has all rights to write into
whole /usr/src and the partitition has a couple of free discspace
available.
By the way, which toolchain is considered being failsafe compiling a
redboot image for eb40a?
Because testing the 3.2 toolchain results in:
/usr/src/ecos/cvs/ecos/packages/language/c/libc/stdio/current/src/input/fgetc.cxx:129:
`
int getc(CYG_ADDRESS (*)[9999])' defined both normally and as an
alias
make[1]: *** [src/input/fgetc.o.d] Error 1
make[1]: Leaving directory
`/usr/src/ecos/2003-09-15-rb-RAM/language/c/libc/stdio/current'
make: *** [build] Error 2
Regards, Konstantin
--
2.6.0-test1-mm2
Konstantin Kletschke <konsti@ludenkalle.de>, <konsti@ku-gbr.de>
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
keulator.homelinux.org up 1:17, 11 users
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss