Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp929200rwe; Thu, 25 Aug 2022 11:44:58 -0700 (PDT) X-Google-Smtp-Source: AA6agR6ESEcqlm6HwLV6qki6wQKiAChqqFnVbNBCzp2Atjy4F/kIImawuMzpFCnBjfvB4FD8pQ5n X-Received: by 2002:a17:907:6d1a:b0:73d:95a5:1170 with SMTP id sa26-20020a1709076d1a00b0073d95a51170mr3357229ejc.163.1661453098654; Thu, 25 Aug 2022 11:44:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661453098; cv=none; d=google.com; s=arc-20160816; b=s2rlIIrSeqWw0Xlou532zqgE+mU1YNf4yBTQdinzJE8iqU98Xq4vCiEedsT30W566l 5N0zs7ALinSjJ3nJzQd7NiYFsSRbKpEJbzqBa/hIerUm+yrL4stA66/JsBZSfFEPlmKV zFQ9wuLN1UYpmbZk0gJPDnGRpr7yIcU8Iphibh+Xbc3EYTMo0zxrmpuQk6nUqUj1jwj/ OAuDIP1Ib4eWwP83cxBS6JckmT8NFUG1Xquz231ToUSTiARn+hwwOQ2/5rHaHKwrhjbr x4C2lfOXWEbweMhoZRiR2GrJXNGo4n/H9TbOqWn6SiVxFUxq9iCNHzyvnazN6uFweAju 81cQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=zqqrsfVVBJkf5TFinH5do/iB/M8MTwP8cpk0l4IcLc0=; b=HHfSRBQnMlx3PGS7OfH4L2FM6pMpUf5RzCB225iyb00mMCAnxYwfQOhvBQLOiOxiSS xCYoaibtGVjTuWGloYCaeTx+4vJ/1jxj2ApRBavUi2C7Pi9cpqrKYITeM+AuSpBfBFAc NjxaLHMtdc2XQpKT/eNNaunyKBsvSUOT82KNZPs2P+TLrs5Z1TmRk6dvhQXp1GsDz4fR iSzMEc1F1upmrstEWadO9J+RzMFEiH/FBjFthD+mVF8gUXpmxXTWIvps96+vsT0mi0cP EkOYGHRsj58E/Tt/W0D5BIXLxm255dn0UAIqrxm9zWxCfzMcm8uwgCtCQrqa4SVVUGdj /ZjA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l15-20020a170906794f00b0073ddf3ccee9si490736ejo.308.2022.08.25.11.44.27; Thu, 25 Aug 2022 11:44:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242734AbiHYSMb (ORCPT + 99 others); Thu, 25 Aug 2022 14:12:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229520AbiHYSM3 (ORCPT ); Thu, 25 Aug 2022 14:12:29 -0400 Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 52CECCE10 for ; Thu, 25 Aug 2022 11:12:28 -0700 (PDT) Received: from gate.crashing.org (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id 27PI878E022924; Thu, 25 Aug 2022 13:08:07 -0500 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id 27PI86ZE022921; Thu, 25 Aug 2022 13:08:06 -0500 X-Authentication-Warning: gate.crashing.org: segher set sender to segher@kernel.crashing.org using -f Date: Thu, 25 Aug 2022 13:08:06 -0500 From: Segher Boessenkool To: "Naveen N. Rao" Cc: linux-kernel@vger.kernel.org, Uros Bizjak , x86@kernel.org, Andrew Morton , linuxppc-dev@lists.ozlabs.org, sv@linux.ibm.com Subject: Re: [PATCH] compiler-gcc.h: Remove ancient workaround for gcc PR 58670 Message-ID: <20220825180806.GG25951@gate.crashing.org> References: <20220624141412.72274-1-ubizjak@gmail.com> <1661422971.cqtahfm22j.naveen@linux.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1661422971.cqtahfm22j.naveen@linux.ibm.com> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! On Thu, Aug 25, 2022 at 04:00:52PM +0530, Naveen N. Rao wrote: > This is causing a build issue on ppc64le with a new patch replacing use > of unreachable() with __builtin_unreachable() in __WARN_FLAGS(): > https://lore.kernel.org/linuxppc-dev/20220808114908.240813-2-sv@linux.ibm.com/ What is the compiler version? If this is a GCC version that is still supported, could you please open a PR? > during RTL pass: combine > In file included from /linux/kernel/locking/rtmutex_api.c:9: > /linux/kernel/locking/rtmutex.c: In function > '__rt_mutex_slowlock.constprop': > /linux/kernel/locking/rtmutex.c:1612:1: internal compiler error: in > purge_dead_edges, at cfgrtl.c:3369 > 1612 | } > | ^ > 0x142817c internal_error(char const*, ...) > ???:0 > 0x5c8a1b fancy_abort(char const*, int, char const*) > ???:0 > 0x72017f purge_all_dead_edges() > ???:0 > Please submit a full bug report, > with preprocessed source if appropriate. > Please include the complete backtrace with any bug report. > See for instructions. (For some reason your compiler does not show compiler source code file names or line numbers.) So it is GCC 11... is it 11.3? If not, please try with that. > So, it looks like gcc still has issues with certain uses of asm goto. Could be. Please attach preprocessed code (or reduced code that shows the same problem if you have that / can make that). Thanks! Segher