Build issues gcc10

Adrian Schmutzler mail at adrianschmutzler.de
Mon Sep 13 15:10:49 PDT 2021


Hi,

> -----Original Message-----
> From: openwrt-devel [mailto:openwrt-devel-bounces at lists.openwrt.org]
> On Behalf Of Rui Salvaterra
> Sent: Sonntag, 12. September 2021 19:12
> To: Adrian Schmutzler <mail at adrianschmutzler.de>
> Cc: openwrt-devel at lists.openwrt.org
> Subject: Re: Build issues gcc10
> 
> 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.

Just had one try before I went to bed, but it appears the problem is that cc1plus generated by the toolchain has no execute bit set:

/data/openwrt/build_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-10.3.0_musl_eabi/gcc-10.3.0-final/./gcc/cc1plus

If I chmod +x on that file, the build continues.

Best

Adrian

> 
> Cheers,
> Rui
> 
> _______________________________________________
> 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