arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3000' requires '-mfp32'

From: kbuild test robot
Date: Mon Aug 01 2016 - 22:33:19 EST


Hi Guenter,

First bad commit (maybe != root cause):

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 77a87824ed676ca8ff8482e4157d3adb284fd381
commit: 398c7500a1f5f74e207bd2edca1b1721b3cc1f1e MIPS: VDSO: Fix build error with binutils 2.24 and earlier
date: 7 months ago
config: mips-decstation_defconfig (attached as .config)
compiler: mipsel-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
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=r3000' requires '-mfp32'
/*
^

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@xxxxxxxxxx>
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@xxxxxxxxxx>
:::::: CC: Ralf Baechle <ralf@xxxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data