From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from dmzms99801.na.baesystems.com (dmzms99801.na.baesystems.com [149.32.232.65]) by mx.groups.io with SMTP id smtpd.web12.5874.1620211510050815930 for ; Wed, 05 May 2021 03:45:12 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@baesystems.com header.s=trusted01 header.b=jt+NE/P4; spf=pass (domain: baesystems.com, ip: 149.32.232.65, mailfrom: steven.monsees@baesystems.com) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=baesystems.com; i=@baesystems.com; q=dns/txt; s=trusted01; t=1620211510; x=1777891510; h=from:to:cc:subject:date:in-reply-to:mime-version; bh=fZmT9AM89myp1DyGMXtTUXM/lVNQ+ICfbTa6Op6TpFo=; b=jt+NE/P4JssYzdSgztl0C57VpTL9VwY4Yn5dJ6WyaQYK9NB6NyM78vQs 2fKtssH1plh7KIUr5++pSjqHh5vHccMOZPgT6JDvpHm/V/dY5iXGPpe4F Z0QZ+YhIRn/SqVG3etS55KYd/F9v2s5ybPnypPZYBTH8X9LBGkZnOTyqe c=; IronPort-SDR: EOBXsTrXXoM7gCeyHQXlCUmqdt9to0VxVHDPnaz+JJec2Y4DQ8G2zzdRU9xNQhAWOUwwDflJsS DL2O52kvrduQ== IronPort-PHdr: =?us-ascii?q?A9a23=3AH5oE2hadEIHiMH+eTwzHkLv/LTGA14qcDmYuw?= =?us-ascii?q?qpisKpHd+GZx7+nAna3zctkgFKBZ4jH8fUM07OQ7/mxHzZbvt3Q6TgrS99lb?= =?us-ascii?q?1c9k8IYnggtUoauKHbQC7rUVRE8B9lIT1R//nu2YgB/Ecf6YEDO8DXptWZBU?= =?us-ascii?q?hrwOhBoKevrB4Xck9q41/yo+53Ufg5EmCexbal9IRmrqQjdrNcajIVgJ6o+z?= =?us-ascii?q?hbFv2ZDdvhLy29vOV+dhQv36N2q/J5k/SRQuvYh+NBFXK7nYak2TqFWASo/P?= =?us-ascii?q?Wwt68LlqRfMTQ2U5nsBSWoWiQZHAxLE7B7hQJj8tDbxu/dn1ymbOc32Sq00W?= =?us-ascii?q?Sin4qx2RhLklDsLOjgk+2zMlMd+kLxUrw6gpxxnwo7bfoeVNOZlfqjAed8WX?= =?us-ascii?q?HdNUtpNWyBEBI63cokBAPcbPetAr4fzuUYArQewCwevCuPgyD5IiWP50qAhy?= =?us-ascii?q?estDQPG0RY8E94SrnjZqsj+OqcIUeCyyanF1TvPYfRR2Tf784jHbA4uoeqUU?= =?us-ascii?q?bltbMTR1VcgFx3bgVWWtIfoIS6e2uADvGaG6uZsW/+khmk8qwFtvDev2Nkji?= =?us-ascii?q?o/TioIQzVDE8z55z5grKt2jU0N0esSrH4VLtyCaLIt2Xt0tQ2RzuCog1rIGv?= =?us-ascii?q?pu7cTEMxZ86yBHRd+aJfJKU4hL/SumROzF4iWprdb6iiBu//0iuxO3zW8e7z?= =?us-ascii?q?lpHrTZIn93Ru30MyRDf9MaJRPR98Eu91ziC1wDe5v9ELE46m6TXN5AvzLAsm?= =?us-ascii?q?pcTt0nIAyH4mELzjKCMd0Uk/PCl6uTgYrr6up+cMJd0ihv5MqQshMOwHfg4P?= =?us-ascii?q?hIJX2iB9uSx0qDo807hQLhSk/E6jrPVvZ7YKMgBuKK1HQ9Y3pwi5hu+Fzuqz?= =?us-ascii?q?cgUkWMIIV9KYh6KgJLlN0zOLf3+EPyxmU6jkC1xyPDDJrDhB5LNIWXdn7r5Z?= =?us-ascii?q?rZ97lJcyBI0zdBC+5JYErEBL+z3Wk/2rNHXEgU2MxeozObiE9Vw0ocTVGGTD?= =?us-ascii?q?qOHKq/St0WH6vg0LOaWeoAVozb8K+M55/HwiH85gkURcrWu3ZsScHy4H/JmL?= =?us-ascii?q?FuFYXf0n9sNDX0GswQ8QeDwllGOTz5ea2yzUq89/j07DZipDYbHRoCjmryB2?= =?us-ascii?q?yK7E4VNZmBaFF+MD2nnd4OeV/cJbyKSJNRhnSIaWri6UIIuzguhuxHhy7tnN?= =?us-ascii?q?erU5jMXtZf41NRv++LTkhQy+SRuD8uBy2GNU310nmQQSj4226BwvVB9ylCY3?= =?us-ascii?q?Kh8gvxYDsBT5+hTXgY6Mp7T0/B6C9fqWgLbedeJSkipTcm6AT0rSdIx2dAOM?= =?us-ascii?q?A5AHc6/hEXDwzayGO1S0LiKH4AvtLPb1GT2P9x6yXvNyO8mlVZhTYxeMma6g?= =?us-ascii?q?eli8RPODd30lV6EnYa2cKBJ3DLR7HzRii2KvVpES0hhVq7ZWmgFYUnbpsi/4?= =?us-ascii?q?VnNCLDpGLMsLgwG1MiZN6EZV9vykF96Sef/bdTCf3qqySD3AReT2qjKfY3hZ?= =?us-ascii?q?2IFxiLfBUMY1QcJ8jGJchk5DTum5H/YFyFkRm7oNmDs/Ow2knq5BhsuxgPMb?= =?us-ascii?q?E1s0pK6/xcUgbqXTPZFjZwevyJ04RBzGk2w0smSQ+GcqhRseu13KZMA2xYNn?= =?us-ascii?q?TbCqwFjM5rmKqdknVMTaCx9tk71xg5rB4Bb18MtqSV5n0JJNauE3QYZJHuj1?= =?us-ascii?q?pfqN+iSczGqlC0=3D?= IronPort-HdrOrdr: =?us-ascii?q?A9a23=3ACNvdLqG8oe6aHlTppLqEb8eALOonbusQ8z?= =?us-ascii?q?AX/mp2TgFYddHdqtunm+4V2QSxpDEaXnwhnt7oAtjjfVr385lp7Y4NeYqzRQ?= =?us-ascii?q?WOghrKEKhOz6vHhwfhFSr36/JH2c5bGJRWJdXsATFB7PrSzxK/F78br+Wv1I?= =?us-ascii?q?CNqaPgw2x2TQdsApsN0y5cBhyAGkN7AClqbKBVKLOm6sBKpyWtdB0sB6yGL0?= =?us-ascii?q?IIQvTZoJnznI/mCCR2YiIP0hWEjj+j9dfBcySw4xF2aV1y6IZn3Erkt0jC5q?= =?us-ascii?q?ulv+rT8G6560bjq7Bt3Pv7ysEGIMCQguUcNz2EsGyVWLg=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2AsAAAOdpJg/0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OQkJPhcCjjgXiGKBXYNscwIBNQIGCgEBAwmKSy0rXIEQAQE?= X-IronPort-AV: E=Sophos;i="5.82,274,1613433600"; d="scan'208,217";a="372221865" IronPort-SDR: w5kAuVaZUPn3SLMycEX4FTZ9vut42G7ZuDJ4hUACOgxgkCSRlrQpr4AmPQA22jmKJu1ENxXh9I Rkv2GK1Pt5ug== X-IronPort-AV: E=Sophos;i="5.82,274,1613433600"; d="scan'208,217";a="2544966" From: "Monsees, Steven C (US)" To: Khem Raj CC: "yocto@lists.yoctoproject.org" Subject: Re: [yocto] #yocto cmake configurations Thread-Topic: [yocto] #yocto cmake configurations Thread-Index: Adc/dlwXQGBOIa4IReWXXH+skeusfgBmHxLAAAnAAIAABZoy0AAAB8oAAAZCwlD///d6AP//jZpw Date: Wed, 5 May 2021 10:44:07 +0000 In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.6.100.33 dlp-reaction: no-action x-originating-ip: [10.44.4.15] MIME-Version: 1.0 Message-ID: Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_9be8037056a84d0b866620212066d8b3baesystemscom_" --_000_9be8037056a84d0b866620212066d8b3baesystemscom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Khem: I only have the following libraries present for these: libclang.so libclang.so.9 libdrm_intel.so libdrm_intel.so.1 libdrm_intel.so.1.0.0 libdrm.so libdrm.so.2 libdrm.so.2.4.0 I do generate the static (*.a) files for both LLVM & Clang and they appear= to all be present (No libclang.a was generated). Steve From: Khem Raj Sent: Tuesday, May 4, 2021 7:46 PM To: Monsees, Steven C (US) Cc: yocto@lists.yoctoproject.org Subject: Re: [yocto] #yocto cmake configurations External Email Alert This email has been sent from an account outside of the BAE Systems networ= k. Please treat the email with caution, especially if you are requested to cl= ick on a link, decrypt/open an attachment, or enable macros. For further i= nformation on how to spot phishing, access "Cybersecurity OneSpace Page" an= d report phishing by clicking the button "Report Phishing" on the Outlook t= oolbar. the cmd seems to pass --sysroot correctly so can you search in SDK sysroot= if you have libclang.a libdrm_intel.a and libdrm.a ? On Tue, May 4, 2021 at 3:20 PM Monsees, Steven C (US) via lists.yoctoproje= ct.org > wrote: Yes, LLVM & Clang... From: Khem Raj > Sent: Tuesday, May 4, 2021 5:17 PM To: Monsees, Steven C (US) > Cc: yocto@lists.yoctoproject.org Subject: Re: [yocto] #yocto cmake configurations External Email Alert This email has been sent from an account outside of the BAE Systems networ= k. Please treat the email with caution, especially if you are requested to cl= ick on a link, decrypt/open an attachment, or enable macros. For further i= nformation on how to spot phishing, access "Cybersecurity OneSpace Page" an= d report phishing by clicking the button "Report Phishing" on the Outlook t= oolbar. I see its using -rdynamic -static so next question is that do you have .a files in your sdk ? On Tue, May 4, 2021 at 12:57 PM Monsees, Steven C (US) via lists.yoctoproj= ect.org > wrote: Attached... From: Khem Raj > Sent: Tuesday, May 4, 2021 2:36 PM To: Monsees, Steven C (US) > Cc: yocto@lists.yoctoproject.org Subject: Re: [yocto] #yocto cmake configurations External Email Alert This email has been sent from an account outside of the BAE Systems networ= k. Please treat the email with caution, especially if you are requested to cl= ick on a link, decrypt/open an attachment, or enable macros. For further i= nformation on how to spot phishing, access "Cybersecurity OneSpace Page" an= d report phishing by clicking the button "Report Phishing" on the Outlook t= oolbar. can you post full linker cmd which is failing ? On Tue, May 4, 2021 at 11:24 AM Monsees, Steven C (US) via lists.yoctoproj= ect.org > wrote: My standard zeus SDK appears to have an issue linking in my applications d= ynamic libs... /disk0/scratch/smonsees/sbcbSTD_SDK/limws/3.0.4/sysroots/x86_64-pokysdk-li= nux/usr/libexec/x86_64-poky-linux/gcc/x86_64-poky-linux/9.2.0/real-ld: cann= ot find -ldrm_intel /disk0/scratch/smonsees/sbcbSTD_SDK/limws/3.0.4/sysroots/x86_64-pokysdk-li= nux/usr/libexec/x86_64-poky-linux/gcc/x86_64-poky-linux/9.2.0/real-ld: cann= ot find -ldrm /disk0/scratch/smonsees/sbcbSTD_SDK/limws/3.0.4/sysroots/x86_64-pokysdk-li= nux/usr/libexec/x86_64-poky-linux/gcc/x86_64-poky-linux/9.2.0/real-ld: cann= ot find -lclang collect2: error: ld returned 1 exit status The libraries are under: /disk0/scratch/smonsees/sbcbSTD_SDK/limws/3.0.4/s= ysroots/corei7-64-poky-linux/usr/lib/ My CMake build app does not appear to have an issue finding the files: DRM_INTEL_LIBRARIES:STRING=3D/disk0/scratch/smonsees/sbcbSTD_SDK/limws/3.0= .4/sysroots/corei7-64-poky-linux/usr/lib/libdrm_intel.so DRM_LIBRARIES:STRING=3D/disk0/scratch/smonsees/sbcbSTD_SDK/limws/3.0.4/sys= roots/corei7-64-poky-linux/usr/lib/libdrm.so It appears to be an issue specifically with the ld... LDFLAGS=3D " --sysroot=3D$ENV{OECORE_TARGET_SYSROOT} -L$ENV{OECORE_TARGET_= SYSROOT}/usr/lib -L$ENV{OECORE_TARGET_SYSROOT}/usr/lib/x86_64-poky-linux/9.= 2.0 -lpthread -pthread -O2 -pipe -Wl,-O1 -Wl,-O1 -Wl,--hash-style=3Dgnu -Wl= ,--as-needed" It does not appear to be making use of -L's... Is there something I might look at/configure (i.e. add paths to search pat= hs) ? Is there a simple test to validate tool ? Thanks, Steve From: yocto@lists.yoctoproject.org > On Behalf= Of Monsees, Steven C (US) via lists.yoctoproject.org Sent: Sunday, May 2, 2021 1:28 PM To: yocto@lists.yoctoproject.org Subject: [yocto] #yocto cmake configurations External Email Alert This email has been sent from an account outside of the BAE Systems networ= k. Please treat the email with caution, especially if you are requested to cl= ick on a link, decrypt/open an attachment, or enable macros. For further i= nformation on how to spot phishing, access "Cybersecurity OneSpace Page" an= d report phishing by clicking the button "Report Phishing" on the Outlook t= oolbar. I am using zeus, standard SDK, cmake... Can I pre-configure the SDK to setup cmake package search paths ?, say for= find_package, etc. (i.e. detecting external libraries/programs)... The majority of my env is configuring properly, but I am finding cmake is = setup for a standard linux env with regards to these types of searches, and I wanted the cmake built in to look at my SDK paths (first by default) whe= n doing such things as detecting python interpreter, libraries, etc. I am working on third party package unaware of my SDK setup. Thanks, Steve --_000_9be8037056a84d0b866620212066d8b3baesystemscom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

 

Khem:

 

I only have the following libraries = present for these:

 

libclang.so  

libclang.so.9

libdrm_intel.so

libdrm_intel.so.1<= /p>

libdrm_intel.so.1.0.0

libdrm.so

libdrm.so.2

libdrm.so.2.4.0   

 

I do generate the static (*.a) files= for both LLVM & Clang and they appear to all be present (No libclang.a= was generated).

 

Steve

 

From: Khem Raj <raj.khem@gmail.c= om>
Sent: Tuesday, May 4, 2021 7:46 PM
To: Monsees, Steven C (US) <steven.monsees@baesystems.com> Cc: yocto@lists.yoctoproject.org
Subject: Re: [yocto] #yocto cmake configurations
<= /p>

 

External Email Alert=

This email has been s= ent from an account outside of the BAE Systems network.

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

 

the cmd seems to pass --sysroot correctly so can you search in SDK sysroot= if you have libclang.a libdrm_intel.a and libdrm.a ?

 

On Tue, May 4, 2021 at 3:20 PM Monsees, Steven C (U= S) via lists.yoctoproject.org <steven.monsees=3Dbaesystems.com@lists.yoctoproject.org>= ; wrote:

Yes, LLVM & Clang…

 

From: Khem Raj <raj.khem@gmail.com>
Sent: Tuesday, May 4, 2021 5:17 PM
To: Monsees, Steven C (US) <steven.monsees@baesystems.com>
Cc: yocto@lists.yoctoproject.org
Subject: Re: [yocto] #yocto cmake configurations
<= /p>

 

External Email Alert=

This email has been s= ent from an account outside of the BAE Systems network.

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

 

I see its usi= ng -rdynamic -static

so next question is that do you have .a files in your sdk ?=

 

On Tue, May 4, 2021 at 12:57 PM Monsees, Steven C (US) via lists.yoctopro= ject.org <steven.monsees=3Dbaesystems.com@lists.yoctoproject.org= > wrote:

 

Attached…

 

From: Khem Raj <raj.khem@gmail.com>
Sent: Tuesday, May 4, 2021 2:36 PM
To: Monsees, Steven C (US) <steven.monsees@baesystems.com>
Cc: yocto@lists.yoctoproject.org
Subject: Re: [yocto] #yocto cmake configurations
<= /p>

 

External Email Alert=

This email has been s= ent from an account outside of the BAE Systems network.

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

 

can you post = full linker cmd which is failing ?

 

On Tue, May 4, 2021 at 11:24 AM Monsees, Steven C (US) via lists.yoctopro= ject.org <steven.monsees=3Dbaesystems.com@lists.yoctoproject.org= > wrote:

 

My standard zeus SDK appears to hav= e an issue linking in my applications dynamic libs…=

 

/disk0/scratch/smonsees/sbcbSTD_SDK= /limws/3.0.4/sysroots/x86_64-pokysdk-linux/usr/libexec/x86_64-poky-linux/gc= c/x86_64-poky-linux/9.2.0/real-ld: cannot find -ldrm_intel

/disk0/scratch/smonsees/sbcbSTD_SDK= /limws/3.0.4/sysroots/x86_64-pokysdk-linux/usr/libexec/x86_64-poky-linux/gc= c/x86_64-poky-linux/9.2.0/real-ld: cannot find -ldrm

/disk0/scratch/smonsees/sbcbSTD_SDK= /limws/3.0.4/sysroots/x86_64-pokysdk-linux/usr/libexec/x86_64-poky-linux/gc= c/x86_64-poky-linux/9.2.0/real-ld: cannot find -lclang

collect2: error: ld returned 1 exit= status

The libraries are under: /disk0/scr= atch/smonsees/sbcbSTD_SDK/limws/3.0.4/sysroots/corei7-64-poky-linux/usr/lib= /

 

My CMake build app does not appear = to have an issue finding the files:

 

DRM_INTEL_LIBRARIES:STRING=3D/disk0= /scratch/smonsees/sbcbSTD_SDK/limws/3.0.4/sysroots/corei7-64-poky-linux/usr= /lib/libdrm_intel.so

DRM_LIBRARIES:STRING=3D/disk0/scrat= ch/smonsees/sbcbSTD_SDK/limws/3.0.4/sysroots/corei7-64-poky-linux/usr/lib/l= ibdrm.so

 

It appears to be an issue specifica= lly with the ld…

 

LDFLAGS=3D " --sysroot=3D$ENV{OECORE_TARGET_SYSROO= T} -L$ENV{OECORE_TARGET_SYSROOT}/usr/lib -L$ENV{OECORE_TARGET_SYSROOT}/usr/= lib/x86_64-poky-linux/9.2.0 -lpthread -pthread -O2 -pipe -Wl,-O1 -Wl,-O1 -W= l,--hash-style=3Dgnu -Wl,--as-needed"

 

It does not appear to be making use= of –L’s…

 

Is there something I might look at/= configure (i.e. add paths to search paths) ?

Is there a simple test to validate = tool ?

 

Thanks,

Steve

 

From: yocto@li= sts.yoctoproject.org <yocto@lists.yoctoproject.org> On Behalf Of Monsees, Steven C (US) via lists.yoctoproject.org
Sent: Sunday, May 2, 2021 1:28 PM
To: yocto@lists.yoctoproject.org
Subject: [yocto] #yocto cmake configurations

 

External Email Alert<= /p>

This email has been sent from an account outside of t= he BAE Systems network.

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

 

 

I am using zeus, standard SDK, cmake…

 

Can I pre-configure the SDK to setup cmake package search paths ?= , say for find_package, etc. (i.e. detecting external libraries/programs)&#= 8230;

 

The majority of my env is configuring properly, but I am finding = cmake is setup for a standard linux env with regards to these types of sear= ches, and

I wanted the cmake built in to look at my SDK paths (first by def= ault) when doing such things as detecting python interpreter, libraries, et= c.

 

I am working on third party package unaware of my SDK setup.=

 

Thanks,

Steve

 

 


--_000_9be8037056a84d0b866620212066d8b3baesystemscom_--