From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9D2D2C28D13 for ; Mon, 22 Aug 2022 13:12:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234868AbiHVNMX (ORCPT ); Mon, 22 Aug 2022 09:12:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234803AbiHVNMT (ORCPT ); Mon, 22 Aug 2022 09:12:19 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B69B533E2E for ; Mon, 22 Aug 2022 06:12:18 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 518B1B811FE for ; Mon, 22 Aug 2022 13:12:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C0BF4C433B5; Mon, 22 Aug 2022 13:12:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661173935; bh=SiAIv6X2Q3SDevkUGpEJlAHs0fbikeFuvz77rYEBmLM=; h=Date:From:To:Cc:Subject:From; b=ZseYsuPxJl4C7J1GlHJnJxCSeS+0xOQmdr/wWirhal2oC8PyOsr5z0KAdTH//V2vY MsXvMob8jBLkpE5DnzZi8wquZ7PvsB9qgvURrCg+QKbNcVsbY3CYD7/JIhWHMq9Y1C 5U/q9dTg6og8NuPUJNtqZ59e1A0xqz82LcdQOvaW/lgmw/G7Msq9gdehWGRxvz4tiM sk8AiT3q2fR7Oi3SGZ4aPADfYi7FlZb7sjAXLJeIcDttzT72WakfjBED5vKVSgwt/H 2vqxMuyxzbFIVFLwSp/qcjs8RFIxlFVp4dHxCMVREpFU9KZ2mA4TwrwdQqfM+CVt1E EhEExxIJe2GVQ== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id B2077404A1; Mon, 22 Aug 2022 10:12:12 -0300 (-03) Date: Mon, 22 Aug 2022 10:12:12 -0300 From: Arnaldo Carvalho de Melo To: Nick Desaulniers Cc: Borislav Petkov , Masahiro Yamada , Alexei Starovoitov , Nick Desaulniers , Ingo Molnar , Nathan Chancellor , Alexandre Belloni , Jiri Olsa , Namhyung Kim , Linus Torvalds , Linux Kernel Mailing List Subject: [tools/ breakage] asm goto: eradicate CC_HAS_ASM_GOTO Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hey, The cset below broke tools/perf/, please either not update tools/ headers (tools developers will notice the difference when building tools by means of tools/perf/check-headers.sh and see what is needed to keep it in sync) or do a 'make tools/all'. Someone seems to have sent a fix, I'll take a look. - Arnaldo asm goto: eradicate CC_HAS_ASM_GOTO GCC has supported asm goto since 4.5, and Clang has since version 9.0.0. The minimum supported versions of these tools for the build according to Documentation/process/changes.rst are 5.1 and 11.0.0 respectively. Remove the feature detection script, Kconfig option, and clean up some fallback code that is no longer supported. The removed script was also testing for a GCC specific bug that was fixed in the 4.7 release. Also remove workarounds for bpftrace using clang older than 9.0.0, since other BPF backend fixes are required at this point. Link: https://lore.kernel.org/lkml/CAK7LNATSr=BXKfkdW8f-H5VT_w=xBpT2ZQcZ7rm6JfkdE+QnmA@mail.gmail.com/ Link: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48637 Acked-by: Borislav Petkov Suggested-by: Masahiro Yamada Suggested-by: Alexei Starovoitov Signed-off-by: Nick Desaulniers Reviewed-by: Ingo Molnar Reviewed-by: Nathan Chancellor Reviewed-by: Alexandre Belloni Signed-off-by: Linus Torvalds