Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1632837pxb; Thu, 4 Mar 2021 17:02:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJwC6bUozjNcrjoXgVfTuPiNpC52BJgcZ/ZONXZIxErOWXg5l6jgu55aDndyLRQJVN8sbMIG X-Received: by 2002:a92:7c0a:: with SMTP id x10mr6215989ilc.1.1614906137079; Thu, 04 Mar 2021 17:02:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614906137; cv=none; d=google.com; s=arc-20160816; b=paaXQ/rc2tFQnR2afZARFxsmDX8eGt75pyDXyJCoT5osq/y9c92XwbCBYTZ6KYUaiQ hvwNd/Z5dEy1HWCdYyrMDI5OnHi2/OJK7vXE2zhPy1QH3znehVbOAcoM9ACp/jEv51/X KwyNR1WQHVJUHUr5iaGMdfdiwYWlhn/TjcjHr49/zNgSiGT/0w29LwbLmJTP3CQQEUl9 rauHRAaPlOI7Hg3uziUHYd5iLClYlVc5q+QGXey89Fm51n2VSXm+K8k5VJXA8k5brOG2 4QFmUEkJ9HHbZFtBswsj/WNwWjZGyVgPtoLVuHJoJnj74SZXFkRHN5rtfDu5i7KL6iSG ktgQ== 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:references:message-id :in-reply-to:subject:cc:to:from:date; bh=ZHoZiqsyqVK51kkRzXtoNfxPUYeQzZDFSRCUa8/qgFY=; b=aVsDN03G6byz1nRRwgxnQAgRZrr+x2RoStTtMhvMpcmCdTNr/zlN6npaWfmhp65eEb XCuoGMsqQeappVO0LZljwh2bEKGJ5Gi8hC7Xty30gB+3/xqCtCX20RQ7KiJmxZUUGwAT 5gge+/u0Jvc7g7FYAZHy8RKp+Oh3ewYqYiaLFKb628eHdTzABJD7Ljo1uW2Qk32zVOKr kLPBx4mnDvMJpN46ktEBPXCkAhlhMd/cCb/aTJnaAs2f38n+mKqq9Rf5xVvgRnJtoDAV 1eNCOlFQSCjUf6JFUE4dhcdj2eA8K3L4hYLxmPDm52Ur+5UOLZtJy5o7es7fK58QSRmp WGPw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i16si929817ioi.40.2021.03.04.17.02.03; Thu, 04 Mar 2021 17:02:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232262AbhCDXIb (ORCPT + 99 others); Thu, 4 Mar 2021 18:08:31 -0500 Received: from angie.orcam.me.uk ([157.25.102.26]:37442 "EHLO angie.orcam.me.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230403AbhCDXIb (ORCPT ); Thu, 4 Mar 2021 18:08:31 -0500 Received: by angie.orcam.me.uk (Postfix, from userid 500) id B42C392009C; Fri, 5 Mar 2021 00:08:29 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id ADE1C92009B; Fri, 5 Mar 2021 00:08:29 +0100 (CET) Date: Fri, 5 Mar 2021 00:08:29 +0100 (CET) From: "Maciej W. Rozycki" To: Tiezhu Yang cc: Thomas Bogendoerfer , Nathan Chancellor , Nick Desaulniers , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com, Xuefeng Li Subject: Re: [PATCH] MIPS: Add comment about CONFIG_MIPS32_O32 in loongson3_defconfig when build with Clang In-Reply-To: <1614820544-10686-1-git-send-email-yangtiezhu@loongson.cn> Message-ID: References: <1614820544-10686-1-git-send-email-yangtiezhu@loongson.cn> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 4 Mar 2021, Tiezhu Yang wrote: > This is a known bug [2] with Clang, as Simon Atanasyan said, > "There is no plan on support O32 for MIPS64 due to lack of > resources". Huh? Is that a joke? From the o32 psABI's point of view a MIPS64 CPU is exactly the same as a MIPS32 one (for whatever ISA revision), so there's nothing to support there really other than the CPU/ISA name. As much as I dislike all the hacks the Clang community seems to come up with for the shortcomings of their tool there has to be a saner workaround available rather than forcibly disabling support for the o32 ABI with CONFIG_64BIT kernels, but the report is missing the compiler invocation line triggering the issue (V=1 perhaps?), which should be included with any commit description anyway, so I can't suggest anything based on the limited information provided. Maciej