From: Fengguang Wu <fengguang.wu@intel.com>
To: Guenter Roeck <linux@roeck-us.net>
Cc: kbuild-all@01.org, Ralf Baechle <ralf@linux-mips.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Alex Smith <alex.smith@imgtec.com>
Subject: Re: [kbuild-all] arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'
Date: Wed, 6 Jan 2016 20:09:21 +0800 [thread overview]
Message-ID: <20160106120921.GA21867@wfg-t540p.sh.intel.com> (raw)
In-Reply-To: <20160106115913.GB21529@wfg-t540p.sh.intel.com>
On Wed, Jan 06, 2016 at 07:59:13PM +0800, Fengguang Wu wrote:
> Hi Guenter,
>
> > However I find that the latest mainline no longer has the error.
> > So let's we ignore this error.
>
> Oops, sorry that's not true -- I was testing rather old mainline HEAD.
>
> Here is the new build log.
>
> wfg@inn ~/linux% /c/kernel-tests/reproduce-build 398c7500a 168309855 linus/master gcc-5 mips-jmr3927_defconfig arch/mips/
> No patch removed
> HEAD is now at 398c750 MIPS: VDSO: Fix build error with binutils 2.24 and earlier
>
> =============== commit 398c7500a ===============
> /home/wfg/linux
> HEAD is now at 398c750... MIPS: VDSO: Fix build error with binutils 2.24 and earlier
> /home/wfg/linux/obj-compiletest
>
> make ARCH=mips jmr3927_defconfig
> make ARCH=mips arch/mips/
>
> !!! BUILD ERROR !!!
> make ARCH=mips M=arch/mips/
>
> !!! BUILD ERROR !!!
> grep -a -F arch/mips/ /tmp/build-err-398c7500a1f5f74e207bd2edca1b1721b3cc1f1e-wfg --color
> ../arch/mips/vdso/elf.S:1:0: error: '-march=r3900' requires '-mfp32'
> /*
> ^
> make[3]: *** [arch/mips/vdso/elf.o] Error 1
> ../arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'
As you may see, it's an old error and your commit merely triggered it
in one more place -- gettimeofday.
The error was initially introduced by
commit c1fb442ade67fb41fa786dae1047c7c60df20bb2
Author: Alex Smith <alex.smith@imgtec.com>
AuthorDate: Wed Oct 21 09:54:38 2015 +0100
Commit: Ralf Baechle <ralf@linux-mips.org>
CommitDate: Mon Oct 26 09:50:09 2015 +0100
MIPS: Initial implementation of a VDSO
That patch's new commit id is ebb5e78cc63417a35254a791de66e1cc84f963cc
Thanks,
Fengguang
> /*
> ^
> make[3]: *** [arch/mips/vdso/gettimeofday.o] Error 1
> ../arch/mips/vdso/sigreturn.S:1:0: error: '-march=r3900' requires '-mfp32'
> /*
> ^
> make[3]: *** [arch/mips/vdso/sigreturn.o] Error 1
> make[3]: Target '__build' not remade because of errors.
> make[2]: *** [arch/mips/vdso] Error 2
> make[2]: Target '__build' not remade because of errors.
> make[1]: *** [arch/mips/] Error 2
> make: *** [sub-make] Error 2
> ../arch/mips//vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'
> /*
> ^
> make[3]: *** [arch/mips//vdso/gettimeofday.o] Error 1
> ../arch/mips//vdso/elf.S:1:0: error: '-march=r3900' requires '-mfp32'
> /*
> ^
> make[3]: *** [arch/mips//vdso/elf.o] Error 1
> ../arch/mips//vdso/sigreturn.S:1:0: error: '-march=r3900' requires '-mfp32'
> /*
> ^
> make[3]: *** [arch/mips//vdso/sigreturn.o] Error 1
> make[3]: Target '__build' not remade because of errors.
> make[2]: *** [arch/mips//vdso] Error 2
> make[2]: Target '__build' not remade because of errors.
> make[1]: *** [_module_arch/mips/] Error 2
> make[1]: Target '_all' not remade because of errors.
> make: *** [sub-make] Error 2
>
> =============== PREV commit 74bf8efb5fa6e958d2d7c7917b8bb672085ec0c6 ===============
> /home/wfg/linux
> Previous HEAD position was 398c750... MIPS: VDSO: Fix build error with binutils 2.24 and earlier
> HEAD is now at 74bf8ef... Linux 4.4-rc7
> /home/wfg/linux/obj-compiletest
>
> make ARCH=mips jmr3927_defconfig
> make ARCH=mips arch/mips/
>
> !!! BUILD ERROR !!!
> make ARCH=mips M=arch/mips/
>
> !!! BUILD ERROR !!!
> grep -a -F arch/mips/ /tmp/build-err-74bf8efb5fa6e958d2d7c7917b8bb672085ec0c6-wfg --color
> ../arch/mips/vdso/Makefile:30: MIPS VDSO requires binutils >= 2.25
> ../arch/mips/vdso/Makefile:30: MIPS VDSO requires binutils >= 2.25
> ../arch/mips/vdso/sigreturn.S:1:0: error: '-march=r3900' requires '-mfp32'
> /*
> ^
> make[3]: *** [arch/mips/vdso/sigreturn.o] Error 1
> ../arch/mips/vdso/elf.S:1:0: error: '-march=r3900' requires '-mfp32'
> /*
> ^
> make[3]: *** [arch/mips/vdso/elf.o] Error 1
> make[3]: Target '__build' not remade because of errors.
> make[2]: *** [arch/mips/vdso] Error 2
> make[2]: Target '__build' not remade because of errors.
> make[1]: *** [arch/mips/] Error 2
> make: *** [sub-make] Error 2
> ../arch/mips//vdso/Makefile:30: MIPS VDSO requires binutils >= 2.25
> ../arch/mips//vdso/elf.S:1:0: error: '-march=r3900' requires '-mfp32'
> /*
> ^
> make[3]: *** [arch/mips//vdso/elf.o] Error 1
> ../arch/mips//vdso/sigreturn.S:1:0: error: '-march=r3900' requires '-mfp32'
> /*
> ^
> make[3]: *** [arch/mips//vdso/sigreturn.o] Error 1
> make[3]: Target '__build' not remade because of errors.
> make[2]: *** [arch/mips//vdso] Error 2
> make[2]: Target '__build' not remade because of errors.
> make[1]: *** [_module_arch/mips/] Error 2
> make[1]: Target '_all' not remade because of errors.
> make: *** [sub-make] Error 2
>
> =============== linus/master linus/master ===============
> /home/wfg/linux
> Previous HEAD position was 74bf8ef... Linux 4.4-rc7
> HEAD is now at ee9a7d2... Merge tag 'trace-v4.4-rc4-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace
> /home/wfg/linux/obj-compiletest
>
> make ARCH=mips jmr3927_defconfig
> make ARCH=mips arch/mips/
>
> !!! BUILD ERROR !!!
> make ARCH=mips M=arch/mips/
>
> !!! BUILD ERROR !!!
> grep -a -F arch/mips/ /tmp/build-err-ee9a7d2cb0cf1a1498478bc923d911f3d9c910ac-wfg --color
> ../arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'
> /*
> ^
> make[3]: *** [arch/mips/vdso/gettimeofday.o] Error 1
> ../arch/mips/vdso/elf.S:1:0: error: '-march=r3900' requires '-mfp32'
> /*
> ^
> make[3]: *** [arch/mips/vdso/elf.o] Error 1
> ../arch/mips/vdso/sigreturn.S:1:0: error: '-march=r3900' requires '-mfp32'
> /*
> ^
> make[3]: *** [arch/mips/vdso/sigreturn.o] Error 1
> make[3]: Target '__build' not remade because of errors.
> make[2]: *** [arch/mips/vdso] Error 2
> make[2]: Target '__build' not remade because of errors.
> make[1]: *** [arch/mips/] Error 2
> make: *** [sub-make] Error 2
> ../arch/mips//vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'
> /*
> ^
> make[3]: *** [arch/mips//vdso/gettimeofday.o] Error 1
> ../arch/mips//vdso/elf.S:1:0: error: '-march=r3900' requires '-mfp32'
> /*
> ^
> make[3]: *** [arch/mips//vdso/elf.o] Error 1
> ../arch/mips//vdso/sigreturn.S:1:0: error: '-march=r3900' requires '-mfp32'
> /*
> ^
> make[3]: *** [arch/mips//vdso/sigreturn.o] Error 1
> make[3]: Target '__build' not remade because of errors.
> make[2]: *** [arch/mips//vdso] Error 2
> make[2]: Target '__build' not remade because of errors.
> make[1]: *** [_module_arch/mips/] Error 2
> make[1]: Target '_all' not remade because of errors.
> make: *** [sub-make] Error 2
>
> =============== linux-next linux-next/master ===============
> /home/wfg/linux
> Previous HEAD position was ee9a7d2... Merge tag 'trace-v4.4-rc4-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace
> HEAD is now at 8ef79cd... Add linux-next specific files for 20160105
> /home/wfg/linux/obj-compiletest
>
> make ARCH=mips jmr3927_defconfig
> make ARCH=mips arch/mips/
>
> !!! BUILD ERROR !!!
> make ARCH=mips M=arch/mips/
>
> !!! BUILD ERROR !!!
> grep -a -F arch/mips/ /tmp/build-err-8ef79cd05e6894c01ab9b41aa918a402fa8022a7-wfg --color
> <stdin>:1307:2: warning: #warning syscall copy_file_range not implemented [-Wcpp]
> <stdin>:1307:2: warning: #warning syscall copy_file_range not implemented [-Wcpp]
> ../arch/mips/vdso/elf.S:1:0: error: '-march=r3900' requires '-mfp32'
> /*
> ^
> make[3]: *** [arch/mips/vdso/elf.o] Error 1
> ../arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'
> /*
> ^
> make[3]: *** [arch/mips/vdso/gettimeofday.o] Error 1
> ../arch/mips/vdso/sigreturn.S:1:0: error: '-march=r3900' requires '-mfp32'
> /*
> ^
> make[3]: *** [arch/mips/vdso/sigreturn.o] Error 1
> make[3]: Target '__build' not remade because of errors.
> make[2]: *** [arch/mips/vdso] Error 2
> make[2]: Target '__build' not remade because of errors.
> make[1]: *** [arch/mips/] Error 2
> make: *** [sub-make] Error 2
> ../arch/mips//vdso/elf.S:1:0: error: '-march=r3900' requires '-mfp32'
> /*
> ^
> make[3]: *** [arch/mips//vdso/elf.o] Error 1
> ../arch/mips//vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'
> /*
> ^
> ../arch/mips//vdso/sigreturn.S:1:0: error: '-march=r3900' requires '-mfp32'
> /*
> ^
> make[3]: *** [arch/mips//vdso/gettimeofday.o] Error 1
> make[3]: *** [arch/mips//vdso/sigreturn.o] Error 1
> make[3]: Target '__build' not remade because of errors.
> make[2]: *** [arch/mips//vdso] Error 2
> make[2]: Target '__build' not remade because of errors.
> make[1]: *** [_module_arch/mips/] Error 2
> make[1]: Target '_all' not remade because of errors.
> make: *** [sub-make] Error 2
>
> =============== HEAD commit 168309855 ===============
> /home/wfg/linux
> Previous HEAD position was 8ef79cd... Add linux-next specific files for 20160105
> HEAD is now at 1683098... Linux 4.4-rc8
> /home/wfg/linux/obj-compiletest
>
> make ARCH=mips jmr3927_defconfig
> make ARCH=mips arch/mips/
>
> !!! BUILD ERROR !!!
> make ARCH=mips M=arch/mips/
>
> !!! BUILD ERROR !!!
> grep -a -F arch/mips/ /tmp/build-err-168309855a7d1e16db751e9c647119fe2d2dc878-wfg --color
> ../arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'
> /*
> ^
> make[3]: *** [arch/mips/vdso/gettimeofday.o] Error 1
> ../arch/mips/vdso/elf.S:1:0: error: '-march=r3900' requires '-mfp32'
> /*
> ^
> make[3]: *** [arch/mips/vdso/elf.o] Error 1
> ../arch/mips/vdso/sigreturn.S:1:0: error: '-march=r3900' requires '-mfp32'
> /*
> ^
> make[3]: *** [arch/mips/vdso/sigreturn.o] Error 1
> make[3]: Target '__build' not remade because of errors.
> make[2]: *** [arch/mips/vdso] Error 2
> make[2]: Target '__build' not remade because of errors.
> make[1]: *** [arch/mips/] Error 2
> make: *** [sub-make] Error 2
> ../arch/mips//vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'
> /*
> ^
> make[3]: *** [arch/mips//vdso/gettimeofday.o] Error 1
> ../arch/mips//vdso/elf.S:1:0: error: '-march=r3900' requires '-mfp32'
> /*
> ^
> make[3]: *** [arch/mips//vdso/elf.o] Error 1
> ../arch/mips//vdso/sigreturn.S:1:0: error: '-march=r3900' requires '-mfp32'
> /*
> ^
> make[3]: *** [arch/mips//vdso/sigreturn.o] Error 1
> make[3]: Target '__build' not remade because of errors.
> make[2]: *** [arch/mips//vdso] Error 2
> make[2]: Target '__build' not remade because of errors.
> make[1]: *** [_module_arch/mips/] Error 2
> make[1]: Target '_all' not remade because of errors.
> make: *** [sub-make] Error 2
>
> =============== NEW linus/master HEAD linus/master ===============
> /home/wfg/linux
> Previous HEAD position was 1683098... Linux 4.4-rc8
> HEAD is now at ee9a7d2... Merge tag 'trace-v4.4-rc4-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace
> /home/wfg/linux/obj-compiletest
>
> make ARCH=mips jmr3927_defconfig
> make ARCH=mips arch/mips/
>
> !!! BUILD ERROR !!!
> make ARCH=mips M=arch/mips/
>
> !!! BUILD ERROR !!!
> grep -a -F arch/mips/ /tmp/build-err-ee9a7d2cb0cf1a1498478bc923d911f3d9c910ac-wfg --color
> ../arch/mips/vdso/elf.S:1:0: error: '-march=r3900' requires '-mfp32'
> /*
> ^
> ../arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'
> /*
> ^
> make[3]: *** [arch/mips/vdso/gettimeofday.o] Error 1
> ../arch/mips/vdso/sigreturn.S:1:0: error: '-march=r3900' requires '-mfp32'
> /*
> ^
> make[3]: *** [arch/mips/vdso/sigreturn.o] Error 1
> make[3]: *** [arch/mips/vdso/elf.o] Error 1
> make[3]: Target '__build' not remade because of errors.
> make[2]: *** [arch/mips/vdso] Error 2
> make[2]: Target '__build' not remade because of errors.
> make[1]: *** [arch/mips/] Error 2
> make: *** [sub-make] Error 2
> ../arch/mips//vdso/sigreturn.S:1:0: error: '-march=r3900' requires '-mfp32'
> /*
> ^
> ../arch/mips//vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'
> /*
> ^
> ../arch/mips//vdso/elf.S:1:0: error: '-march=r3900' requires '-mfp32'
> /*
> ^
> make[3]: *** [arch/mips//vdso/gettimeofday.o] Error 1
> make[3]: *** [arch/mips//vdso/elf.o] Error 1
> make[3]: *** [arch/mips//vdso/sigreturn.o] Error 1
> make[3]: Target '__build' not remade because of errors.
> make[2]: *** [arch/mips//vdso] Error 2
> make[2]: Target '__build' not remade because of errors.
> make[1]: *** [_module_arch/mips/] Error 2
> make[1]: Target '_all' not remade because of errors.
> make: *** [sub-make] Error 2
>
> Thanks,
> Fengguang
> _______________________________________________
> kbuild-all mailing list
> kbuild-all@lists.01.org
> https://lists.01.org/mailman/listinfo/kbuild-all
next prev parent reply other threads:[~2016-01-06 12:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-05 7:23 kbuild test robot
2016-01-05 8:09 ` Guenter Roeck
2016-01-05 8:22 ` Fengguang Wu
2016-01-05 14:02 ` Guenter Roeck
2016-01-05 14:30 ` Fengguang Wu
2016-01-05 15:15 ` Guenter Roeck
2016-01-06 11:50 ` Fengguang Wu
2016-01-06 11:59 ` Fengguang Wu
2016-01-06 12:09 ` Fengguang Wu [this message]
2016-01-05 14:35 ` Ralf Baechle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160106120921.GA21867@wfg-t540p.sh.intel.com \
--to=fengguang.wu@intel.com \
--cc=alex.smith@imgtec.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=ralf@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®