All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [yocto] standard SDK build with clang compiler built into kernel image
       [not found] <MADEUP.16BF2C8399B72BDC.14509@lists.yoctoproject.org>
@ 2021-12-09 19:55 ` Khem Raj
  2021-12-09 19:59   ` Monsees, Steven C (US)
  0 siblings, 1 reply; 2+ messages in thread
From: Khem Raj @ 2021-12-09 19:55 UTC (permalink / raw)
  To: Monsees, Steven C (US); +Cc: yocto@lists.yoctoproject.org

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
<steven.monsees=baesystems.com@lists.yoctoproject.org> 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.
> You automatically follow any topics you start or reply to.
> View/Reply Online (#55539): https://lists.yoctoproject.org/g/yocto/message/55539
> Mute This Topic: https://lists.yoctoproject.org/mt/87619350/1997914
> Group Owner: yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


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

* RE: [yocto] standard SDK build with clang compiler built into kernel image
  2021-12-09 19:55 ` [yocto] standard SDK build with clang compiler built into kernel image Khem Raj
@ 2021-12-09 19:59   ` Monsees, Steven C (US)
  0 siblings, 0 replies; 2+ messages in thread
From: Monsees, Steven C (US) @ 2021-12-09 19:59 UTC (permalink / raw)
  To: Khem Raj; +Cc: yocto@lists.yoctoproject.org


Thanks again, will take a look and give it a try...

-----Original Message-----
From: Khem Raj <raj.khem@gmail.com> 
Sent: Thursday, December 9, 2021 2:55 PM
To: Monsees, Steven C (US) <steven.monsees@baesystems.com>
Cc: yocto@lists.yoctoproject.org
Subject: Re: [yocto] standard SDK build with clang compiler built into kernel image

External Email Alert

This email has been sent from an account outside of the BAE Systems network.

Please treat the email with caution, especially if you are requested to click on a link, decrypt/open an attachment, or enable macros.  For further information on how to spot phishing, access “Cybersecurity OneSpace Page” and report phishing by clicking the button “Report Phishing” on the Outlook toolbar.


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 <steven.monsees=baesystems.com@lists.yoctoproject.org> 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.manife
> st
>
> 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-po
> ky-linux
>
> -bash-4.2$
>
>
>
> Thanks,
>
> Steve
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> You automatically follow any topics you start or reply to.
> View/Reply Online (#55539): 
> https://lists.yoctoproject.org/g/yocto/message/55539
> Mute This Topic: https://lists.yoctoproject.org/mt/87619350/1997914
> Group Owner: yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
> [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>

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

end of thread, other threads:[~2021-12-09 19:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <MADEUP.16BF2C8399B72BDC.14509@lists.yoctoproject.org>
2021-12-09 19:55 ` [yocto] standard SDK build with clang compiler built into kernel image Khem Raj
2021-12-09 19:59   ` Monsees, Steven C (US)

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.