Debian Bug report logs - #1004504
Regression of -many on powerpc, ppc64

version graph

Package: binutils; Maintainer for binutils is Matthias Klose <[email protected]>; Source for binutils is src:binutils (PTS, buildd, popcon).

Affects: src:linux

Reported by: Ben Hutchings <[email protected]>

Date: Sat, 29 Jan 2022 17:45:02 UTC

Severity: important

Found in version binutils/2.37.90.20220123-2

Full log


Message #22 received at [email protected] (full text, mbox, reply):

Received: (at 1004504) by bugs.debian.org; 3 Mar 2022 18:39:01 +0000
From [email protected] Thu Mar 03 18:39:01 2022
X-Spam-Checker-Version: SpamAssassin 3.4.2-bugs.debian.org_2005_01_02
	(2018-09-13) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-17.1 required=4.0 tests=BAYES_00,DIGITS_LETTERS,
	DKIMWL_WL_MED,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,
	ENV_AND_HDR_SPF_MATCH,HAS_BUG_NUMBER,RCVD_IN_DNSWL_NONE,SHIP_ID_INT,
	SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,
	USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no
	version=3.4.2-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 12; hammy, 149; neutral, 82; spammy,
	1. spammytokens:0.985-+--healthy hammytokens:0.000-+--UD:kernel.org,
	0.000-+--D*physik.fu-berlin.de, 0.000-+--H*r:TLS1_3,
	0.000-+--sk:powerpc, 0.000-+--amd64
Return-path: <[email protected]>
Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]:52153)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.92)
	(envelope-from <[email protected]>)
	id 1nPqLt-0004Al-6o
	for [email protected]; Thu, 03 Mar 2022 18:39:01 +0000
Received: by mail-pj1-x1035.google.com with SMTP id cx5so5352379pjb.1
        for <[email protected]>; Thu, 03 Mar 2022 10:39:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=google.com; s=20210112;
        h=date:from:to:cc:subject:message-id:references:mime-version
         :content-disposition:in-reply-to;
        bh=SyMnI+/NjR7RfWL0PvpdwA+BcFEbJBmEmuqmWLzJWTs=;
        b=ffxUc6HKr+dWTyz6PBU94CiNC+SX1n/cKRiFWbtgJkXxlp+nILqlStPBL0O/fXr9h1
         mj/nPWQ1AQDWHr1MH6CgCjagtpU+hY92VHzjphv9P6lVLJ3E0q4azvc65sGuDE6zXxnT
         B7yTYj0FyNCnqdDzBW4fAEI7H865UbvOp9RhHV2AgeswB1igbMo9BqFj8x4i+rmUnoqv
         /mMRMRKavIMQrXN5M9hxR65w/0n5hEkRQbs90ISqn7c0yBcx3YEGjevsiCTOf3DDGT0m
         te1X5u+BscXbESbPDRnQJowrIcB+XQNF9RqsvPSaoxyhmUVygmw5ZktMFN9si0XAx4GO
         A5AA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20210112;
        h=x-gm-message-state:date:from:to:cc:subject:message-id:references
         :mime-version:content-disposition:in-reply-to;
        bh=SyMnI+/NjR7RfWL0PvpdwA+BcFEbJBmEmuqmWLzJWTs=;
        b=qSRKV7cLIPip5sD0EkA9BN8CBqfvTbOiIDmIqfIeliioX5xsmkM6moBO1PUzndiI4l
         AbZ30iqoy3gbQJAKlxcfYAb+1Qrns/+2dPBoqkMuo5X9vQnGR8AEpfEYptzY+N6eTjU1
         BLOasIhaeYgmNDYjFXja93Tdr0tUXN+3BYv4KaCrEYgWpjPMmoAJUoi0d+6Xmrquq6qU
         YL6pjj662/6Rxb/Ls3rUUuY0zqKtsycxfT+eyaK7g4pbZxrk9VVvEAKnTPYRGyppQ7zK
         bK3dzlnc4Ki4a575+cDehZ93bmRc+jg+bawItcAgjT+Cwz99eTPy7apLslKTMnd0tNDD
         9R4w==
X-Gm-Message-State: AOAM530uJ7RuiX4b6Rkv0TXbVL1viJroGbl7K13Q7qkpDvQ3bx5is/Aj
	T9VOft5VRYwKbiWcauKcVO2Cvg==
X-Google-Smtp-Source: ABdhPJx4CQ2fpozpUd4d4Kr430luG0KZYXO5bD1ELc9eZKDkSqk2oQhEsjG+1goc0yuQNwHO4KGp7Q==
X-Received: by 2002:a17:903:24e:b0:151:9fa5:ebdd with SMTP id j14-20020a170903024e00b001519fa5ebddmr7733094plh.84.1646332739262;
        Thu, 03 Mar 2022 10:38:59 -0800 (PST)
Received: from google.com (157.214.185.35.bc.googleusercontent.com. [35.185.214.157])
        by smtp.gmail.com with ESMTPSA id f4-20020a056a00238400b004e10b67e658sm3198531pfc.3.2022.03.03.10.38.58
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Thu, 03 Mar 2022 10:38:58 -0800 (PST)
Date: Thu, 3 Mar 2022 18:38:54 +0000
From: Sean Christopherson <[email protected]>
To: Ben Hutchings <[email protected]>
Cc: [email protected]
Subject: Re: Bug#1004504: Acknowledgement (Regression of -many on powerpc,
 ppc64)
Message-ID: <[email protected]>
References: <164347806717.24466.15492770575144172465.reportbug@deadeye.wl.decadent.org.uk>
 <[email protected]>
 <[email protected]>
 <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>
On Thu, Mar 03, 2022, Sean Christopherson wrote:
> On Sat, Jan 29, 2022, Ben Hutchings wrote:
> > See also these reports on the linuxppc list:
> > 
> > https://lore.kernel.org/linuxppc-dev/CANtoAtPcRGHafb7LddtrY5g43m82txS_mY3WO_ZtJ+pfuLvKaw@mail.gmail.com/#t
> > https://lore.kernel.org/linuxppc-dev/[email protected]/
> 
> Cross-compiling PPC on x86-64 is also broken in 2.37 due to assembler errors.
> I don't know enough about PPC to know if this is the same underlying root cause
> or something different.
> 
> With 2.37-90 (amd64), attempting to compile various inline assembly (popcntd is
> just one example), e.g.
> 
>   echo 'int foo(int x) { int p; asm ("popcntd %0,%1" : "=r" (p) : "r" (x)); return p; }' | \
>   powerpc64-linux-gnu-gcc -x c - -c -o /dev/null
> 
> fails with:
> 
>   /tmp/ccWfffoZ.s: Assembler messages:
>   /tmp/ccWfffoZ.s:26: Error: unrecognized opcode: `popcntd'
> 
> whereas version 2.34 compiles the above without error.

Ah, I belatedly see that Ben's bug report says "update from binutils 2.37 to this
snapshot", which suggests that earlier versions of 2.37 are healthy?  Whereas the
cross-compiling issue goes back to at least 2.37.7.



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 14:23:32 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.