[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <56D2C749.9040207@roeck-us.net>
Date: Sun, 28 Feb 2016 02:09:13 -0800
From: Guenter Roeck <linux@...ck-us.net>
To: kbuild test robot <fengguang.wu@...el.com>
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org,
Ralf Baechle <ralf@...ux-mips.org>
Subject: Re: arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires
'-mfp32'
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 <alex.smith@...tec.com>
> 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 <alex.smith@...tec.com>
> :::::: CC: Ralf Baechle <ralf@...ux-mips.org>
>
> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all Intel Corporation
>
Powered by blists - more mailing lists