On Mon, Oct 03, 2022 at 08:27:04PM +0200, Alexander Dahl wrote:
> Hello,
> 
> Am Mon, Oct 03, 2022 at 05:38:27PM +0000 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-5555 |

Reply via email to