This is the mail archive of the crossgcc@sourceware.org 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] |
David Daney wrote:Chris MacGregor wrote:Did you use crosstool when you built with glibc 2.6? If so, what patches and env var settings did you use to get it to cooperate with dealing with the ports add-on, lack of linuxthreads, etc.? I'm having a hard time with it.David Daney wrote:Chris MacGregor wrote:for which target?Hi. Specifically, I'm attempting:
gcc-4.2.1 (have been using 3.4.6 with all the other bits below the same)
crosstool-0.43
binutils-2.17
glibc-2.3.6 (using linuxthreads)
for mips:
* gcc configured with --with-float=soft --with-arch=mips32 --with-tune=mips32 --with-endian=little and a bunch of other stuff (see below)
* glibc configured with --without-fp and other stuff
for arm:
* gcc configured with --with-float=soft --with-cpu=xscale --with-endian=little
* glibc configured with --without-fp and other stuff
On mips, the glibc stage of the build fails with:
In file included from ../linuxthreads/sysdeps/unix/sysv/linux/mips/sysdep-cancel.h:22,
from ../sysdeps/unix/sysv/linux/mips/pread.c:29:
../linuxthreads/internals.h:532: warning: C99 inline functions are not supported; using GNU89
../sysdeps/unix/sysv/linux/mips/pread.c: In function '__libc_pread':
../sysdeps/unix/sysv/linux/mips/pread.c:69: error: memory input 7 is not directly addressable
../sysdeps/unix/sysv/linux/mips/pread.c:86: error: memory input 7 is not directly addressable
You could try looking at what the glibc 2.6 does. I recently built that with GCC 4.2.
I wouldn't be surprised if that were the only thing in 2.3.6 that does not work with GCC 4.2
David Daney
mips64-linux, I assume that mipsel-linux would be similar.
David Daney
-- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |