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. 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; oselas@community.pengutronix.de Subject: Re: [ptxdist] OSELAS.Toolchain-2019.09.1 Building Issue [You don't often get email from m.olbrich@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 +0000, 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.html&data=05%7C01%7Cpranay.joshi%40bakerhughes.com%7C26dcb0bbe1bd41f0030108daa2cc56d9%7Cd584a4b7b1f24714a578fd4d43c146a6%7C0%7C0%7C638001295777566170%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=OoqOIfthzMV2pP2LWsOZA1JE%2FrvW394LkP7rakVpPKM%3D&reserved=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%2F&data=05%7C01%7Cpranay.joshi%40bakerhughes.com%7C26dcb0bbe1bd41f0030108daa2cc56d9%7Cd584a4b7b1f24714a578fd4d43c146a6%7C0%7C0%7C638001295777566170%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=voc6KDm33Le1WQigbqPcyQ9%2FQtfsA2FSYpXRaQJDl5U%3D&reserved=0 | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |