Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1301323

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

From Fengguang Wu <fengguang.wu@intel.com>
Newsgroups linux.kernel
Subject Re: arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'
Date 2016-01-05 09:30 +0100
Message-ID <qNvaa-7RZ-9@gated-at.bofh.it> (permalink)
References <qNue6-77C-3@gated-at.bofh.it> <qNuQO-7Jz-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jan 05, 2016 at 12:09:14AM -0800, Guenter Roeck wrote:
> On 01/04/2016 11:23 PM, 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:   168309855a7d1e16db751e9c647119fe2d2dc878
> >commit: 398c7500a1f5f74e207bd2edca1b1721b3cc1f1e MIPS: VDSO: Fix build error with binutils 2.24 and earlier
> >date:   6 days 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'
> >     /*
> >     ^
> >
> AFAICS this is using the mips cross compiler version 4.9.0 from kernel.org [1],
> which in turn uses binutils 2.24. At least this is what make.cross tries to install.

Oops, sorry. I'm now using the debian MIPS cross compiler 5.2.1 ...
make.cross has not been updated yet.

> I downloaded it and used it to compile both the attached configuration as well
> as jmr3927_defconfig. Both are building just fine for me. On top of that,
> arch/mips/vdso/gettimeofday.c should not build in the first place with binutils 2.24
> (and doesn't build for me).
> 
> What am I missing ?
> 
> Guenter
> 
> ---
> [1] https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.9.0/x86_64-gcc-4.9.0-nolibc_mips-linux.tar.xz
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires  '-mfp32' kbuild test robot <fengguang.wu@intel.com> - 2016-01-05 08:30 +0100
  Re: arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires  '-mfp32' Guenter Roeck <linux@roeck-us.net> - 2016-01-05 09:10 +0100
    Re: arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900'  requires '-mfp32' Fengguang Wu <fengguang.wu@intel.com> - 2016-01-05 09:30 +0100
      Re: arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires  '-mfp32' Guenter Roeck <linux@roeck-us.net> - 2016-01-05 15:10 +0100
        Re: arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900'  requires '-mfp32' Fengguang Wu <fengguang.wu@intel.com> - 2016-01-05 15:40 +0100
          Re: arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires  '-mfp32' Guenter Roeck <linux@roeck-us.net> - 2016-01-05 16:20 +0100
          Re: arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900'  requires '-mfp32' Fengguang Wu <fengguang.wu@intel.com> - 2016-01-06 13:00 +0100
            Re: arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900'  requires '-mfp32' Fengguang Wu <fengguang.wu@intel.com> - 2016-01-06 13:10 +0100
              Re: [kbuild-all] arch/mips/vdso/gettimeofday.c:1:0: error:  '-march=r3900' requires '-mfp32' Fengguang Wu <fengguang.wu@intel.com> - 2016-01-06 13:10 +0100
        Re: arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900'  requires '-mfp32' Ralf Baechle <ralf@linux-mips.org> - 2016-01-05 15:40 +0100

csiph-web