Build issues gcc10

Adrian Schmutzler mail at adrianschmutzler.de
Sun Sep 12 14:38:20 PDT 2021


> -----Original Message-----
> From: openwrt-devel [mailto:openwrt-devel-bounces at lists.openwrt.org]
> On Behalf Of Ansuel Smith
> Sent: Sonntag, 12. September 2021 19:50
> To: Adrian Schmutzler <mail at adrianschmutzler.de>
> Cc: Rui Salvaterra <rsalvaterra at gmail.com>; OpenWrt Development List
> <openwrt-devel at lists.openwrt.org>
> Subject: Re: Build issues gcc10
> 
> >
> > > -----Original Message-----
> > > From: Ansuel Smith [mailto:ansuelsmth at gmail.com]
> > > Sent: Sonntag, 12. September 2021 19:18
> > > To: Rui Salvaterra <rsalvaterra at gmail.com>
> > > Cc: Adrian Schmutzler <mail at adrianschmutzler.de>; OpenWrt
> > > Development List <openwrt-devel at lists.openwrt.org>
> > > Subject: Re: Build issues gcc10
> > >
> > > Il giorno dom 12 set 2021 alle ore 19:16 Rui Salvaterra
> > > <rsalvaterra at gmail.com> ha scritto:
> > > >
> > > > Hi, Adrian,
> > > >
> > > > On Sun, 12 Sept 2021 at 15:15, Adrian Schmutzler
> > > > <mail at adrianschmutzler.de> wrote:
> > > > >
> > > > > I'm having build issues with master and (default) gcc10 on ipq targets.
> > > >
> > > > I don't know about ipq, but I jumped straight to GCC 11.2. Does it
> > > > make sense to bother with 10? That said…
> > > >
> > > > > xgcc: fatal error: cannot execute 'cc1plus': execvp: No such
> > > > > file or directory
> > > >
> > > > … you seem to be missing the C++ compiler.
> > >
> > > A missing dependency for the prereq? Could be that they changed the
> > > default package for debian 10 and 11 and nobody notice that?
> >
> > That was my first suspicion as well, but I didn't really have a good idea
> what's missing ...
> >
> >
> 
> Did you try reinstalling  build-essential ?

Yes, no change. Also tried various other additional apt packages.

Apart from that, the problem seems not to be limited to ipq targets.

In general, gcc 8 and 9 seem to build fine, and gcc 10 and 11 fail.

Best

Adrian

> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel




More information about the openwrt-devel mailing list