Re: vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread Randy Dunlap
On 10/08/14 16:18, Andy Lutomirski wrote: > On Wed, Oct 8, 2014 at 4:11 PM, Peter Foley wrote: >> On Wed, Oct 8, 2014 at 5:21 PM, H. Peter Anvin wrote: >>> That we can't solve, but it is not okay to break the kernel build. >> >> Should I just make CONFIG_BUILD_DOCSRC depend on CROSS_COMPILE=""?

Re: vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread Andy Lutomirski
On Wed, Oct 8, 2014 at 4:11 PM, Peter Foley wrote: > On Wed, Oct 8, 2014 at 5:21 PM, H. Peter Anvin wrote: >> That we can't solve, but it is not okay to break the kernel build. > > Should I just make CONFIG_BUILD_DOCSRC depend on CROSS_COMPILE=""? > I'm not sure how much value would be added by

Re: vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread Peter Foley
On Wed, Oct 8, 2014 at 5:21 PM, H. Peter Anvin wrote: > That we can't solve, but it is not okay to break the kernel build. Should I just make CONFIG_BUILD_DOCSRC depend on CROSS_COMPILE=""? I'm not sure how much value would be added by implementing targetprogs in kbuild, simply to increase build

Re: vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread Chuck Ebbert
On Wed, 08 Oct 2014 14:21:00 -0700 "H. Peter Anvin" wrote: > On 10/08/2014 02:09 PM, Chuck Ebbert wrote: > >> > >> Breaking cross-compilation is not okay, though, regardless of what > >> Fedora does. It should be okay to, for example, build an i386 kernel on > >> an ARM box. > >> > > > > I

Re: vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread Josh Boyer
On Wed, Oct 8, 2014 at 5:09 PM, Chuck Ebbert wrote: > On Wed, 08 Oct 2014 13:55:00 -0700 > "H. Peter Anvin" wrote: > >> On 10/08/2014 01:46 PM, Chuck Ebbert wrote: >> > >> > Fedora doesn't cross-compile i686 builds because of problems like >> > this. It sets up an i386 chroot and runs all native

Re: vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread H. Peter Anvin
On 10/08/2014 02:09 PM, Chuck Ebbert wrote: >> >> Breaking cross-compilation is not okay, though, regardless of what >> Fedora does. It should be okay to, for example, build an i386 kernel on >> an ARM box. >> > > I think they tried that for a while, and ended up chasing compiler > and makefile

Re: vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread Chuck Ebbert
On Wed, 08 Oct 2014 13:55:00 -0700 "H. Peter Anvin" wrote: > On 10/08/2014 01:46 PM, Chuck Ebbert wrote: > > > > Fedora doesn't cross-compile i686 builds because of problems like > > this. It sets up an i386 chroot and runs all native tools inside of > > it. > > > > Breaking cross-compilation

Re: vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread H. Peter Anvin
On 10/08/2014 01:46 PM, Chuck Ebbert wrote: > > Fedora doesn't cross-compile i686 builds because of problems like > this. It sets up an i386 chroot and runs all native tools inside of > it. > Breaking cross-compilation is not okay, though, regardless of what Fedora does. It should be okay to,

Re: vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread Andy Lutomirski
On Wed, Oct 8, 2014 at 1:46 PM, Chuck Ebbert wrote: > On Wed, 8 Oct 2014 12:16:11 -0700 > Andy Lutomirski wrote: > >> On Wed, Oct 8, 2014 at 11:52 AM, Josh Boyer >> wrote: >> > I'm seeing the following build failure on a 32-bit x86 build in Fedora >> > based on Linux v3.17-2860-gef0625b70dac:

Re: vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread Chuck Ebbert
On Wed, 8 Oct 2014 12:16:11 -0700 Andy Lutomirski wrote: > On Wed, Oct 8, 2014 at 11:52 AM, Josh Boyer wrote: > > I'm seeing the following build failure on a 32-bit x86 build in Fedora > > based on Linux v3.17-2860-gef0625b70dac: > > > > Documentation/vDSO/vdso_standalone_test_x86.o: In

Re: vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread Peter Foley
On Wed, Oct 8, 2014 at 3:16 PM, Andy Lutomirski wrote: > It should build and work on 32-bit. > > Except that the makefile is totally bogus. vdso_standalone_test isn't > a hostprog at all. It's a target prog. But kbuild doesn't understand > that, so I have no idea what, if anything, that

Re: vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread Andy Lutomirski
On Wed, Oct 8, 2014 at 11:52 AM, Josh Boyer wrote: > I'm seeing the following build failure on a 32-bit x86 build in Fedora > based on Linux v3.17-2860-gef0625b70dac: > > Documentation/vDSO/vdso_standalone_test_x86.o: In function `to_base10': > vdso_standalone_test_x86.c:(.text+0xcc): undefined

vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread Josh Boyer
I'm seeing the following build failure on a 32-bit x86 build in Fedora based on Linux v3.17-2860-gef0625b70dac: Documentation/vDSO/vdso_standalone_test_x86.o: In function `to_base10': vdso_standalone_test_x86.c:(.text+0xcc): undefined reference to `__umoddi3'

vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread Josh Boyer
I'm seeing the following build failure on a 32-bit x86 build in Fedora based on Linux v3.17-2860-gef0625b70dac: Documentation/vDSO/vdso_standalone_test_x86.o: In function `to_base10': vdso_standalone_test_x86.c:(.text+0xcc): undefined reference to `__umoddi3'

Re: vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread Andy Lutomirski
On Wed, Oct 8, 2014 at 11:52 AM, Josh Boyer jwbo...@fedoraproject.org wrote: I'm seeing the following build failure on a 32-bit x86 build in Fedora based on Linux v3.17-2860-gef0625b70dac: Documentation/vDSO/vdso_standalone_test_x86.o: In function `to_base10':

Re: vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread Peter Foley
On Wed, Oct 8, 2014 at 3:16 PM, Andy Lutomirski l...@amacapital.net wrote: It should build and work on 32-bit. Except that the makefile is totally bogus. vdso_standalone_test isn't a hostprog at all. It's a target prog. But kbuild doesn't understand that, so I have no idea what, if

Re: vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread Chuck Ebbert
On Wed, 8 Oct 2014 12:16:11 -0700 Andy Lutomirski l...@amacapital.net wrote: On Wed, Oct 8, 2014 at 11:52 AM, Josh Boyer jwbo...@fedoraproject.org wrote: I'm seeing the following build failure on a 32-bit x86 build in Fedora based on Linux v3.17-2860-gef0625b70dac:

Re: vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread Andy Lutomirski
On Wed, Oct 8, 2014 at 1:46 PM, Chuck Ebbert cebbert.l...@gmail.com wrote: On Wed, 8 Oct 2014 12:16:11 -0700 Andy Lutomirski l...@amacapital.net wrote: On Wed, Oct 8, 2014 at 11:52 AM, Josh Boyer jwbo...@fedoraproject.org wrote: I'm seeing the following build failure on a 32-bit x86 build

Re: vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread H. Peter Anvin
On 10/08/2014 01:46 PM, Chuck Ebbert wrote: Fedora doesn't cross-compile i686 builds because of problems like this. It sets up an i386 chroot and runs all native tools inside of it. Breaking cross-compilation is not okay, though, regardless of what Fedora does. It should be okay to, for

Re: vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread Chuck Ebbert
On Wed, 08 Oct 2014 13:55:00 -0700 H. Peter Anvin h...@zytor.com wrote: On 10/08/2014 01:46 PM, Chuck Ebbert wrote: Fedora doesn't cross-compile i686 builds because of problems like this. It sets up an i386 chroot and runs all native tools inside of it. Breaking cross-compilation

Re: vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread Josh Boyer
On Wed, Oct 8, 2014 at 5:09 PM, Chuck Ebbert cebbert.l...@gmail.com wrote: On Wed, 08 Oct 2014 13:55:00 -0700 H. Peter Anvin h...@zytor.com wrote: On 10/08/2014 01:46 PM, Chuck Ebbert wrote: Fedora doesn't cross-compile i686 builds because of problems like this. It sets up an i386 chroot

Re: vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread H. Peter Anvin
On 10/08/2014 02:09 PM, Chuck Ebbert wrote: Breaking cross-compilation is not okay, though, regardless of what Fedora does. It should be okay to, for example, build an i386 kernel on an ARM box. I think they tried that for a while, and ended up chasing compiler and makefile bugs all day.

Re: vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread Chuck Ebbert
On Wed, 08 Oct 2014 14:21:00 -0700 H. Peter Anvin h...@zytor.com wrote: On 10/08/2014 02:09 PM, Chuck Ebbert wrote: Breaking cross-compilation is not okay, though, regardless of what Fedora does. It should be okay to, for example, build an i386 kernel on an ARM box. I think they

Re: vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread Peter Foley
On Wed, Oct 8, 2014 at 5:21 PM, H. Peter Anvin h...@zytor.com wrote: That we can't solve, but it is not okay to break the kernel build. Should I just make CONFIG_BUILD_DOCSRC depend on CROSS_COMPILE=? I'm not sure how much value would be added by implementing targetprogs in kbuild, simply to

Re: vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread Andy Lutomirski
On Wed, Oct 8, 2014 at 4:11 PM, Peter Foley pefol...@pefoley.com wrote: On Wed, Oct 8, 2014 at 5:21 PM, H. Peter Anvin h...@zytor.com wrote: That we can't solve, but it is not okay to break the kernel build. Should I just make CONFIG_BUILD_DOCSRC depend on CROSS_COMPILE=? I'm not sure how

Re: vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread Randy Dunlap
On 10/08/14 16:18, Andy Lutomirski wrote: On Wed, Oct 8, 2014 at 4:11 PM, Peter Foley pefol...@pefoley.com wrote: On Wed, Oct 8, 2014 at 5:21 PM, H. Peter Anvin h...@zytor.com wrote: That we can't solve, but it is not okay to break the kernel build. Should I just make CONFIG_BUILD_DOCSRC