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


Groups > linux.kernel > #1345188 > unrolled thread

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

Started bykbuild test robot <fengguang.wu@intel.com>
First post2016-02-28 09:50 +0100
Last post2016-02-28 11:10 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires  '-mfp32' kbuild test robot <fengguang.wu@intel.com> - 2016-02-28 09:50 +0100
    Re: arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires  '-mfp32' Guenter Roeck <linux@roeck-us.net> - 2016-02-28 11:10 +0100

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

Fromkbuild test robot <fengguang.wu@intel.com>
Date2016-02-28 09:50 +0100
Subjectarch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'
Message-ID<r75d7-89y-3@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

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'
    /*
    ^

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@imgtec.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@imgtec.com>
:::::: CC: Ralf Baechle <ralf@linux-mips.org>

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

[toc] | [next] | [standalone]


#1345201

FromGuenter Roeck <linux@roeck-us.net>
Date2016-02-28 11:10 +0100
Message-ID<r76sy-JY-3@gated-at.bofh.it>
In reply to#1345188
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@imgtec.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@imgtec.com>
> :::::: CC: Ralf Baechle <ralf@linux-mips.org>
>
> ---
> 0-DAY kernel test infrastructure                Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web