[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Porting to mips64el
From: |
Andreas Enge |
Subject: |
Re: Porting to mips64el |
Date: |
Sat, 23 Feb 2013 19:53:25 +0100 |
User-agent: |
KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; ) |
Am Donnerstag, 21. Februar 2013 schrieb Nikita Karetnikov:
> What should I try now?
Did you already get the glibc, or did the problems appear before? Maybe it
would be enough to just replace the glibc with one that contains the 64 bit
headers.
I tried to compile glibc independently with
CFLAGS="-march=mips64 -mabi=64 -O2"
just to obtain the header file, but it fails with
make[2]: Entering directory `/tmp/glibc-2.17/nptl'
ln -f /tmp/build/nptl/crti.o /tmp/build/nptl/64/crti.o
ln -f /tmp/build/nptl/crtn.o /tmp/build/nptl/64/crtn.o
gcc -mabi=64 pthread_kill_other_threads.c -c -std=gnu99 -fgnu89-inline -O2
-Wall -Winline -Wwrite-strings -fmerge-all-constants -frounding-math -
mabi=64 -march=mips64 -Wstrict-prototypes -fPIC -I../include -
I/tmp/build/nptl -I/tmp/build -
I../ports/sysdeps/unix/sysv/linux/mips/mips64/n64/nptl -
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../nptl/sysdeps/unix/sysv/linux -
I../nptl/sysdeps/pthread -I../sysdeps/pthread -
I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -
I../sysdeps/gnu -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -
I../ports/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../nptl/sysdeps/unix -I../ports/sysdeps/unix
-I../sysdeps/unix -I../sysdeps/posix -I../ports/sysdeps/mips/mips64/n64 -
I../ports/sysdeps/mips/ieee754 -I../sysdeps/ieee754/ldbl-128 -
I../ports/sysdeps/mips/mips64/soft-fp -I../ports/sysdeps/mips/mips64 -
I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -
I../ports/sysdeps/mips -I../sysdeps/wordsize-64 -I../ports/sysdeps/mips/fpu
-I../ports/sysdeps/mips/nptl -I../sysdeps/ieee754 -I../sysdeps/generic -
I../nptl -I../ports -I.. -I../libio -I. -D_LIBC_REENTRANT -include
../include/libc-symbols.h -DPIC -DSHARED -DNOT_IN_libc=1 -
DIS_IN_libpthread=1 -DIN_LIB=libpthread -o
/tmp/build/nptl/pthread_kill_other_threads.os -MD -MP -MF
/tmp/build/nptl/pthread_kill_other_threads.os.dt -MT
/tmp/build/nptl/pthread_kill_other_threads.os
pthread_kill_other_threads.c:34:1: error: expected identifier or ‘(’ before
‘...’ token
make[2]: *** [/tmp/build/nptl/pthread_kill_other_threads.os] Error 1
make[2]: Leaving directory `/tmp/glibc-2.17/nptl'
Unless you have the glibc at hand, I would drop the issue for the moment
and wait for Ludovic to finish implementing the cross compiling approach.
Andreas
- Re: Porting to mips64el, (continued)
- Re: Porting to mips64el, Ludovic Courtès, 2013/02/20
- Re: Porting to mips64el, Nikita Karetnikov, 2013/02/20
- Re: Porting to mips64el, Andreas Enge, 2013/02/20
- Re: Porting to mips64el, Ludovic Courtès, 2013/02/20
- Porting to anything, Andreas Enge, 2013/02/20
- Re: Porting to anything, Ludovic Courtès, 2013/02/21
- Re: Porting to anything, Andreas Enge, 2013/02/21
- Re: Porting to mips64el, Nikita Karetnikov, 2013/02/21
- Re: Porting to mips64el, Nikita Karetnikov, 2013/02/21
- Re: Porting to mips64el, Nikita Karetnikov, 2013/02/21
- Re: Porting to mips64el,
Andreas Enge <=
- Re: Porting to mips64el, Ludovic Courtès, 2013/02/23