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: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-4.1 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id D78D920380 for ; Thu, 23 May 2019 21:32:22 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; q=dns; s=default; b=eajEqozfddBU+7TGcQKRcCrV/yfnk S1zeiHSQXC37FXxlT67V9OeSVLPd2Q1l5WhCxgV7grL/wNky732BLrQskAXJqPGR YQslLK53SNdSaDyEBLBaByip64bUp6M7qX+emME6xvBgRHXvLm6myiVWcJACMF0q z+tI+99mc03jyY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; s=default; bh=wKWcyA/VG1cETepXIP8dx4Yqtwo=; b=f/A RlP0tLrFj0AcPi6S3lG2ECFB7d+97tLwTDqY7wrU7ZmeQFppSn9QOzpDAuvKF5Le hqmQS+dXyBdCL0lKW3gDahchfWleNwbxW3WuFPeXYylmcf1iXnu4YTaDq953LKR+ pUyFRPWjUFD1ZUJFolQSy1/cd3Dk81R/0TAEaVQY= Received: (qmail 85669 invoked by alias); 23 May 2019 21:32:20 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 85659 invoked by uid 89); 23 May 2019 21:32:19 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: relay1.mentorg.com Date: Thu, 23 May 2019 21:32:13 +0000 From: Joseph Myers To: Subject: powerpc build failures with GCC trunk Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" My glibc bot is showing build failures for powerpc with GCC trunk. For powerpc64 (BE and LE), glibc fails to build, with errors of the form: ../sysdeps/powerpc/powerpc64/power8/strcmp.S: Assembler messages: ../sysdeps/powerpc/powerpc64/power8/strcmp.S:55: Error: unrecognized opcode: `cmpb' For 32-bit, the failures are in the testsuite: /tmp/ccs8hquE.s:43: Error: unrecognized opcode: `mfppr32' (building tst-set_ppr.o). Without having specifically tested, I'm guessing that 2019-05-22 Alan Modra * config/rs6000/rs6000.h (ASM_OPT_ANY): Define. (ASM_CPU_SPEC): Conditionally add -many. * config/rs6000/rs6000.c (rs6000_machine): New static var. (rs6000_machine_from_flags, emit_asm_machine): New functions.. (rs6000_file_start): ..extracted from here, and modified to test all ISA bits. (rs6000_output_function_prologue): Emit .machine as necessary. is the change causing this. Could the powerpc maintainers look at this and fix glibc / tests to build with current GCC (ensuring appropriate CPU options or assembler directives are passed to enable the instructions in question, I suppose)? -- Joseph S. Myers joseph@codesourcery.com