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:
--- glibc-2.2.5-arm-pwrite64.patch ------
Should fix

../sysdeps/unix/sysv/linux/pread.c: In function `__libc_pread':
../sysdeps/unix/sysv/linux/pread.c:52: error: `__NR_pread' undeclared (first use in this function)
../sysdeps/unix/sysv/linux/pread.c:52: error: (Each undeclared identifier is reported only once
../sysdeps/unix/sysv/linux/pread.c:52: error: for each function it appears in.)
make[2]: *** [/home/dank/crosstool-0.28/build/arm-9tdmi-linux-gnu/gcc-3.4.1-glibc-2.2.5/build-glibc/posix/pread.o] Error 1
make[2]: Leaving directory `/home/dank/crosstool-0.28/build/arm-9tdmi-linux-gnu/gcc-3.4.1-glibc-2.2.5/glibc-2.2.5/posix'



Yes, it does.
I applied it before posting here, but fails further on at:
...
programs/ld-collate.c:3742: warning: called from here
programs/linereader.h:145: warning: inlining failed in call to 'lr_ignore_rest': --param large-function-growth limit reached
programs/ld-collate.c:3747: warning: called from here
/tmp/ccvw7pGm.s: Assembler messages:
/tmp/ccvw7pGm.s:5934: Error: bad immediate value for offset (4100)
make[2]: *** [/tmp/crosstool/crosstool-0.28-rc31/build/arm-softfloat-linux-gnu/\
gcc-3.4.1-glibc-2.2.5/build-glibc/locale/ld-collate.o] Error 1
make[2]: Leaving directory `/tmp/crosstool/crosstool-0.28-rc31/build/arm-softfloat-linux-gnu/\
gcc-3.4.1-glibc-2.2.5/glibc-2.2.5/locale'
make[1]: *** [locale/others] Error 2
make[1]: Leaving directory `/tmp/crosstool/crosstool-0.28-rc31/build/arm-softfloat-linux-gnu/\
gcc-3.4.1-glibc-2.2.5/glibc-2.2.5'
make: *** [all] Error 2


I was little skeptical about the *pwrite64.patch patch as it was for 64bit cpus, and though it had something to do with the error above...

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]