2016-12-25 01:16:55

by Fengguang Wu

[permalink] [raw]
Subject: arch/mips/vdso/elf.S:1:0: error: '-march=r3000' requires '-mfp32'

Hi Alex,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7c0f6ba682b9c7632072ffbedf8d328c8f3c42ba
commit: ebb5e78cc63417a35254a791de66e1cc84f963cc MIPS: Initial implementation of a VDSO
date: 1 year, 1 month ago
config: mips-decstation_defconfig (attached as .config)
compiler: mipsel-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 ebb5e78cc63417a35254a791de66e1cc84f963cc
# save the attached .config to linux build tree
make.cross ARCH=mips

All errors (new ones prefixed by >>):

>> arch/mips/vdso/elf.S:1:0: error: '-march=r3000' requires '-mfp32'
/*

--
>> arch/mips/vdso/sigreturn.S:1:0: error: '-march=r3000' requires '-mfp32'
/*


vim +1 arch/mips/vdso/elf.S

> 1 /*
2 * Copyright (C) 2015 Imagination Technologies
3 * Author: Alex Smith <[email protected]>
4 *

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


Attachments:
(No filename) (1.23 kB)
.config.gz (8.83 kB)
Download all attachments

2016-12-25 12:09:40

by Ralf Baechle

[permalink] [raw]
Subject: Re: arch/mips/vdso/elf.S:1:0: error: '-march=r3000' requires '-mfp32'

On Sun, Dec 25, 2016 at 09:16:16AM +0800, kbuild test robot wrote:

(dropping Markos who's email address is no longer valid from the cc list.)

> FYI, the error/warning still remains.
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 7c0f6ba682b9c7632072ffbedf8d328c8f3c42ba
> commit: ebb5e78cc63417a35254a791de66e1cc84f963cc MIPS: Initial implementation of a VDSO
> date: 1 year, 1 month ago
> config: mips-decstation_defconfig (attached as .config)
> compiler: mipsel-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 ebb5e78cc63417a35254a791de66e1cc84f963cc
> # save the attached .config to linux build tree
> make.cross ARCH=mips
>
> All errors (new ones prefixed by >>):
>
> >> arch/mips/vdso/elf.S:1:0: error: '-march=r3000' requires '-mfp32'
> /*
>
> --
> >> arch/mips/vdso/sigreturn.S:1:0: error: '-march=r3000' requires '-mfp32'
> /*

This seems to be another toolchain-related issue. I can't reproduce this
locally, even with the GCC 5.3.0 / binutils 2.25 combination which I
used to reproduce the other recently reported toolchain issues.

Ralf