Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp1511306rdf; Sun, 5 Nov 2023 02:37:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IEKIpIi/pVI5noUUccFtqr/6qQtLDyi76p72jt2FSROp3YAfPLJcP8Dh1xtj7jwX8aPvrag X-Received: by 2002:a54:418d:0:b0:3b5:84b0:6be6 with SMTP id 13-20020a54418d000000b003b584b06be6mr9683655oiy.47.1699180635612; Sun, 05 Nov 2023 02:37:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699180635; cv=none; d=google.com; s=arc-20160816; b=cISVsbV0A38GsUelYmzUmqWnusF6AUDJFwUA8r9NHcTgzmpREQWkmUn0AENlQZZ1OO EdAY6mFUUKJJLmiKhk//lZjmQbXNwnkLRTr77DvPlVirw4Wf0vEMMTonq7JDhanmUwxT omqbq9LH8j8Gk6DsVM6ImhSnp0dGQmBMas4Rgky3tSFhIUVnCHEWFOKa7XnG6FecxzJc /MyAWOHSqGkySEyDMDI5WQlW2QDoB52xQfylSCLbTR/IRtPFWLKxNeuYQ3Vgn0tPKIxT D2MAyWQRuSt53Q1UD0IDXHkLhw8jSmNjSgQ3Ke1jUluQ7NS7hmzSDe153isCZJm5klTI TuCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=lmZJn8vKv94wUbituMo8ksLtBN3LELrzZKy1P9qJujI=; fh=fVLdaaEf8SRAl+vTtTeUb2psDcIX9nery5aD1AwNoP8=; b=oAf8b4EUYtr7KyvKrnyFAy5N5TQFxczQKpgdCFqcn2MgUAsLz7nAV9DNM/QcOCL0Oj L9wCKeMLN3XBb+dTUkrQLsAgDGTMQZ9qvk4SenfWnk3Hfp4VsZ8ZA97H/QP8I2lJ2K8Z bpimNtd+VAATovEm2nNWUTjhMBrVcfT/q+1R4Hq+Su/DakAfclJ6FmaAKJqDyvDSZQkZ Zh6B+zv7E+NuH1FiogIgPIbjiZf+D8lwlg81o66ERRHcexw1MxfO5dIuTMBJq+RHMm23 qxD563/taFlddyzGqeSSZN7SwsjR1wPJs+4L1UGgrxeQvK4bRAlStIuWYenO6IPb++qh BSEw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id m9-20020a056a00080900b00690ffbb46e6si5973782pfk.261.2023.11.05.02.37.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Nov 2023 02:37:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 430768080D79; Sun, 5 Nov 2023 02:37:13 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229638AbjKEKhE (ORCPT + 99 others); Sun, 5 Nov 2023 05:37:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230097AbjKEKhC (ORCPT ); Sun, 5 Nov 2023 05:37:02 -0500 Received: from 1wt.eu (ded1.1wt.eu [163.172.96.212]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 390E3A2; Sun, 5 Nov 2023 02:37:00 -0800 (PST) Received: (from willy@localhost) by mail.home.local (8.17.1/8.17.1/Submit) id 3A5AasM4002738; Sun, 5 Nov 2023 11:36:54 +0100 Date: Sun, 5 Nov 2023 11:36:54 +0100 From: Willy Tarreau To: Thomas =?iso-8859-1?Q?Wei=DFschuh?= Cc: Shuah Khan , Zhangjin Wu , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH 1/6] tools/nolibc: error out on unsupported architecture Message-ID: References: <20231105-nolibc-mips-be-v1-0-6c2ad3e50a1f@weissschuh.net> <20231105-nolibc-mips-be-v1-1-6c2ad3e50a1f@weissschuh.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20231105-nolibc-mips-be-v1-1-6c2ad3e50a1f@weissschuh.net> X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Sun, 05 Nov 2023 02:37:13 -0800 (PST) On Sun, Nov 05, 2023 at 11:09:55AM +0100, Thomas Wei?schuh wrote: > When an architecture is unsupported arch.h would silently continue. > This leads to a lot of followup errors because my_syscallX() is not > defined and the startup code is missing. > > Avoid these confusing errors and fail the build early with a clear > error message and location. Oops, good catch! Thanks, Willy