From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by sourceware.org (Postfix) with ESMTPS id A2C703858C20 for ; Wed, 16 Feb 2022 14:32:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A2C703858C20 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 21GEQ99M025697; Wed, 16 Feb 2022 14:32:15 GMT Received: from ppma02dal.us.ibm.com (a.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.10]) by mx0a-001b2d01.pphosted.com with ESMTP id 3e8vrk1jn8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 16 Feb 2022 14:32:15 +0000 Received: from pps.filterd (ppma02dal.us.ibm.com [127.0.0.1]) by ppma02dal.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 21GERrLS018267; Wed, 16 Feb 2022 14:32:14 GMT Received: from b01cxnp23033.gho.pok.ibm.com (b01cxnp23033.gho.pok.ibm.com [9.57.198.28]) by ppma02dal.us.ibm.com with ESMTP id 3e64hcd3da-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 16 Feb 2022 14:32:14 +0000 Received: from b01ledav002.gho.pok.ibm.com (b01ledav002.gho.pok.ibm.com [9.57.199.107]) by b01cxnp23033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 21GEWDUp32571702 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 16 Feb 2022 14:32:13 GMT Received: from b01ledav002.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E4DE0124077; Wed, 16 Feb 2022 14:32:12 +0000 (GMT) Received: from b01ledav002.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 671A8124060; Wed, 16 Feb 2022 14:32:12 +0000 (GMT) Received: from [9.160.22.6] (unknown [9.160.22.6]) by b01ledav002.gho.pok.ibm.com (Postfix) with ESMTP; Wed, 16 Feb 2022 14:32:12 +0000 (GMT) Message-ID: Date: Wed, 16 Feb 2022 08:32:11 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Subject: Re: regression with binutils 2.28 for ppc Content-Language: en-US To: Waldemar Brodkorb , binutils@sourceware.org References: From: Peter Bergner In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: U24iFAQlx0CU_mEOYH_yPxAkP2ciB_Su X-Proofpoint-ORIG-GUID: U24iFAQlx0CU_mEOYH_yPxAkP2ciB_Su X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-02-16_06,2022-02-16_01,2021-12-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 phishscore=0 impostorscore=0 mlxscore=0 bulkscore=0 priorityscore=1501 adultscore=0 mlxlogscore=933 spamscore=0 malwarescore=0 clxscore=1011 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2202160082 X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Feb 2022 14:32:20 -0000 On 2/16/22 7:35 AM, Waldemar Brodkorb wrote: > since commit b25f942e18d6ecd7ec3e2d2e9930eb4f996c258a I am getting > following error when building a Linux Kernel targeting > qemu-system-ppc (-M macppc). > > {standard input}: Assembler messages: > {standard input}:2156: Error: unrecognized opcode: `ptesync' > gmake[8]: *** [scripts/Makefile.build:288: arch/powerpc/lib/sstep.o] > Error 1 > gmake[7]: *** [scripts/Makefile.build:550: arch/powerpc/lib] Error 2 > gmake[6]: *** [Makefile:1831: arch/powerpc] Error 2 > gmake[5]: *** > [/home/wbx/embedded-test/openadk/mk/kernel-build.mk:91: > /home/wbx/embedded-test/openadk/build_qemu-ppc-macppc_uclibc-ng_hard/linux/vmlinux] > Error 2 The ptesync insn is enabled with the PPC64 flag, so should be available for all 64-bit assembles and disabled for all 32-bit assembles. What assembler options are you using? It's hard to tell whether you are building a 64-bit kernel, in which ptesync should be fine or whether you are building a 32-bit kernel, in which case, ptesync would be a kernel error (for using it). Peter