Re: [yocto] standard SDK build with clang compiler built into kernel image
Thanks again, will take a look and give it a try... -Original Message- From: Khem Raj Sent: Thursday, December 9, 2021 2:55 PM To: Monsees, Steven C (US) 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 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
Re: [yocto] standard SDK build with clang compiler built into kernel image
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 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 >
[yocto] standard SDK build with clang compiler built into kernel image
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