Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp2775585rwe; Sun, 28 Aug 2022 22:50:50 -0700 (PDT) X-Google-Smtp-Source: AA6agR5ixaYnG/dvlWaNs2fZVau+rzZ1K+9Z6WRZx90ionsLuoFSrk1BdPbRf2oU2oQPALh0RLJj X-Received: by 2002:a17:90a:d585:b0:1f4:f9a5:22a9 with SMTP id v5-20020a17090ad58500b001f4f9a522a9mr16959959pju.49.1661752250714; Sun, 28 Aug 2022 22:50:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661752250; cv=none; d=google.com; s=arc-20160816; b=pRh5J/57X+/pbOWHivU6iy3tYXpwG493pnn0h/BZcv/ppU22TlEIeOfMWgnpBg0bdQ 4CHtHrisNiCMQpKS+VInNAN+9vvSHmBQrWiLUHC5AG/JtWxV8XQxgBoi2axil0UDbIS0 /ZtuD+JptRfBC66hjY7cjXMy4nTp5OZktbAlEP6EdlHG15dgUCLO9em/YMzqQZA808/x 7j0VNeZWCQbrvFK6PZgT0bANHZ9Ze7dgmEjO0W/9EBY/O62qpvRd6vJwJ7mBY92CYXZj hr3hprY0bZdxaLtPlZ6fx+pegk2Wm5l4dqshS8kX++wS+mWnRGqRrP2phTYNQZjly296 Rdgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=BL4+fAB6GpyaceFRrLDG4/83Rny97mQ4f7AF16FF7bE=; b=kp8v1L0VVsDsx5+RzW28OUEd7KHfUHZmb93c/F9xsVjcPzyVNdXazP5jn+s4j8zuJ4 tkIq9gieFxxg19fkv1/9l7+LxUWQ8uSF3LKGJUoYMRz6LO52dfyBT5dKQU+5Dqq9PfNB Bm8dmBY+6ddTDkI5xe7G3x7FadWozwuuAUrxudxx/BanW8LA05p/iwyC+r5+anX/bEg8 xuMUL+mPF5DiN7G9DiKAy/1GenTqgUPHpj66ahjMxasQfB3aGqi++sODRCv3nha8x9s8 tfmiezhCkzW5lq6FFreuVI6LGg0uIWZLxDRX6fRP/rvZhVjQsZegwmo3PZOwM03hOMRN NaXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xry111.site header.s=default header.b=P3sv8B03; 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=REJECT sp=REJECT dis=NONE) header.from=xry111.site Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gi10-20020a17090b110a00b001f557276cecsi7947874pjb.52.2022.08.28.22.50.40; Sun, 28 Aug 2022 22:50:50 -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=@xry111.site header.s=default header.b=P3sv8B03; 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=REJECT sp=REJECT dis=NONE) header.from=xry111.site Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229486AbiH2FEH (ORCPT + 99 others); Mon, 29 Aug 2022 01:04:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229453AbiH2FEG (ORCPT ); Mon, 29 Aug 2022 01:04:06 -0400 Received: from xry111.site (xry111.site [IPv6:2001:470:683e::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29C0E2C113 for ; Sun, 28 Aug 2022 22:04:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xry111.site; s=default; t=1661749441; bh=Y2IBo/yl2C21cbNjWkR6HnBtpOv/rW+e5okc63SzE28=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=P3sv8B03EouV3Ol4B/8SyCFj9bDuGenC3FLHapba4ePX9gDXNlKUXa1RIxoS7cutG np8fe//5yYYP/nuXnDl8V/knGoy6Q+puDybEF9QznTZhTNAC9AJIWxJgc49hM6QN/H EiJDe8tPTYijqqqGrcdLlfw6R8On7gRaaQimjiok= Received: from localhost.localdomain (xry111.site [IPv6:2001:470:683e::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id 4863A66817; Mon, 29 Aug 2022 01:04:00 -0400 (EDT) Message-ID: <927f85844e31f0563523622134b5d01af6991e60.camel@xry111.site> Subject: Re: [PATCH 0/8] LoongArch: Support toolchain with new relocation types From: Xi Ruoyao To: Huacai Chen , Arnd Bergmann Cc: loongarch@lists.linux.dev, LKML , WANG Xuerui , Youling Tang , Jinyang He Date: Mon, 29 Aug 2022 13:03:58 +0800 In-Reply-To: References: <20220827175436.156464-1-xry111@xry111.site> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.45.2 MIME-Version: 1.0 X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROM_SUSPICIOUS_NTLD, PDS_OTHER_BAD_TLD,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 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).=C2=A0 The= n > > squash 4 and 7.=C2=A0 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. > 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. --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University