This is a known issue look at

https://github.com/kraj/meta-clang/issues/119

You can workaround it by

https://github.com/kraj/meta-clang/issues/119#issuecomment-518317888

On Thu, Dec 9, 2021 at 11:22 AM Monsees, Steven C (US) via
lists.yoctoproject.org
<[email protected]> wrote:
>
>
>
> I am building clang compiler support into my kernel, to support igc (intel 
> graphics compiler)…
>
>
>
> When I build the standard SDK it list a series of specific clang/llvm issues 
> but successfully completes the SDK setup/install.
>
> The SDK looks to have everything in place, and basic functionality is working…
>
>
>
> I do not see these messages when I remove the clang component.
>
>
>
> Can someone explain what is happening here ?, is it a known issue  ?, is 
> there patch available ?
>
>
>
> I am building a “zeus” 3.0.4 based kernel, for centos…
>
>
>
> -bash-4.2$ cd sdk
>
> -bash-4.2$ ls
>
> limws-glibc-x86_64-aiox_orange-corei7-64-toolchain-3.0.4.host.manifest
>
> limws-glibc-x86_64-aiox_orange-corei7-64-toolchain-3.0.4.sh
>
> limws-glibc-x86_64-aiox_orange-corei7-64-toolchain-3.0.4.target.manifest
>
> limws-glibc-x86_64-aiox_orange-corei7-64-toolchain-3.0.4.testdata.json
>
> -bash-4.2$  sudo ./limws-glibc-x86_64-aiox_orange-corei7-64-toolchain-3.0.4.sh
>
> [sudo] password for smonsees:
>
> LIMWS (BAE LIMWS base distro) SDK installer version 3.0.4
>
> =========================================================
>
> Enter target directory for SDK (default: /opt/limws/3.0.4): 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4
>
> You are about to install the SDK to 
> "/disk0/scratch/smonsees/yocto/sdk_3.0.4". Proceed [Y/n]? Y
>
> Extracting 
> SDK...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................done
>
> Setting it up...ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/clang-tidy,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-cxxdump,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-ar,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-symbolizer,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/clang-9,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-as,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/clang-extdef-mapping,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/clang-reorder-fields,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-mca,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/clang-apply-replacements,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-dwarfdump,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-elfabi,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/lldb-instr,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/c-index-test,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/clang-doc,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/lldb-tblgen,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-undname,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-mt,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/lldb,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-extract,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-jitlink,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/modularize,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-opt-report,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/bugpoint,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/lld,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/dsymutil,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-dwp,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-cat,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-dis,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-c-test,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/clang-refactor,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/sanstats,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-size,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/yaml2obj,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-split,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/clang-rename,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/lldb-vscode,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-readobj,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-tblgen,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/lldb-argdumper,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/clang-check,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-xray,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/clangd,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/clang-scan-deps,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-rc,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-lto,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/lldb-mi,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-modextract,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-rtdyld,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-diff,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/clang-change-namespace,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-cfi-verify,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/clang-query,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-link,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/clang-offload-bundler,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/clang-import-test,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/clang-format,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/clang-include-fixer,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/diagtool,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/sancov,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-objcopy,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-cxxmap,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-strings,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-lto2,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llc,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/opt,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-exegesis,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-spirv,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-cvtres,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-cov,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-lipo,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/find-all-symbols,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/obj2yaml,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/verify-uselistorder,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-objdump,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-mc,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/lli,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-config,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-stress,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/lldb-server,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-cxxfilt,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-profdata,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-pdbutil,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-bcanalyzer,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/clang-tblgen,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-nm,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/lib/liblldbIntelFeatures.so.9,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/lib/libRemarks.so.9,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/lib/libclang.so.9,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/lib/liblldb.so.9.0.1,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/lib/libclang-cpp.so.9,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/lib/LLVMgold.so,
>  interp size = 72 and 95 is needed.
>
> ERROR: could not relocate 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/sysroots/x86_64-pokysdk-linux/usr/lib/libLTO.so.9,
>  interp size = 72 and 95 is needed.
>
> done
>
> SDK has been successfully set up and is ready to be used.
>
> Each time you wish to use the SDK in a new shell session, you need to source 
> the environment setup script e.g.
>
> $ . 
> /disk0/scratch/smonsees/yocto/sdk_3.0.4/environment-setup-corei7-64-poky-linux
>
> -bash-4.2$
>
>
>
> Thanks,
>
> Steve
>
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#55541): https://lists.yoctoproject.org/g/yocto/message/55541
Mute This Topic: https://lists.yoctoproject.org/mt/87619350/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to