arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'
From: kbuild test robot
Date: Sat Dec 10 2016 - 20:22:25 EST
Hi Guenter,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 045169816b31b10faed984b01c390db1b32ee4c1
commit: 398c7500a1f5f74e207bd2edca1b1721b3cc1f1e MIPS: VDSO: Fix build error with binutils 2.24 and earlier
date: 12 months ago
config: mips-jmr3927_defconfig (attached as .config)
compiler: mips-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
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'
/*
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: application/gzip