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] |
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
I don't have a solution for that problem. Can you create a minimal test case for this? i.e. take command that failed from log, and turn it into a shell script that does #!/bin/sh PATH=...the path from the log... export PATH cd ...the directory from the log... [the command that failed] Run that script, verify it fails in same way Then add -E to the gcc command, remove -o ld-collate.o, and save result in ld-collate.i Compile ld-collate.i and verify same error Repeat: Back up ld-collate.i Delete lines from ld-collate.i Verify error still happens on smaller file until ld-collate.i is as small as possible
Compile minimal ld-collate.i with -save-temps Post both ld-collate.i and ld-collate.s
Thanks! - Dan
------ 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] |