Re: [ptxdist] OSELAS.Toolchain-2019.09.1 Building Issue

2022-10-04 Thread Michael Olbrich
On Mon, Oct 03, 2022 at 08:27:04PM +0200, Alexander Dahl wrote:
> Hello,
> 
> Am Mon, Oct 03, 2022 at 05:38:27PM + schrieb Joshi, Pranay:
> > Hi Michael,
> > 
> > Thanks for your solutions.
> > 
> > I tried both the solution,
> > 
> > 1. First solution : Installed gcc9 and also changed Developer Options as 
> > mentioned.
> > 
> > 2. Second Solution : Also used OSELAS Toolchain 2021.07.0 
> > 
> > But still getting issues in both the solution.
> > 
> > Please check attached logs for errors for both the solutions -
> > Solution1: OSELAS.Toolchain-2019.09.1_Build_Error_with_gcc9

Hmmm, the logfile suggests that you're still using gcc 11. What does this
show:

$ ls -l platform-*/sysroot-host/lib/wrapper/real/

> > Solution2: OSELAS.Toolchain-2021.07.0_Build_Error_1
> > 
> > If you have any other option that I can try please let me know.
> 
> You can use precompiled toolchains from http://debian.pengutronix.de/
> … follow the instructions on that site to install.

Indeed. And there are packages for 22.04 for this toolchain release. So I
fixed this compile error, but I cannot find the fix :-/ anymore. I don't
remember but it's probably just an upstream patch.

Michael

-- 
Pengutronix e.K.   | |
Steuerwalder Str. 21   | http://www.pengutronix.de/  |
31137 Hildesheim, Germany  | Phone: +49-5121-206917-0|
Amtsgericht Hildesheim, HRA 2686   | Fax:   +49-5121-206917- |



Re: [ptxdist] OSELAS.Toolchain-2019.09.1 Building Issue

2022-10-03 Thread Alexander Dahl
Hello,

Am Mon, Oct 03, 2022 at 05:38:27PM + schrieb Joshi, Pranay:
> Hi Michael,
> 
> Thanks for your solutions.
> 
> I tried both the solution,
> 
> 1. First solution : Installed gcc9 and also changed Developer Options as 
> mentioned.
> 
> 2. Second Solution : Also used OSELAS Toolchain 2021.07.0 
> 
> But still getting issues in both the solution.
> 
> Please check attached logs for errors for both the solutions -
> Solution1: OSELAS.Toolchain-2019.09.1_Build_Error_with_gcc9
> Solution2: OSELAS.Toolchain-2021.07.0_Build_Error_1
> 
> If you have any other option that I can try please let me know.

You can use precompiled toolchains from http://debian.pengutronix.de/
… follow the instructions on that site to install.

Greets
Alex

> 
> 
> Pranay Joshi
> Lead Engineer-Firmware Engineering
> Drilling Services
> Baker Hughes
> 
> T +91 7208026212 
> 
> -Original Message-
> From: Michael Olbrich  
> Sent: Friday, September 30, 2022 3:43 PM
> To: Joshi, Pranay 
> Cc: ptxdist@pengutronix.de; ose...@community.pengutronix.de
> Subject: Re: [ptxdist] OSELAS.Toolchain-2019.09.1 Building Issue
> 
> [You don't often get email from m.olbr...@pengutronix.de. Learn why this is 
> important at https://aka.ms/LearnAboutSenderIdentification ]
> 
>   EXTERNAL EMAIL: This email originated outside of our organization. Do not 
> click on any links or open attachments from unexpected or unknown senders 
> unless you can verify the content is safe.
> 
> 
> Hi,
> 
> On Thu, Sep 29, 2022 at 03:10:40PM +, Joshi, Pranay wrote:
> > I am trying to build OSELAS Toolchain as mention in the documentation 
> > of PTXDist in the section of "Building the OSELAS.Toolchain for 
> > OSELAS.BSP-Pengutronix-Example".
> >
> > "https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ptxdist.org%2Fdoc%2Fenvironment.htmldata=05%7C01%7Cpranay.joshi%40bakerhughes.com%7C26dcb0bbe1bd41f0030108daa2cc56d9%7Cd584a4b7b1f24714a578fd4d43c146a6%7C0%7C0%7C638001295777566170%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=OoqOIfthzMV2pP2LWsOZA1JE%2FrvW394LkP7rakVpPKM%3Dreserved=0;.
> >
> > I am using Linux Host Machine x86_64 with Ubuntu 22.04 LTS. But 
> > getting error during building of toolchain, please check attached 
> > document for detail logs of building.
> 
> The host compiler is too new to build the toolchain. Install gcc-9/g++-9 in 
> Ubuntu and the run "ptxdist setup" and set
> 
> Developer Options   --->
>   (cpp-9) host CPP
>   (gcc-9) host CC
>   (g++-9) host CXX
> 
> Or better, update to OSELAS Toolchain 2021.07.0.
> 
> Michael
> 
> --
> Pengutronix e.K.   | |
> Steuerwalder Str. 21   | 
> https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.pengutronix.de%2Fdata=05%7C01%7Cpranay.joshi%40bakerhughes.com%7C26dcb0bbe1bd41f0030108daa2cc56d9%7Cd584a4b7b1f24714a578fd4d43c146a6%7C0%7C0%7C638001295777566170%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=voc6KDm33Le1WQigbqPcyQ9%2FQtfsA2FSYpXRaQJDl5U%3Dreserved=0
>   |
> 31137 Hildesheim, Germany  | Phone: +49-5121-206917-0|
> Amtsgericht Hildesheim, HRA 2686   | Fax:   +49-5121-206917- |




-- 
/"\ ASCII RIBBON | »With the first link, the chain is forged. The first
\ / CAMPAIGN | speech censured, the first thought forbidden, the
 X  AGAINST  | first freedom denied, chains us all irrevocably.«
/ \ HTML MAIL| (Jean-Luc Picard, quoting Judge Aaron Satie)


signature.asc
Description: PGP signature


Re: [ptxdist] OSELAS.Toolchain-2019.09.1 Building Issue

2022-09-30 Thread Michael Olbrich
Hi,

On Thu, Sep 29, 2022 at 03:10:40PM +, Joshi, Pranay wrote:
> I am trying to build OSELAS Toolchain as mention in the documentation of
> PTXDist in the section of "Building the OSELAS.Toolchain for
> OSELAS.BSP-Pengutronix-Example".
> 
> "https://www.ptxdist.org/doc/environment.html;.
> 
> I am using Linux Host Machine x86_64 with Ubuntu 22.04 LTS. But getting
> error during building of toolchain, please check attached document for
> detail logs of building.

The host compiler is too new to build the toolchain. Install gcc-9/g++-9 in
Ubuntu and the run "ptxdist setup" and set

Developer Options   --->
  (cpp-9) host CPP
  (gcc-9) host CC
  (g++-9) host CXX

Or better, update to OSELAS Toolchain 2021.07.0.

Michael

-- 
Pengutronix e.K.   | |
Steuerwalder Str. 21   | http://www.pengutronix.de/  |
31137 Hildesheim, Germany  | Phone: +49-5121-206917-0|
Amtsgericht Hildesheim, HRA 2686   | Fax:   +49-5121-206917- |