This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problems with MIPS cross compiling for GCC-4.1.0...
- From: Eric Christopher <echristo at redhat dot com>
- To: "Steven J. Hill" <sjhill at realitydiluted dot com>
- Cc: crossgcc at sources dot redhat dot com, gcc at gcc dot gnu dot org
- Date: Mon, 18 Apr 2005 21:18:40 -0700
- Subject: Re: Problems with MIPS cross compiling for GCC-4.1.0...
- References: <42647BCA.5030404@realitydiluted.com>
> the patch just for the sake of discussion. Does anyone have some
> insight on this? I am using binutils-2.15, glibc-2.3.4, 2.6.12-rc2
> kernel headers and gcc-4.1.0-20050418. Thanks.
>
I'd use 2.16 binutils, especially if using mainline gcc, but that's not
as relevant here...
> /home/sjhill/mips-nptl/crosstool-0.31-nptl/build/mips-unknown-linux-gnu/gcc-4.1.0-20050418-glibc-2.3.4/build-glibc/posix/pread.o
> ../sysdeps/unix/sysv/linux/mips/pread.c: In function '__libc_pread':
> ../sysdeps/unix/sysv/linux/mips/pread.c:69: error: memory input 6 is not
> directly addressable
> ../sysdeps/unix/sysv/linux/mips/pread.c:86: error: memory input 6 is not
> directly addressable
Probably a problem with the INLINE_SYSCALL macro? Can you post a smaller
preprocessed testcase? (or at the outside the preprocessed file)
-eric