This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
MIPS64EL problems
- From: Jim Gifford <maillist at jg555 dot com>
- To: libc-ports at sourceware dot org
- Date: Wed, 15 Mar 2006 16:48:36 -0800
- Subject: MIPS64EL problems
I'm trying to cross-compile a mips64el glibc as 64 bit. What is really
strange is that I have it the host --host=mips64el-unknown-linux-gnu
--build=i686-unknown-linux-gnu, I also have CC set to my cross-compiler
with -mabi=64 flag. No matter what I do it compiles as 32bit.
Earlier configure show's this
checking build system type... i686-cross-linux-gnu
checking host system type... mips64el-unknown-linux-gnu
....
checking for mips64el-unknown-linux-gnu-gcc...
mips64el-unknown-linux-gnu-gcc -mel -march=r5000 -mtune=r5000 -mabi=64
Now during make this happens, if not notice -mabi=32 gets added.
sed '/^[ ]*#/d;s/^[ ]*%/#/' csu/Versions iconv/Versions
locale/Versions assert/Versions ctype/Versions intl/Versions
catgets/Versions math/Versions setjmp/Versions signal/Versions
stdlib/Versions stdio-common/Versions libio/Versions dlfcn/Versions
malloc/Versions string/Versions wcsmbs/Versions time/Versions
dirent/Versions grp/Versions pwd/Versions posix/Versions io/Versions
termios/Versions resource/Versions misc/Versions socket/Versions
sysvipc/Versions gmon/Versions wctype/Versions shadow/Versions
argp/Versions crypt/Versions nptl/Versions resolv/Versions nss/Versions
rt/Versions debug/Versions glibc-libidn-2.4/Versions libidn/Versions
nptl_db/Versions inet/Versions hesiod/Versions sunrpc/Versions
nis/Versions streams/Versions login/Versions elf/Versions
glibc-ports-2.4/sysdeps/unix/sysv/linux/mips/Versions
ports/sysdeps/unix/sysv/linux/mips/Versions
nptl/sysdeps/unix/sysv/linux/Versions sysdeps/pthread/Versions
sysdeps/unix/sysv/linux/Versions sysdeps/unix/sysv/Versions
sysdeps/wordsize-32/Versions \
| mips64el-unknown-linux-gnu-gcc -mel -march=r5000 -mtune=r5000 -mabi=64
-mabi=32 -E -undef -Iinclude -I/mnt/raq2/build/glibc-cross-64bit
-Iglibc-ports-2.4/sysdeps/mips/elf -Iports/sysdeps/mips/elf
-Iglibc-ports-2.4/sysdeps/unix/sysv/linux/mips/mips32
-Iports/sysdeps/unix/sysv/linux/mips/mips32
-Iglibc-ports-2.4/sysdeps/unix/sysv/linux/mips/nptl
-Iglibc-ports-2.4/sysdeps/unix/sysv/linux/mips
-Iports/sysdeps/unix/sysv/linux/mips/nptl
-Iports/sysdeps/unix/sysv/linux/mips
-Iglibc-ports-2.4/sysdeps/unix/sysv/linux -Inptl/sysdeps/unix/sysv/linux
-Inptl/sysdeps/pthread -Isysdeps/pthread -Iports/sysdeps/unix/sysv/linux
-Isysdeps/unix/sysv/linux -Isysdeps/gnu -Isysdeps/unix/common
-Isysdeps/unix/mman -Isysdeps/unix/inet
-Iglibc-ports-2.4/sysdeps/unix/sysv -Inptl/sysdeps/unix/sysv
-Iports/sysdeps/unix/sysv -Isysdeps/unix/sysv
-Iglibc-ports-2.4/sysdeps/unix/mips/mips32
-Iports/sysdeps/unix/mips/mips32 -Iglibc-ports-2.4/sysdeps/unix/mips
-Iports/sysdeps/unix/mips -Iglibc-ports-2.4/sysdeps/unix
-Inptl/sysdeps/unix -Iports/sysdeps/unix -Isysdeps/unix -Isysdeps/posix
-Iglibc-ports-2.4/sysdeps/mips/mips32 -Iglibc-ports-2.4/sysdeps/mips
-Isysdeps/ieee754/flt-32 -Isysdeps/ieee754/dbl-64 -Iports/sysdeps/mips
-Isysdeps/wordsize-32 -Iports/sysdeps/mips/mips32
-Iglibc-ports-2.4/sysdeps/mips/fpu -Iports/sysdeps/mips/fpu
-Iglibc-ports-2.4/sysdeps/mips/nptl -Iports/sysdeps/mips/nptl
-Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic
-Iglibc-ports-2.4 -Inptl -Iports -Ilibio -I. -nostdinc -isystem
/mnt/raq2/cross-tools/bin/../lib/gcc/mips64el-unknown-linux-gnu/4.1.0/./include
-isystem /tools/include -D_LIBC_REENTRANT -include
include/libc-symbols.h \
-DASSEMBLER -x assembler-with-cpp - \
> /mnt/raq2/build/glibc-cross-64bit/Versions.v.iT
Any suggestions out there to fix this.
--
----
Jim Gifford
maillist@jg555.com