From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.5 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9BA6EC48BE5 for ; Thu, 17 Jun 2021 13:47:37 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F2C046044F for ; Thu, 17 Jun 2021 13:47:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F2C046044F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ipxe.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.143998.265134 (Exim 4.92) (envelope-from ) id 1ltsMU-0002YU-7t; Thu, 17 Jun 2021 13:47:14 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 143998.265134; Thu, 17 Jun 2021 13:47:14 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1ltsMU-0002YN-4f; Thu, 17 Jun 2021 13:47:14 +0000 Received: by outflank-mailman (input) for mailman id 143998; Thu, 17 Jun 2021 13:47:12 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1ltsMS-0002YH-LP for xen-devel@lists.xenproject.org; Thu, 17 Jun 2021 13:47:12 +0000 Received: from blyat.fensystems.co.uk (unknown [2a05:d018:a4d:6403:2dda:8093:274f:d185]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id fa25186d-082c-439d-88c9-47cce3c3273e; Thu, 17 Jun 2021 13:47:10 +0000 (UTC) Received: from pudding.home (unknown [213.205.240.250]) by blyat.fensystems.co.uk (Postfix) with ESMTPSA id 7D9F644193; Thu, 17 Jun 2021 13:47:07 +0000 (UTC) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: fa25186d-082c-439d-88c9-47cce3c3273e Subject: Re: [PATCH v1] tools: ipxe: update for fixing build with GCC11 From: Michael Brown To: "Bernhard M. Wiedemann" , Olaf Hering Cc: Andrew Cooper , xen-devel@lists.xenproject.org, Ian Jackson , Wei Liu References: <20210615212613.6270-1-olaf@aepfle.de> <20210616145846.305d3ce1.olaf@aepfle.de> Message-ID: Date: Thu, 17 Jun 2021 14:47:05 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit On 17/06/2021 13:55, Michael Brown wrote: >> one way out could be to call objcopy -D $PARAMS || objcopy $PARAMS > > Testing on a clean "centos:7" container shows that "objcopy -D" works as > expected (and "objcopy --help" shows the option as existing). > > This container environment has /etc/centos-release showing: > >   CentOS Linux release 7.6.1810 (Core) > > Could you provide a simple environment in which to reproduce the problem? I've managed to reproduce it using "centos:7.0.1406". It should be fixed in commit https://github.com/ipxe/ipxe/commit/51c88a4a6 Thanks for the report! Michael