Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp3099224rwe; Mon, 29 Aug 2022 05:58:06 -0700 (PDT) X-Google-Smtp-Source: AA6agR54ZtTpzxWGJVGd8g16dC8kSSrV3Ptue+zo71hhWE/WVRqb9DgOMR4EeIm07BiibYxGVbv6 X-Received: by 2002:a17:907:60c7:b0:731:2be4:f72d with SMTP id hv7-20020a17090760c700b007312be4f72dmr13677291ejc.639.1661777885802; Mon, 29 Aug 2022 05:58:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661777885; cv=none; d=google.com; s=arc-20160816; b=zd8mPHkI3dELVKxWJmyeQBNolpC9MHTLCvhjVMDkCCyfiwPsID8lYjcncauJJ9dN0S M13uHL8cvrA4eIAJwPetnGL1WQ7+Ng7nne/4477d6EX0kusHKY/3thadNmNNr4IzYyjQ fsgeMqPRg1x7rTbqAjBM2K7GiYActzzF7Ln/gK8vhKBAFaMi+gyxTHHQ6S9q7MZCVTmg nxqzGEqkvLy37u7ZhIKy0DYVGF1jKPj7jMDeIoP1fSuaxnixvKEqxpeHoItkEztpkyaZ /PDmeJFs0LTBV+LxS9C1KuAOfMUtioTd6SwNgNOZRdSgivaM0CxO9BIec7aANVSFJ12+ k7XQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=NZhLxCCeYdI/qBH/alMR7hRhyD5X+S9wRqu+2HPU3uI=; b=TuBvKWjCTHQZ0FDgqHOTyWC98NL2k+1npis7dQ1wiIMk67moiTDbn7eILCiGc/RIrZ /JyC4mmYiCiqavLFUfjQfjU1Ff76AZe0iNTxkVk5fvGa8Y6IIj18MTYZ96vSqEYTI3ZW wnnKlvl3nMBClRTIrnDkAds6AOntLniUS90fHGf764RnPGRi9zVZaQ+gXiN1nxkx3Bbz efmfCAl5UNRQknrk57WBaVVkrWcSDJ3uGYulzgF/2gQaWys0xNxppV59EbEynGDshK+5 wZy/4bhsa2XlxxiJM1eDnmxAwUg5wwV3mne/TFk/6UNcWMrfv0sTspQ4nA1Pleq6E8CZ AuTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=B75XTaN6; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g9-20020a1709065d0900b0073da0ce043csi7387194ejt.619.2022.08.29.05.57.40; Mon, 29 Aug 2022 05:58:05 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=B75XTaN6; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229524AbiH2MTe (ORCPT + 99 others); Mon, 29 Aug 2022 08:19:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231372AbiH2MST (ORCPT ); Mon, 29 Aug 2022 08:18:19 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BAC32A2613 for ; Mon, 29 Aug 2022 05:01:36 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 249FE61244 for ; Mon, 29 Aug 2022 11:18:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 89584C433D7 for ; Mon, 29 Aug 2022 11:18:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661771910; bh=fpt/38wI087gZxxVJZedw7NMuIynb21K6uf3UFvOwDU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=B75XTaN6by5tSHcf6mM05wwWWL0lynG9ahNfP0WiVG7ola7CFolG7czog3rkf4uDP NTZuPEV+fN32JwwqCXfRewnZDxZA/vv8AQaT8kU/RiepPwhY565ZyJRmgy3TEOqoDQ cUqTLIMIDGO8GeA9YQjWz81vNjBHKpO+Pc0eOfgxs18k1OFxzM1Ee5XB+syFmO2pi4 5o02WakWRtCkhwsPOVcJuWPDFKIunvmrW1f8iq+yWQ+p7pQHvq6PNQ/Rlsu6n1/+zU TEJJ3Wft87KyEtXo/k+CkIxrWNgJmbJhNfeXZTHdx5223L/dRSkxmac8gcclYGjXfZ TdY5p6+7gpH5w== Received: by mail-ua1-f54.google.com with SMTP id u1so2739793uan.3 for ; Mon, 29 Aug 2022 04:18:30 -0700 (PDT) X-Gm-Message-State: ACgBeo1m/7WstRK4R+jY7imkP+wGp1tCnR/TBoksWhq3MesqIkpKZ9Gl 45sF81O2Z0VdCrO7dn8VCMI8GmOXt45e3qHeSJ8= X-Received: by 2002:ab0:d82:0:b0:39e:db4c:c80c with SMTP id i2-20020ab00d82000000b0039edb4cc80cmr3107265uak.22.1661771909479; Mon, 29 Aug 2022 04:18:29 -0700 (PDT) MIME-Version: 1.0 References: <20220827175436.156464-1-xry111@xry111.site> <927f85844e31f0563523622134b5d01af6991e60.camel@xry111.site> In-Reply-To: <927f85844e31f0563523622134b5d01af6991e60.camel@xry111.site> From: Huacai Chen Date: Mon, 29 Aug 2022 19:18:18 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/8] LoongArch: Support toolchain with new relocation types To: Xi Ruoyao Cc: Arnd Bergmann , loongarch@lists.linux.dev, LKML , WANG Xuerui , Youling Tang , Jinyang He Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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, Ruoyao, On Mon, Aug 29, 2022 at 1:04 PM Xi Ruoyao wrote: > > On Mon, 2022-08-29 at 12:33 +0800, Huacai Chen wrote: > > > If we'll drop support for old GCC/Binutils, we can drop patch 5 (it's > > > only needed for the combination of old GCC and new Binutils). Then > > > squash 4 and 7. 8 should still be standalone IMO. > > > Whether we can drop old toolchains depends on Arnd. :) > > I'd like to prepare V6 after we can make a final decision. I think we can assume that we should support old toolchains until Arnd responds, but again, we can only consider new/new and old/old. > > > But even if we should support old toolchains, I think we only need to > > consider new binutils + new gcc and old binutils + old gcc, I don't > > think new binutils + old gcc and old binutils + new gcc can exist in > > the real world. > > Generally, how do we report an unsupported configuration in kernel > building system? With a $(error, "message") in the Makefile, or in some > header with a #error? I don't want to leave an unsupported > configuration silently generating modules which can't be loaded by the > kernel. $(error, "message") in the Makefile is fine to me, you can "grep error arch -rwI | grep Makefile". Huacai > > -- > Xi Ruoyao > School of Aerospace Science and Technology, Xidian University >