From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0ECBDC433ED for ; Fri, 9 Apr 2021 12:17:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AA49661177 for ; Fri, 9 Apr 2021 12:17:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231599AbhDIMRi (ORCPT ); Fri, 9 Apr 2021 08:17:38 -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-mips@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 ]