From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757244AbcB1KJT (ORCPT ); Sun, 28 Feb 2016 05:09:19 -0500 Received: from bh-25.webhostbox.net ([208.91.199.152]:56297 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757016AbcB1KJR (ORCPT ); Sun, 28 Feb 2016 05:09:17 -0500 Subject: Re: arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32' To: kbuild test robot References: <201602281656.MFrLXQ6V%fengguang.wu@intel.com> Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org, Ralf Baechle From: Guenter Roeck Message-ID: <56D2C749.9040207@roeck-us.net> Date: Sun, 28 Feb 2016 02:09:13 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <201602281656.MFrLXQ6V%fengguang.wu@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated_sender: linux@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: authenticated_id: linux@roeck-us.net X-Authenticated-Sender: bh-25.webhostbox.net: linux@roeck-us.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/28/2016 12:42 AM, kbuild test robot wrote: > Hi Guenter, > > First bad commit (maybe != root cause): > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: 12b9fa6a97b3150477ab182e321be512b59fa899 > commit: 398c7500a1f5f74e207bd2edca1b1721b3cc1f1e MIPS: VDSO: Fix build error with binutils 2.24 and earlier > date: 9 weeks ago > config: mips-jmr3927_defconfig (attached as .config) > reproduce: > wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > git checkout 398c7500a1f5f74e207bd2edca1b1721b3cc1f1e > # save the attached .config to linux build tree > make.cross ARCH=mips > > All errors (new ones prefixed by >>): > >>> arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32' > /* > ^ > Odd. Was the compiler switched by any chance ? I seem to recall that I saw a similar problem when using the wrong compiler. Guenter > vim +1 arch/mips/vdso/gettimeofday.c > > a7f4df4e Alex Smith 2015-10-21 @1 /* > a7f4df4e Alex Smith 2015-10-21 2 * Copyright (C) 2015 Imagination Technologies > a7f4df4e Alex Smith 2015-10-21 3 * Author: Alex Smith > a7f4df4e Alex Smith 2015-10-21 4 * > a7f4df4e Alex Smith 2015-10-21 5 * This program is free software; you can redistribute it and/or modify it > a7f4df4e Alex Smith 2015-10-21 6 * under the terms of the GNU General Public License as published by the > a7f4df4e Alex Smith 2015-10-21 7 * Free Software Foundation; either version 2 of the License, or (at your > a7f4df4e Alex Smith 2015-10-21 8 * option) any later version. > a7f4df4e Alex Smith 2015-10-21 9 */ > > :::::: The code at line 1 was first introduced by commit > :::::: a7f4df4e21dd8a8dab96e88acd2c9c5017b83fc6 MIPS: VDSO: Add implementations of gettimeofday() and clock_gettime() > > :::::: TO: Alex Smith > :::::: CC: Ralf Baechle > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation >