This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: Creating ARM toolchain


Dan Kegel wrote:
Hinko Kocevar wrote:


Once again, grepping for the error message in patches/*/*:


$ cd crossgcc-0.28-rc31/patches
$ grep lfloat */*
gcc-3.4.0/gcc-3.4.0-arm-nolibfloat.patch:# * Removed the extra -lfloat option from LIBGCC_SPEC, since it isn't neede


So try
 cp gcc-3.4.0/gcc-3.4.0-arm-nolibfloat.patch gcc-3.4.1


OK, this time I got a little further ... but it spit out error at
...
make[4]: *** No rule to make target `../sysdeps/unix/sysv/linux/bits/%rrno.h', needed by `/home/xtrm/delo/crosstool-0.28-rc31/build/arm-softfloat-linux-gnu/\
gcc-3.4.1-glibc-2.3.2/build-glibc/linuxthreads/condvar.d'. Stop.
make[4]: Leaving directory `/home/xtrm/delo/crosstool-0.28-rc31/build/arm-softfloat-linux-gnu/\
gcc-3.4.1-glibc-2.3.2/glibc-2.3.2/linuxthreads'
make[3]: *** [/home/xtrm/delo/crosstool-0.28-rc31/build/arm-softfloat-linux-gnu/\
gcc-3.4.1-glibc-2.3.2/build-glibc/linuxthreads/rtld-forward.os] Error 2
make[3]: Leaving directory `/home/xtrm/delo/crosstool-0.28-rc31/build/arm-softfloat-linux-gnu/\
gcc-3.4.1-glibc-2.3.2/glibc-2.3.2/elf'
make[2]: *** [/home/xtrm/delo/crosstool-0.28-rc31/build/arm-softfloat-linux-gnu/\
gcc-3.4.1-glibc-2.3.2/build-glibc/elf/rtld-libc.a] Error 2
make[2]: Leaving directory `/home/xtrm/delo/crosstool-0.28-rc31/build/arm-softfloat-linux-gnu/\
gcc-3.4.1-glibc-2.3.2/glibc-2.3.2/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/home/xtrm/delo/crosstool-0.28-rc31/build/arm-softfloat-linux-gnu/\
gcc-3.4.1-glibc-2.3.2/glibc-2.3.2'
make: *** [all] Error 2


Now, grepping for "%rrno" didn't produce any results and looking for "condvar" gives several results in glibc-2.1.3/rh62-00-glibc-2.1.3.patch, none of them seem relevant... I think there sould be "errno.h" instead of "%rrno.h".

As for your other error,
> eval `cat arm-softfloat.dat gcc-3.4.1-glibc-2.2.5.dat` sh all.sh --notest
> fails with
> ...
> ../sysdeps/unix/sysv/linux/pread.c: In function `__libc_pread':
> ../sysdeps/unix/sysv/linux/pread.c:52: error: `__NR_pread' undeclared


$ grep __NR_pread */*
finds a couple patches for a similar problem for alpha and sparc64,
maybe you could try using the alpha version as an example for
how to fix this.  If it works, please let me know.

Yet to try this one.


regards,
h

--
hinko <dot> kocevar <at> iskramedical <dot> si
Hinko Kocevar, developer
Iskra Medical d.o.o., Stegne 23, 1k LJ, SLO-EU

"Aì rén" | [Analects XII:22]

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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