From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Porting to mips64el Date: Sun, 03 Feb 2013 19:00:32 +0100 Message-ID: <87ehgx46rj.fsf@gnu.org> References: <8738yvnslh.fsf@karetnikov.org> <87fw1nd3s8.fsf@gnu.org> <87libf41oo.fsf@karetnikov.org> <877gmy2uqc.fsf@gnu.org> <87zjztdfdr.fsf@karetnikov.org> <87boc9ea4a.fsf@gnu.org> <87mwvr3m94.fsf@karetnikov.org> <87vcafk8ln.fsf@gnu.org> <878v7b8xc0.fsf@karetnikov.org> <87boc7k5qj.fsf@gnu.org> <87fw1jo9es.fsf@karetnikov.org> <87fw1iie1c.fsf@gnu.org> <87mwvqclyw.fsf@karetnikov.org> <87a9rppldy.fsf@gnu.org> <87halxxj4a.fsf@karetnikov.org> <87obg5gg48.fsf@gnu.org> <87zjznsirh.fsf@karetnikov.org> <878v779gdr.fsf@gnu.org> <87622a6glr.fsf@karetnikov.org> <87sj5e62mw.fsf@gnu.org> <87halumoi5.fsf@karetnikov.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58798) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U23s5-0007KC-RO for bug-guix@gnu.org; Sun, 03 Feb 2013 13:00:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U23s4-0006GK-J8 for bug-guix@gnu.org; Sun, 03 Feb 2013 13:00:53 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:41919) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U23s4-0006G7-Ak for bug-guix@gnu.org; Sun, 03 Feb 2013 13:00:52 -0500 In-Reply-To: <87halumoi5.fsf@karetnikov.org> (Nikita Karetnikov's message of "Sat, 02 Feb 2013 15:47:31 -0500") 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: Nikita Karetnikov Cc: bug-guix@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Nikita Karetnikov skribis: > #define LIB_SPEC "-L/nix/store/7ya3mh0987kmc9xkwxzapkpw4s4hzkz0-glibc-2.1= 7/lib %{!static:-rpath=3D/nix/store/7ya3mh0987kmc9xkwxzapkpw4s4hzkz0-glibc-= 2.17/lib %{!static-libgcc:-rpath=3D/nix/store/n4blfp5bz6lvx9w9afn1i9c9v7akj= nns-gcc-4.7.2/lib64 -rpath=3D/nix/store/n4blfp5bz6lvx9w9afn1i9c9v7akjnns-gc= c-4.7.2/lib}} " "\ > > %{pthread:-lpthread} \ > %{shared:-lc} \ > %{!shared: \ > %{profile:-lc_p} %{!profile:-lc}}" Ooh, there=E2=80=99s an extra newline above. I think it=E2=80=99s fixed by= this: --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index 23bf00b..5c39ec3 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -449,7 +449,7 @@ BFD (Binary File Descriptor) library, `gprof', `nm', `strip', etc.") ;; RUNPATH to GCC even when `libgcc_s' is not NEEDED. ;; There's not much that can be done to avoid it, though. (format #f "#define LIB_SPEC \"-L~a/lib %{!static:-rpath=~a/lib \ -%{!static-libgcc:-rpath=~a/lib64 -rpath=~a/lib}} \" ~a~%" +%{!static-libgcc:-rpath=~a/lib64 -rpath=~a/lib}} \" ~a" libc libc out out suffix)) (("#define STARTFILE_SPEC.*$" line) (format #f "#define STANDARD_STARTFILE_PREFIX_1 \"~a/lib\" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Unfortunately, this change triggers a full rebuild, so it=E2=80=99s for =E2=80=98core-updates=E2=80=99. But if it=E2=80=99s good for you, then go = for it, and we can open =E2=80=98core-updates=E2=80=99 again. HTH, Ludo=E2=80=99. --=-=-=--