<div dir="ltr">Hi,<div><br></div><div>Could somebody help me please?</div><div><br></div><div>I&#39;m trying to build the 4.2 kernel with clang.  I&#39;ve applied all the patches and downloaded the &quot;small m&quot; makefile.  But the build fails while trying to link vdso_standalone_test_x86.  Here&#39;s the exact output:</div><div><br></div><div><div>  HOSTLD  Documentation/vDSO/vdso_standalone_test_x86</div><div>Documentation/vDSO/vdso_standalone_test_x86.o: In function `c_main&#39;:</div><div>Documentation/vDSO/vdso_standalone_test_x86.c:(.text+0x1fb): undefined reference to `memcpy&#39;</div><div>clang: error: linker command failed with exit code 1 (use -v to see invocation)</div><div>scripts/Makefile.host:100: recipe for target &#39;Documentation/vDSO/vdso_standalone_test_x86&#39; failed</div><div>make[3]: *** [Documentation/vDSO/vdso_standalone_test_x86] Error 1</div><div>scripts/Makefile.build:417: recipe for target &#39;Documentation/vDSO&#39; failed</div><div>make[2]: *** [Documentation/vDSO] Error 2</div><div>Makefile:941: recipe for target &#39;vmlinux&#39; failed</div><div>make[1]: *** [vmlinux] Error 2</div><div>make[1]: Leaving directory &#39;/home/adam/Igvtg-kernel-2015q4-4.2.0&#39;</div><div>makefile:63: recipe for target &#39;all&#39; failed</div><div>make: *** [all] Error 2</div></div><div><br></div><div>Thanks!</div><div><br></div><div>Adam</div></div>