From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GNsZB8pUUGClCgAA0tVLHw (envelope-from ) for ; Tue, 16 Mar 2021 06:48:42 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id KHO3AspUUGCkSQAAbx9fmQ (envelope-from ) for ; Tue, 16 Mar 2021 06:48:42 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8CF1413551 for ; Tue, 16 Mar 2021 07:48:41 +0100 (CET) Received: from localhost ([::1]:56254 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lM3VQ-0003p2-Iy for larch@yhetil.org; Tue, 16 Mar 2021 02:48:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lM3Ur-0003A2-OU for guix-patches@gnu.org; Tue, 16 Mar 2021 02:48:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54625) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lM3Ur-0005Zc-G2 for guix-patches@gnu.org; Tue, 16 Mar 2021 02:48:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lM3Ur-0001fx-FD for guix-patches@gnu.org; Tue, 16 Mar 2021 02:48:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47182] [PATCH 12/18] gnu: libelf: Fix compilation for powerpc64le-linux. Resent-From: Chris Marusich Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 16 Mar 2021 06:48:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47182 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47182@debbugs.gnu.org Cc: Leo Le Bouter , Chris Marusich Received: via spool by 47182-submit@debbugs.gnu.org id=B47182.16158772386267 (code B ref 47182); Tue, 16 Mar 2021 06:48:05 +0000 Received: (at 47182) by debbugs.gnu.org; 16 Mar 2021 06:47:18 +0000 Received: from localhost ([127.0.0.1]:37916 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lM3U6-0001cv-FW for submit@debbugs.gnu.org; Tue, 16 Mar 2021 02:47:18 -0400 Received: from mail-pj1-f45.google.com ([209.85.216.45]:42988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lM3Tv-0001aI-QC for 47182@debbugs.gnu.org; Tue, 16 Mar 2021 02:47:08 -0400 Received: by mail-pj1-f45.google.com with SMTP id j6-20020a17090adc86b02900cbfe6f2c96so908737pjv.1 for <47182@debbugs.gnu.org>; Mon, 15 Mar 2021 23:47:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=H3JgwYIHomyg/LMrowpCbH0/Z7faQ4D4x70+uPLkFjE=; b=H8ISHBGN5RxJrPlXgad7bk7HHhbsaYcRQBCoW0N1wwy0mzgF+P3PceoSQ1L1yLj2Hs 8P7Nkyk0a3snGmto8oFDAzcUd1W62yOv0ZkmGbUXew4ycAiR9psMrQyiXUne2fqc9tj+ 528ufvIx/pW12wxokLK9QhlJDCc77AkyaAjGUGcOTfenbx/Hh42BjIc4Csxg56OOlDGw 9mcry7x9mLGXgQhqEMOwYICAvndLJCQdkW8O6r3s9Vqiu5gPAqEMMo+2KS0opQ9iCk2B 1N3vAwoZDBUvaGDAgLvfxoZgbccr1lYx07A5FRy0B3UiVHckr3wgia95vNOwreRk6yaL +Ktw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=H3JgwYIHomyg/LMrowpCbH0/Z7faQ4D4x70+uPLkFjE=; b=YGSHzQPwucdZpXgRdqUQYciRjqvs0dJi0NP5UhZOCJoQTUEIr8f4j1stfOvi0/+OVM xg6ZkUfCO1McKmkTCpQixuyvAzPsMSmiSejtyWyhZ0CGc/T1DaL3xOffldyzB70KoKet EFdhU77BTG/YZzczqRE5JX25F0k1QZv6TRFtxwf1s0CPS6rUQBpguxbLLqaFtif0vwFH upoYNq+R9RkePKStStizovcHkNN6Xwoj055igkZzBN4mdLhtRgY5fUbtsf9Kx0cB89fA 6qRLpSOyEv1OzR4T/XYQhdCbgKT3hWbyi22eLSRBq1hM5+eOLde/qdpkQMa3D88x+yZU 22Mw== X-Gm-Message-State: AOAM533UnKgmS1zarK846aO2QPH+1eiD1nT4mFIcchv+oo9uSOei6eUF gODU4gl2LBNyCbZB1XSHQ5niCCjetp+1Pg== X-Google-Smtp-Source: ABdhPJyuSUYCPRQ/OFyufkjiOsquwI9S0r7XAi3pvKHPMD8adjT4hK1xpIDA4QSk+0BF7z60LfOFKw== X-Received: by 2002:a17:90b:3716:: with SMTP id mg22mr3218524pjb.157.1615877221719; Mon, 15 Mar 2021 23:47:01 -0700 (PDT) Received: from garuda-lan.lan (c-24-18-44-142.hsd1.wa.comcast.net. [24.18.44.142]) by smtp.gmail.com with ESMTPSA id r186sm15541160pfr.124.2021.03.15.23.47.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Mar 2021 23:47:01 -0700 (PDT) From: Chris Marusich Date: Mon, 15 Mar 2021 23:45:05 -0700 Message-Id: <20210316064511.2891553-12-cmmarusich@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210316064511.2891553-1-cmmarusich@gmail.com> References: <20210316062805.2890883-1-cmmarusich@gmail.com> <20210316064511.2891553-1-cmmarusich@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615877321; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=H3JgwYIHomyg/LMrowpCbH0/Z7faQ4D4x70+uPLkFjE=; b=VQv+e/OUZccDCZXMnm1blaJb1+PdqAn2/Utxf8pnWkCoAW51WJg4cLTWTmKXgnvfWR8c2f R3kQ522eJDJn2/f3mgGEVTlZJINemIQXJjsrwMrb+UwtO+fOaHMFFCV02t0/+WYywRIf3a lJ3Rs01iYGE15sGefdmE9jFBhpuNABenDaU3DpjejG0vCJLw49JDIw7mRXMaEV/Kvda1kR PkGINch4L9zZRXqz7HbIcKUScS/mo9R1krqBYlQIuIzllceZH8FU1FeyNItLLnfcN/AOkf NAOwm36sGck3bkiXZHpcrS395aM+wp2nFR3dTSLBRu3FJaXQRlrGRfl2ug/mBA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615877321; a=rsa-sha256; cv=none; b=cZBfCrBbdP8pWAZ87bU0w76aCpVGYUVxuno/aXde3HHockAjd06pNzqomRQv3XFvJn3hJc WJhYExW26RaPc1v5f6pQZDhyJAFCwNLAIWQxhxYXj599+O3ZxhLNBfa2WupnXeyICSWn/m NfV+5ycyiaGRn8P4nthMyM+j3zVPsG0arRLdQHzDb+AKTWJVz/HTnZ2rFsJo6gePMniUTL tNNRvlUjh98ZI5q9jpdD1lgVvupjdDNUtRTei0g/BNVRaq/ns8GPSOOq8H/LLWa1AgIRHR u06lQSDjTRLlX33u0Lu3o9G9+RanYNAB/gB4oq71Mnt6OK5GmVBiXzWVAmiT2Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=H8ISHBGN; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.30 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=H8ISHBGN; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 8CF1413551 X-Spam-Score: -0.30 X-Migadu-Scanner: scn0.migadu.com X-TUID: fiSL4sx4VQRc From: Leo Le Bouter * gnu/packages/elf.scm (libelf)[arguments]: Modify replacement 'configure phase to invoke "./configure" with "--host=powerpc64le-unknown-linux-gnu" on powerpc64le-linux. Signed-off-by: Chris Marusich --- gnu/packages/elf.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/elf.scm b/gnu/packages/elf.scm index 2e21cab48d1..aab912648b2 100644 --- a/gnu/packages/elf.scm +++ b/gnu/packages/elf.scm @@ -8,6 +8,7 @@ ;;; Copyright © 2018, 2020 Marius Bakke ;;; Copyright © 2020 Mark Wielaard ;;; Copyright © 2020 Michael Rohleder +;;; Copyright © 2021 Leo Le Bouter ;;; ;;; This file is part of GNU Guix. ;;; @@ -211,6 +212,10 @@ static analysis of the ELF binaries at hand.") (setenv "CONFIG_SHELL" (which "bash")) (invoke "./configure" (string-append "--prefix=" out) + ,@(if (string=? "powerpc64le-linux" + (%current-system)) + '("--host=powerpc64le-unknown-linux-gnu") + '()) ,@(if (string=? "aarch64-linux" (%current-system)) '("--host=aarch64-unknown-linux-gnu") -- 2.26.2