From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Platen Subject: Patch adding POWER9 cross compile support Date: Wed, 27 Feb 2019 19:29:02 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------9296702D538056EA4EA52500" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:39342) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gz3y7-0005UE-7N for guix-devel@gnu.org; Wed, 27 Feb 2019 13:30:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gz3x6-0002Uz-9T for guix-devel@gnu.org; Wed, 27 Feb 2019 13:29:09 -0500 Received: from v2201304502512175.yourvserver.net ([37.221.197.247]:40520 helo=v220100350252766.yourvserver.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gz3x5-0002RR-Sr for guix-devel@gnu.org; Wed, 27 Feb 2019 13:29:08 -0500 Received: from [192.168.0.35] (pD9E9D0B8.dip0.t-ipconnect.de [217.233.208.184]) by v220100350252766.yourvserver.net (Postfix) with ESMTPSA id 537E2141075 for ; Wed, 27 Feb 2019 19:29:00 +0100 (CET) Content-Language: de-LU 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" To: Guix-devel This is a multi-part message in MIME format. --------------9296702D538056EA4EA52500 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit I succesfully crosscompiled GNU Hello and all its dependencies including glibc for POWER9. Without my patch glibc will fail to build. I am using the core-updates branch, since the default branch uses an outdated version of GCC. Tobias --------------9296702D538056EA4EA52500 Content-Type: text/x-patch; name="cross-base.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="cross-base.diff" diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm index 8fe9d5b..f642bad 100644 --- a/gnu/packages/cross-base.scm +++ b/gnu/packages/cross-base.scm @@ -138,6 +138,8 @@ base compiler and using LIBC (which may be either a libc package or #f.)" "--disable-decimal-float" ;would need libc "--disable-libcilkrts" + "--with-long-double-128" ; required for power9 bootstrap + ;; When target is any OS other than 'none' these ;; libraries will fail if there is no libc ;; present. See --------------9296702D538056EA4EA52500--