From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manolis Ragkousis Subject: Re: [PATCH] gnu: cross-gcc-arguments: Disable libitm, libvtv and, libsanitizer. Date: Fri, 4 Mar 2016 16:09:01 +0200 Message-ID: <56D996FD.4060805@gmail.com> References: <56C322C4.3040706@gmail.com> <56CC4E79.7030706@gmail.com> <87oab0ncc8.fsf@member.fsf.org> <87r3fwdhef.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------080009040200090309010508" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51849) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abqPq-00026s-TC for guix-devel@gnu.org; Fri, 04 Mar 2016 09:09:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1abqPm-00031w-Mt for guix-devel@gnu.org; Fri, 04 Mar 2016 09:09:14 -0500 In-Reply-To: <87r3fwdhef.fsf@elephly.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ricardo Wurmus , =?UTF-8?B?5a6L5paH5q2m?= Cc: guix-devel@gnu.org This is a multi-part message in MIME format. --------------080009040200090309010508 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit I updated the patch with an explanation and a link to this discussion. Manolis --------------080009040200090309010508 Content-Type: text/x-patch; name="0001-gnu-cross-gcc-arguments-Disable-libitm-libvtv-and-li.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-gnu-cross-gcc-arguments-Disable-libitm-libvtv-and-li.pa"; filename*1="tch" >From dc8154ef19bc28886f350f42c49fb7995eefcec8 Mon Sep 17 00:00:00 2001 From: Manolis Ragkousis Date: Tue, 16 Feb 2016 15:06:33 +0200 Subject: [PATCH] gnu: cross-gcc-arguments: Disable libitm, libvtv and libsanitizer. * gnu/packages/cross-base.scm (cross-gcc-arguments)[arguments]: Add "--disable-libitm", "--disable-libvtv" and "--disable-libsanitizer" when libc is not present. --- gnu/packages/cross-base.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm index 8bd599c..bd7a1e7 100644 --- a/gnu/packages/cross-base.scm +++ b/gnu/packages/cross-base.scm @@ -120,6 +120,14 @@ may be either a libc package or #f.)" "--disable-libquadmath" "--disable-decimal-float" ;would need libc "--disable-libcilkrts" + + ;; When target is any OS other than 'none' these + ;; libraries will fail if there is no libc + ;; present. See + ;; + "--disable-libitm" + "--disable-libvtv" + "--disable-libsanitizer" ))) ,(if libc -- 2.7.2 --------------080009040200090309010508--