Thank you. I will most likely look into creating a dunfell based build this weekend... My current system is zeus based, centos, still using sysvinit on startup...
Did run using clang 9.0 ? I appreciate your time and trouble, Steve -----Original Message----- From: Mittal, Anuj <[email protected]> Sent: Wednesday, October 13, 2021 9:28 PM To: Monsees, Steven C (US) <[email protected]>; [email protected] Subject: Re: [yocto] #zeus meta-intel 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. There are no patches needed other than what is already in oe-core/meta- intel/meta-clang. I tried building zeus on Ubuntu 16.04 and didn't see any problem. zeus is no longer maintained or supported so I'd suggest checking a newer release or experimenting without using buildtools to see if that is exposing this problem. It does look like things are not being compiled properly or perhaps opencl-clang-native is linking to incorrect LLVM ... Thanks, Anuj On Wed, 2021-10-13 at 16:53 +0000, Monsees, Steven C (US) wrote: > > Anything ?, I have yet to resolve this. > > -----Original Message----- > From: Monsees, Steven C (US) > Sent: Wednesday, October 13, 2021 9:03 AM > To: 'Mittal, Anuj' <[email protected]>; > '[email protected]' <[email protected]> > Subject: RE: [yocto] #zeus meta-intel > > > Are there any patches required for these components (igc, opencl- > clang, and intel-compute-runtime) ? > > -----Original Message----- > From: Monsees, Steven C (US) > Sent: Wednesday, October 13, 2021 7:13 AM > To: 'Mittal, Anuj' <[email protected]>; > [email protected] > Subject: RE: [yocto] #zeus meta-intel > > > Anuj: > > I rebuilt the entire image (but did not delete the state_cache)... > I am building meta-clang (zeus based, I believe it is 9.0.1). > > Steve > > -----Original Message----- > From: Mittal, Anuj <[email protected]> > Sent: Tuesday, October 12, 2021 10:10 PM > To: Monsees, Steven C (US) <[email protected]>; > [email protected] > Subject: Re: [yocto] #zeus meta-intel > > 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. > > > Did you build everything with this compiler from start? Is opencl- > clang building with the right LLVM lib from meta-clang? > > Thanks, > > Anuj > > On Tue, 2021-10-12 at 17:15 +0000, Monsees, Steven C (US) wrote: > > > > Anuj: > > > > I picked up the tarball for for the baseline dunfell tools platform > > to update host tools... > > > > I am seeing it compile cleaner but for one issue causng ld to fail: > > > > /disk0/scratch/smonsees/yocto/workspace_1/builds2/sbcb- > > default/tmp/work/x86_64-linux/intel-graphics-compiler- > > native/1.0.11- > > r0/recipe-sysroot- > > native/usr/include/llvm/Support/CommandLine.h:1331: > > undefined reference to `vtable for > > llvm::cl::opt<std::__cxx11::basic_string<char, > > std::char_traits<char>, > > std::allocator<char> >, false, > > llvm::cl::parser<std::__cxx11::basic_string<char, > > std::char_traits<char>, std::allocator<char> > > >' > > > > Isn't LLVM brought in along with clang under meta-clang ? > > > > Is there a missing build dependency ? > > > > Thanks, > > Steve > > > > Build excerpt showing multiple " undefined reference to `vtable " > > errors... > > > > /opt/poky/3.1.3/sysroots/x86_64-pokysdk-linux/usr/lib/gcc/x86_64- > > pokysdk-linux/9.3.0/../../../../x86_64-pokysdk-linux/bin/ld: > > `llvm::cl::opt<std::__cxx11::basic_string<char, > > std::char_traits<char>, std::allocator<char> >, false, > > llvm::cl::parser<std::__cxx11::basic_string<char, > > std::char_traits<char>, std::allocator<char> > > >::~opt()': > > /disk0/scratch/smonsees/yocto/workspace_1/builds2/sbcb- > > default/tmp/work/x86_64-linux/intel-graphics-compiler- > > native/1.0.11- > > r0/recipe-sysroot- > > native/usr/include/llvm/Support/CommandLine.h:1331: > > undefined reference to `vtable for > > llvm::cl::opt<std::__cxx11::basic_string<char, > > std::char_traits<char>, > > std::allocator<char> >, false, > > llvm::cl::parser<std::__cxx11::basic_string<char, > > std::char_traits<char>, std::allocator<char> > > >' > > /opt/poky/3.1.3/sysroots/x86_64-pokysdk-linux/usr/lib/gcc/x86_64- > > pokysdk-linux/9.3.0/../../../../x86_64-pokysdk-linux/bin/ld: > > `llvm::cl::OptionValue<std::__cxx11::basic_string<char, > > std::char_traits<char>, std::allocator<char> > >::OptionValue()': > > /disk0/scratch/smonsees/yocto/workspace_1/builds2/sbcb- > > default/tmp/work/x86_64-linux/intel-graphics-compiler- > > native/1.0.11- > > r0/recipe-sysroot- > > native/usr/include/llvm/Support/CommandLine.h:601: > > undefined reference to `vtable for > > llvm::cl::OptionValue<std::__cxx11::basic_string<char, > > std::char_traits<char>, std::allocator<char> > >' > > /opt/poky/3.1.3/sysroots/x86_64-pokysdk-linux/usr/lib/gcc/x86_64- > > pokysdk-linux/9.3.0/../../../../x86_64-pokysdk-linux/bin/ld: > > `llvm::cl::opt<std::__cxx11::basic_string<char, > > std::char_traits<char>, std::allocator<char> >, false, > > llvm::cl::parser<std::__cxx11::basic_string<char, > > std::char_traits<char>, std::allocator<char> > > > > > ::opt<llvm::cl::FormattingFlags, llvm::cl::desc, > > llvm::cl::desc const&, llvm::cl::initializer<char [2]> const&)': > > /disk0/scratch/smonsees/yocto/workspace_1/builds2/sbcb- > > default/tmp/work/x86_64-linux/intel-graphics-compiler- > > native/1.0.11- > > r0/recipe-sysroot- > > native/usr/include/llvm/Support/CommandLine.h:1407: > > undefined reference to `vtable for > > llvm::cl::opt<std::__cxx11::basic_string<char, > > std::char_traits<char>, > > std::allocator<char> >, false, > > llvm::cl::parser<std::__cxx11::basic_string<char, > > std::char_traits<char>, std::allocator<char> > > >' > > /opt/poky/3.1.3/sysroots/x86_64-pokysdk-linux/usr/lib/gcc/x86_64- > > pokysdk-linux/9.3.0/../../../../x86_64-pokysdk-linux/bin/ld: > > `llvm::cl::parser<std::__cxx11::basic_string<char, > > std::char_traits<char>, std::allocator<char> > > > > ::parser(llvm::cl::Option&)': > > /disk0/scratch/smonsees/yocto/workspace_1/builds2/sbcb- > > default/tmp/work/x86_64-linux/intel-graphics-compiler- > > native/1.0.11- > > r0/recipe-sysroot- > > native/usr/include/llvm/Support/CommandLine.h:1072: > > undefined reference to `vtable for > > llvm::cl::parser<std::__cxx11::basic_string<char, > > std::char_traits<char>, std::allocator<char> > >' > > /opt/poky/3.1.3/sysroots/x86_64-pokysdk-linux/usr/lib/gcc/x86_64- > > pokysdk-linux/9.3.0/../../../../x86_64-pokysdk-linux/bin/ld: > > `llvm::cl::opt<std::__cxx11::basic_string<char, > > std::char_traits<char>, std::allocator<char> >, false, > > llvm::cl::parser<std::__cxx11::basic_string<char, > > std::char_traits<char>, std::allocator<char> > > >::~opt()': > > /disk0/scratch/smonsees/yocto/workspace_1/builds2/sbcb- > > default/tmp/work/x86_64-linux/intel-graphics-compiler- > > native/1.0.11- > > r0/recipe-sysroot- > > native/usr/include/llvm/Support/CommandLine.h:1331: > > undefined reference to `vtable for > > llvm::cl::opt<std::__cxx11::basic_string<char, > > std::char_traits<char>, > > std::allocator<char> >, false, > > llvm::cl::parser<std::__cxx11::basic_string<char, > > std::char_traits<char>, std::allocator<char> > > >' > > /opt/poky/3.1.3/sysroots/x86_64-pokysdk-linux/usr/lib/gcc/x86_64- > > pokysdk-linux/9.3.0/../../../../x86_64-pokysdk-linux/bin/ld: > > `llvm::cl::OptionValue<std::__cxx11::basic_string<char, > > std::char_traits<char>, std::allocator<char> > >::OptionValue()': > > /disk0/scratch/smonsees/yocto/workspace_1/builds2/sbcb- > > default/tmp/work/x86_64-linux/intel-graphics-compiler- > > native/1.0.11- > > r0/recipe-sysroot- > > native/usr/include/llvm/Support/CommandLine.h:601: > > undefined reference to `vtable for > > llvm::cl::OptionValue<std::__cxx11::basic_string<char, > > std::char_traits<char>, std::allocator<char> > >' > > /opt/poky/3.1.3/sysroots/x86_64-pokysdk-linux/usr/lib/gcc/x86_64- > > pokysdk-linux/9.3.0/../../../../x86_64-pokysdk-linux/bin/ld: > > `llvm::cl::opt<std::__cxx11::basic_string<char, > > std::char_traits<char>, std::allocator<char> >, false, > > llvm::cl::parser<std::__cxx11::basic_string<char, > > std::char_traits<char>, std::allocator<char> > > >::opt<char [9], > > llvm::cl::desc>(char const (&) [9], llvm::cl::desc const&)': > > /disk0/scratch/smonsees/yocto/workspace_1/builds2/sbcb- > > default/tmp/work/x86_64-linux/intel-graphics-compiler- > > native/1.0.11- > > r0/recipe-sysroot- > > native/usr/include/llvm/Support/CommandLine.h:1407: > > undefined reference to `vtable for > > llvm::cl::opt<std::__cxx11::basic_string<char, > > std::char_traits<char>, > > std::allocator<char> >, false, > > llvm::cl::parser<std::__cxx11::basic_string<char, > > std::char_traits<char>, std::allocator<char> > > >' > > /opt/poky/3.1.3/sysroots/x86_64-pokysdk-linux/usr/lib/gcc/x86_64- > > pokysdk-linux/9.3.0/../../../../x86_64-pokysdk-linux/bin/ld: > > `llvm::cl::parser<std::__cxx11::basic_string<char, > > std::char_traits<char>, std::allocator<char> > > > > ::parser(llvm::cl::Option&)': > > /disk0/scratch/smonsees/yocto/workspace_1/builds2/sbcb- > > default/tmp/work/x86_64-linux/intel-graphics-compiler- > > native/1.0.11- > > r0/recipe-sysroot- > > native/usr/include/llvm/Support/CommandLine.h:1072: > > undefined reference to `vtable for > > llvm::cl::parser<std::__cxx11::basic_string<char, > > std::char_traits<char>, std::allocator<char> > >' > > collect2: error: ld returned 1 exit status > > > > -----Original Message----- > > From: [email protected] <[email protected]> On > > Behalf Of Anuj Mittal > > Sent: Tuesday, October 12, 2021 10:43 AM > > To: Monsees, Steven C (US) <[email protected]>; > > [email protected] > > Subject: Re: [yocto] #zeus meta-intel > > > > External Email Alert > > > > 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. > > > > > > On Tue, 2021-10-12 at 12:43 +0000, Monsees, Steven C (US) wrote: > > > g++: error: unrecognized command line option ‘-std=c++14’ > > > > It looks like the gcc version is too old on your host for this to > > work. > > > > Thanks, > > > > Anuj >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#55070): https://lists.yoctoproject.org/g/yocto/message/55070 Mute This Topic: https://lists.yoctoproject.org/mt/86149437/21656 Mute #zeus:https://lists.yoctoproject.org/g/yocto/mutehashtag/zeus Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
