This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Compile errors on mips64
- From: Khem Raj <kraj at mvista dot com>
- To: libc-ports at sourceware dot org
- Date: Tue, 20 Feb 2007 12:09:27 -0800
- Subject: Compile errors on mips64
Hi
I am getting the following compile errors when building glibc trunk. for
mips n64 ABI. (-mabi=64)
Anyone seeing this problem.
Thanks
-Khem
mips64_fp_be-gcc -mabi=64 dl-reloc.c -c -std=gnu99 -O2 -Wall -Winline -Wwrite-strings -finline-limit-10000 -fmerge-all-constants -g -Wstrict-prototypes -I../include -I/home/build/BUILD/glibc-2.5.90/objdir_n64/elf -I/home/build/BUILD/glibc-2.5.90/objdir_n64 -I../ports/sysdeps/mips/elf -I../ports/sysdeps/unix/sysv/linux/mips/mips64/n64 -I../ports/sysdeps/unix/sysv/linux/mips/mips64/nptl -I../ports/sysdeps/unix/sysv/linux/mips/mips64 -I../ports/sysdeps/unix/sysv/linux/mips/nptl -I../ports/sysdeps/unix/sysv/linux/mips -I../ports/sysdeps/unix/sysv/linux -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../ports/sysdeps/unix/sysv -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../ports/sysdeps/unix/mips/mips64/n64 -I../ports/sysdeps/unix/mips/mips64 -I../ports/sysdeps/unix/mips -I../ports/sysdeps/unix -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../ports/sysdeps/mips/mips64/n64/fpu -I../sysdeps/ieee754/ldbl-128 -I../ports/sysdeps/mips/mips64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../ports/sysdeps/mips/fpu -I../ports/sysdeps/mips -I../sysdeps/wordsize-64 -I../ports/sysdeps/mips/mips64/n64 -I../ports/sysdeps/mips/nptl -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../ports -I../nptl -I.. -I../libio -I. -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -o /home/build/BUILD/glibc-2.5.90/objdir_n64/elf/dl-reloc.o -MD -MP -MF /home/build/BUILD/glibc-2.5.90/objdir_n64/elf/dl-reloc.o.dt -MT /home/build/BUILD/glibc-2.5.90/objdir_n64/elf/dl-reloc.o
In file included from dynamic-link.h:63,
from dl-reloc.c:264:
../ports/sysdeps/mips/dl-machine.h: In function 'elf_machine_reloc':
../ports/sysdeps/mips/dl-machine.h:311: error: cast to union type from type not present in union
../ports/sysdeps/mips/dl-machine.h:311: error: cast to union type from type not present in union
../ports/sysdeps/mips/dl-machine.h:311: error: cast to union type from type not present in union
../ports/sysdeps/mips/dl-machine.h:311: error: cast to union type from type not present in union
../ports/sysdeps/mips/dl-machine.h:379: error: cast to union type from type not present in union
../ports/sysdeps/mips/dl-machine.h:444: error: cast to union type from type not present in union
../ports/sysdeps/mips/dl-machine.h:474: error: cast to union type from type not present in union
mips64_fp_be-gcc -mabi=64 dl-deps.c -c -std=gnu99 -O2 -Wall -Winline -Wwrite-strings -finline-limit-10000 -fmerge-all-constants -g -Wstrict-prototypes -I../include -I/home/build/BUILD/glibc-2.5.90/objdir_n64/elf -I/home/build/BUILD/glibc-2.5.90/objdir_n64 -I../ports/sysdeps/mips/elf -I../ports/sysdeps/unix/sysv/linux/mips/mips64/n64 -I../ports/sysdeps/unix/sysv/linux/mips/mips64/nptl -I../ports/sysdeps/unix/sysv/linux/mips/mips64 -I../ports/sysdeps/unix/sysv/linux/mips/nptl -I../ports/sysdeps/unix/sysv/linux/mips -I../ports/sysdeps/unix/sysv/linux -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../ports/sysdeps/unix/sysv -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../ports/sysdeps/unix/mips/mips64/n64 -I../ports/sysdeps/unix/mips/mips64 -I../ports/sysdeps/unix/mips -I../ports/sysdeps/unix -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../ports/sysdeps/mips/mips64/n64/fpu -I../sysdeps/ieee754/ldbl-128 -I../ports/sysdeps/mips/mips64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../ports/sysdeps/mips/fpu -I../ports/sysdeps/mips -I../sysdeps/wordsize-64 -I../ports/sysdeps/mips/mips64/n64 -I../ports/sysdeps/mips/nptl -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../ports -I../nptl -I.. -I../libio -I. -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -o /home/build/BUILD/glibc-2.5.90/objdir_n64/elf/dl-deps.o -MD -MP -MF /home/build/BUILD/glibc-2.5.90/objdir_n64/elf/dl-deps.o.dt -MT /home/build/BUILD/glibc-2.5.90/objdir_n64/elf/dl-deps.o
In file included from dynamic-link.h:317,
from dl-reloc.c:264:
do-rel.h: In function 'elf_dynamic_do_rel':
do-rel.h:69: warning: passing argument 3 of 'elf_machine_lazy_rel' from incompatible pointer type
make[2]: *** [/home/build/BUILD/glibc-2.5.90/objdir_n64/elf/dl-reloc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/build/BUILD/glibc-2.5.90/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/home/build/BUILD/glibc-2.5.90'
make: *** [all] Error 2