[llvmlinux] Build fails on vdso_standalone_test_x86

Adam Verslype verslyap at gmail.com
Sun Jan 10 22:18:05 UTC 2016


Hi,

Could somebody help me please?

I'm trying to build the 4.2 kernel with clang.  I've applied all the
patches and downloaded the "small m" makefile.  But the build fails while
trying to link vdso_standalone_test_x86.  Here's the exact output:

  HOSTLD  Documentation/vDSO/vdso_standalone_test_x86
Documentation/vDSO/vdso_standalone_test_x86.o: In function `c_main':
Documentation/vDSO/vdso_standalone_test_x86.c:(.text+0x1fb): undefined
reference to `memcpy'
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
scripts/Makefile.host:100: recipe for target
'Documentation/vDSO/vdso_standalone_test_x86' failed
make[3]: *** [Documentation/vDSO/vdso_standalone_test_x86] Error 1
scripts/Makefile.build:417: recipe for target 'Documentation/vDSO' failed
make[2]: *** [Documentation/vDSO] Error 2
Makefile:941: recipe for target 'vmlinux' failed
make[1]: *** [vmlinux] Error 2
make[1]: Leaving directory '/home/adam/Igvtg-kernel-2015q4-4.2.0'
makefile:63: recipe for target 'all' failed
make: *** [all] Error 2

Thanks!

Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20160110/acfa3cfe/attachment.html>


More information about the LLVMLinux mailing list