From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: Porting to mips64el Date: Sat, 23 Feb 2013 19:53:25 +0100 Message-ID: <201302231953.25599.andreas@enge.fr> References: <8738yvnslh.fsf@karetnikov.org> <87d2vta4jc.fsf@karetnikov.org> <874nh5fiby.fsf@karetnikov.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44302) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9KEC-00007d-6d for bug-guix@gnu.org; Sat, 23 Feb 2013 13:53:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U9KE4-0007x1-Ol for bug-guix@gnu.org; Sat, 23 Feb 2013 13:53:44 -0500 In-Reply-To: <874nh5fiby.fsf@karetnikov.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: bug-guix@gnu.org 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= =20 would be enough to just replace the glibc with one that contains the 64 bit= =20 headers. I tried to compile glibc independently with CFLAGS=3D"-march=3Dmips64 -mabi=3D64 -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=3D64 pthread_kill_other_threads.c -c -std=3Dgnu99 -fgnu89-inline = -O2=20 =2DWall -Winline -Wwrite-strings -fmerge-all-constants -frounding-math - mabi=3D64 -march=3Dmips64 -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= =20 =2DI../ports/sysdeps/unix/mips -I../nptl/sysdeps/unix -I../ports/sysdeps/un= ix=20 =2DI../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= =20 =2DI../ports/sysdeps/mips/nptl -I../sysdeps/ieee754 -I../sysdeps/generic - I../nptl -I../ports -I.. -I../libio -I. -D_LIBC_REENTRANT -include=20 =2E./include/libc-symbols.h -DPIC -DSHARED -DNOT_IN_libc=3D1 - DIS_IN_libpthread=3D1 -DIN_LIB=3Dlibpthread -o=20 /tmp/build/nptl/pthread_kill_other_threads.os -MD -MP -MF=20 /tmp/build/nptl/pthread_kill_other_threads.os.dt -MT=20 /tmp/build/nptl/pthread_kill_other_threads.os pthread_kill_other_threads.c:34:1: error: expected identifier or =E2=80=98(= =E2=80=99 before=20 =E2=80=98...=E2=80=99 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=20 and wait for Ludovic to finish implementing the cross compiling approach. Andreas