From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-4.3 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 1E1721F8C8 for ; Sat, 25 Sep 2021 15:09:42 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3399C3858437 for ; Sat, 25 Sep 2021 15:09:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3399C3858437 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1632582578; bh=3L+vvCy0zbS1LHt0Ved7vQJa2qTXEDeoZVItscbj3cI=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=jaxR2eZvpWVl3L8d8yJI5rmm8AcvqWL5n/XSk/gQm/4L34WSYUHRi/3Yk80DcUsZp /x9d8JcVua+DrOspw4ypXvKQto0bHYPwhhHOZGSufGgu27zbQNsqzna03TvmSCL2YM hSHzbNU+xNs3OjQnur+A12Cq4Yzx8ZjerlGz12E4= Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by sourceware.org (Postfix) with ESMTPS id 52B953858403 for ; Sat, 25 Sep 2021 15:09:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 52B953858403 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 18PEU19R009507; Sat, 25 Sep 2021 11:09:15 -0400 Received: from ppma05wdc.us.ibm.com (1b.90.2fa9.ip4.static.sl-reverse.com [169.47.144.27]) by mx0a-001b2d01.pphosted.com with ESMTP id 3ba5k5gd05-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 25 Sep 2021 11:09:15 -0400 Received: from pps.filterd (ppma05wdc.us.ibm.com [127.0.0.1]) by ppma05wdc.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 18PF80L6023552; Sat, 25 Sep 2021 15:09:14 GMT Received: from b03cxnp08027.gho.boulder.ibm.com (b03cxnp08027.gho.boulder.ibm.com [9.17.130.19]) by ppma05wdc.us.ibm.com with ESMTP id 3b9ud9n74g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 25 Sep 2021 15:09:14 +0000 Received: from b03ledav002.gho.boulder.ibm.com (b03ledav002.gho.boulder.ibm.com [9.17.130.233]) by b03cxnp08027.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 18PF9Dpn13239030 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 25 Sep 2021 15:09:13 GMT Received: from b03ledav002.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 17647136051; Sat, 25 Sep 2021 15:09:13 +0000 (GMT) Received: from b03ledav002.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 299F613604F; Sat, 25 Sep 2021 15:09:12 +0000 (GMT) Received: from li-24c3614c-2adc-11b2-a85c-85f334518bdb.ibm.com (unknown [9.160.13.93]) by b03ledav002.gho.boulder.ibm.com (Postfix) with ESMTPS; Sat, 25 Sep 2021 15:09:11 +0000 (GMT) Date: Sat, 25 Sep 2021 10:09:09 -0500 To: Joseph Myers Subject: Re: [PATCH] powerpc: Fix unrecognized instruction errors with recent GCC Message-ID: <20210925150909.GA334336@li-24c3614c-2adc-11b2-a85c-85f334518bdb.ibm.com> References: <20210914181958.749314-1-pc@us.ibm.com> <87czp34d8v.fsf@linux.ibm.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-TM-AS-GCONF: 00 X-Proofpoint-GUID: tqysGZ15WXBQgbIVmMT7WwdG4-EvU-0c X-Proofpoint-ORIG-GUID: tqysGZ15WXBQgbIVmMT7WwdG4-EvU-0c X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-09-25_05,2021-09-24_02,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 adultscore=0 mlxscore=0 bulkscore=0 impostorscore=0 lowpriorityscore=0 spamscore=0 phishscore=0 clxscore=1011 priorityscore=1501 malwarescore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109230001 definitions=main-2109250113 X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: "Paul A. Clarke via Libc-alpha" Reply-To: "Paul A. Clarke" Cc: Tulio Magno Quites Machado Filho , libc-alpha@sourceware.org Errors-To: libc-alpha-bounces+e=80x24.org@sourceware.org Sender: "Libc-alpha" On Wed, Sep 22, 2021 at 11:48:32AM +0000, Joseph Myers wrote: > Even with this commit included, I'm still seeing such errors with > build-many-glibcs.py for powerpc-linux-gnu, powerpc-linux-gnu-power4, > powerpc-linux-gnu-soft and powerpc64-linux-gnu, which I expect have the > same underlying cause. > > https://sourceware.org/pipermail/libc-testresults/2021q3/008589.html > > These are all errors building tst-set_ppr: > > /tmp/ccyn2EoO.s: Assembler messages: > /tmp/ccyn2EoO.s:73: Error: unrecognized opcode: `mfppr32' > /tmp/ccyn2EoO.s:130: Error: unrecognized opcode: `mfppr32' > /tmp/ccyn2EoO.s:197: Error: unrecognized opcode: `mfppr32' > /tmp/ccyn2EoO.s:288: Error: unrecognized opcode: `mfppr32' > /tmp/ccyn2EoO.s:340: Error: unrecognized opcode: `mfppr32' > /tmp/ccyn2EoO.s:420: Error: unrecognized opcode: `mfppr32' > /scratch/jmyers/glibc-bot/build/glibcs/powerpc-linux-gnu/glibc/sysd-rules:723: recipe for target '/scratch/jmyers/glibc-bot/build/glibcs/powerpc-linux-gnu/glibc/misc/tst-set_ppr.o' failed Thanks for the report, Joseph! This manifests only with a very recent version of binutils (not even the current release, 2.37). It is likely provoked by commit b25f942e18d6ecd7ec3e2d2e9930eb4f996c258a "PowerPC: ignore sticky options for .machine". (I think there is a fair amount of fallout from that change.) Interestingly, there was a change (9250e6610fdb0f3a6f238d2813e319a41fb7a810 "powerpc: Fix build failures with current GCC") back in 2019 to that test's Makefile to add `-many` to the compile options for exactly this problem when `-many` stopped being passed by GCC to the assembler. Now, even passing `-many` on the command line doesn't work. I'll post a fix to include the required `.machine` directives for that test shortly. PC