Messages in this thread | | | From | Peter Foley <> | Date | Wed, 8 Oct 2014 15:44:37 -0400 | Subject | Re: vdso_standalone_test_x86.c build failure on Linus' tree |
| |
On Wed, Oct 8, 2014 at 3:16 PM, Andy Lutomirski <luto@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 anything, that makefile is supposed > to do. The idea is to increase build testing for targets in Documentation, but I didn't really consider cross-compiling those targets.
> > I would argue that the whole documentation build system should be > fixed to cross-compile or should just be disabled for cross-builds if > glibc isn't available. It might make sense to just completely disable CONFIG_BUILD_DOCSRC if we're cross-compiling.
> > FWIW, the comment at the top of vdso_standalone_test_x86.c documents > *exactly* how to build it, and it works if you build it like that.
So, it looks like 32bit needs -lgcc_s I'll whip up a patch to add that.
| |