All of lore.kernel.org
 help / color / mirror / Atom feed
* vdso_standalone_test_x86.c build failure on Linus' tree
@ 2014-10-08 18:52 Josh Boyer
  2014-10-08 19:16 ` Andy Lutomirski
  0 siblings, 1 reply; 13+ messages in thread
From: Josh Boyer @ 2014-10-08 18:52 UTC (permalink / raw)
  To: Peter Foley, Randy Dunlap, Jiri Kosina, Andy Lutomirski,
	H. Peter Anvin
  Cc: Linux-Kernel@Vger. Kernel. Org, Linus Torvalds

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:(.text+0xea): undefined reference to `__udivdi3'
collect2: error: ld returned 1 exit status
scripts/Makefile.host:100: recipe for target
'Documentation/vDSO/vdso_standalone_test_x86' failed
make[2]: *** [Documentation/vDSO/vdso_standalone_test_x86] Error 1
scripts/Makefile.build:404: recipe for target 'Documentation/vDSO' failed
make[1]: *** [Documentation/vDSO] Error 2
make[1]: *** Waiting for unfinished jobs....
Makefile:922: recipe for target 'vmlinux' failed
make: *** [vmlinux] Error 2

Looking at some of the git logs around this, it seems that
vdso_standalone_test_x86.c is 64-bit specific, so I was curious why it
was even being built on a 32-bit build.  Seems this commit:

commit adb19fb66eeebac07fe37d968725bb8906dadb8e
Author: Peter Foley <pefoley2@pefoley.com>
Date:   Thu Sep 25 11:23:09 2014 -0700

    Documentation: add makefiles for more targets

    Add a bunch of previously unbuilt source files to the Documentation build
    machinery.

    Signed-off-by: Peter Foley <pefoley2@pefoley.com>
    Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
    Signed-off-by: Jiri Kosina <jkosina@suse.cz>


blindly added it to the build target.

So is vdso_standalone_test_x86.c really 64-bit specific?  If so,
should that commit be reverted (or a hunk of it anyway), should there
be some mechanism to not build it on 32-bit, or should there be some
additional CFLAGS passed?

josh

Full build log here:
http://koji.fedoraproject.org/koji/getfile?taskID=7802438&name=build.log

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-10-09  0:18 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-08 18:52 vdso_standalone_test_x86.c build failure on Linus' tree Josh Boyer
2014-10-08 19:16 ` Andy Lutomirski
2014-10-08 19:44   ` Peter Foley
2014-10-08 20:46   ` Chuck Ebbert
2014-10-08 20:50     ` Andy Lutomirski
2014-10-08 20:55     ` H. Peter Anvin
2014-10-08 21:09       ` Chuck Ebbert
2014-10-08 21:21         ` H. Peter Anvin
2014-10-08 23:08           ` Chuck Ebbert
2014-10-08 23:11           ` Peter Foley
2014-10-08 23:18             ` Andy Lutomirski
2014-10-09  0:18               ` Randy Dunlap
2014-10-08 21:21         ` Josh Boyer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.