Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1301923pxf; Fri, 9 Apr 2021 05:18:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwife8B6sANTso5k/KV/vxyrqjM1pxoeedqHwn6arUad/RtNJX/++kkSdXvVLcjzl5M3yv X-Received: by 2002:aa7:cc15:: with SMTP id q21mr17667022edt.140.1617970723622; Fri, 09 Apr 2021 05:18:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617970723; cv=none; d=google.com; s=arc-20160816; b=wYFoAvgv49yoisNjAFKZEkzMtGk5TFbdjd7/HZ9yz7Qcy1IONlcRIR21nJyV/Eos2c /FHWCLrIKSNWwpSeFkhLLiy7v+XqFgkclq204mEtTkpredQLefkzvr4gfiOb4eRbKlkt u7mLlCjLYpZR4VOCoSeJqerDjnJccbaExeGniMdTT1Q2wUy80TYy7vR4Bp3RBOeBfri/ K2Tk+2nJnro63Q77zhBGeVnV6HguFgR+AIQS9xcpYZS7SOhq6zkMFiz7RIgZ5ScMGkrb jD3LN/TAkpBeRFRw6FlivRsAJeY7PT+VhwaBGgwOHFyTtZbAiv6CixTiBWLcRTYd8V0l 6p3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=/MXpaSV6UlDon7SaosfpoFDw2gjA2Df5C5DCDfB3OtY=; b=H5iSCYawcntRdCA/V6mxKkXxW5wa0cqxPgWzJu+PafJdgwppMZk8tioaillRQgWlcD z2wRjcwszoi+beC330HIRKfWWAc4dHrm6Nx0Eqh5jF36SkeJdwYnADNJCU3YuLRGRWPJ IsHAb7NcOyuyG/UoFbrSH8N+tGZdE1r4jtrLrODAgCuJqZAXRqTaUUckt/LQCYIvuAOI O+KfW19uvSStJtsV/KDUy6Za/0+9+frgcJi+VEMHs7LG/S/LsIUEokr70gdh01rJrAQ8 uRJJyCBhk53mdS3e8dTA6mDdLgenHv4KC+TCMQXsbu/9itdfkuhdB4EvdCFZJddGQcXR unmg== 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 jg36si2082729ejc.207.2021.04.09.05.18.19; Fri, 09 Apr 2021 05:18:43 -0700 (PDT) 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 S231638AbhDIMRj (ORCPT + 99 others); Fri, 9 Apr 2021 08:17:39 -0400 Received: from elvis.franken.de ([193.175.24.41]:36495 "EHLO elvis.franken.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229801AbhDIMRi (ORCPT ); Fri, 9 Apr 2021 08:17:38 -0400 Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1lUq4j-0006Zn-00; Fri, 09 Apr 2021 14:17:25 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id 6F1ECC24F9; Fri, 9 Apr 2021 14:16:37 +0200 (CEST) Date: Fri, 9 Apr 2021 14:16:37 +0200 From: Thomas Bogendoerfer To: YunQiang Su Cc: Sudip Mukherjee , linux-mips , LKML Subject: Re: build failure of malta_qemu_32r6_defconfig Message-ID: <20210409121637.GA13010@alpha.franken.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 08, 2021 at 09:42:11AM +0800, YunQiang Su wrote: > Sudip Mukherjee 于2021年4月8日周四 上午2:26写道: > > > > Hi Thomas, > > > > I was building v5.10.28 with malta_qemu_32r6_defconfig and noticed that > > it fails to build, so tried next-20210407 to see if it has been fixed. > > But linux-next also has the issue with gcc-10. > > > > The error is: > > > > ./arch/mips/include/asm/vdso/gettimeofday.h: In function '__vdso_clock_gettime': > > ./arch/mips/include/asm/vdso/gettimeofday.h:103:2: error: the register 'lo' cannot be clobbered in 'asm' for the current target > > 103 | asm volatile( > > | ^~~ > > this operation try to save lo and hi register, while they are not > exisiting on r6. > We are working on figure out a patch for it. looks like there is already a patch in patchwork, which just needs a workup: https://patchwork.kernel.org/project/linux-mips/patch/20200801154401.4177009-1-romain.naour@gmail.com/ Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]