Re: [PATCH 5.10 000/132] 5.10.85-rc1 review

Greg KH
2022-01-06T10:24:15Z

On Thu, Jan 06, 2022 at 11:16:19AM +0100, Pavel Machek wrote:
> Hi!
>
> > I wonder if you saw this message of mine the other day.
>
> Seen the message.
>
> > > > > I'm getting a lot of build failures -- missing gmp.h:
> > > > >
> > > > > UPD include/generated/utsrelease.h
> > > > > 1317In file included from /builds/hVatwYBy/68/cip-project/cip-testing/linux-stable-rc-ci/gcc/gcc-8.1.0-nolibc/arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/8.1.0/plugin/include/gcc-plugin.h:28:0,
> > > > > 1318 from scripts/gcc-plugins/gcc-common.h:7,
> > > > > 1319 from scripts/gcc-plugins/arm_ssp_per_task_plugin.c:3:
> > > > > 1320/builds/hVatwYBy/68/cip-project/cip-testing/linux-stable-rc-ci/gcc/gcc-8.1.0-nolibc/arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/8.1.0/plugin/include/system.h:687:10: fatal error: gmp.h: No such file or directory
> > > > > 1321 #include <gmp.h>
> > > > > 1322 ^~~~~~~
> > > > > 1323compilation terminated.
> > > > > 1324scripts/gcc-plugins/Makefile:47: recipe for target 'scripts/gcc-plugins/arm_ssp_per_task_plugin.so' failed
> > > > > 1325
> > > > >
> > > > > https://gitlab.com/cip-project/cip-testing/linux-stable-rc-ci/-/tree/linux-5.10.y
> > > >
> > > > What gcc plugins are you trying to build with?
> > >
> > > We saw a similar problem with mainline/next about a year ago, after
> > > v5.10 was released. In our case it failed with gmp.h because
> > > libmpc-dev was not installed on the host; then libiberty-dev was
> > > needed too
> > [...]
> >
> > We installed libgmp-dev, libmpc-dev and libiberty-dev. That generally
> > helps. FWIW, this is needed for 5.11+.
>
> Yep, but I'm not the one that can do the installation, our q&a team
> does that. They are aware of the problem now, but it may take a while
> to solve due to holidays etc.
>
> I believe -stable team should be more conservative and should not
> introduce regressions like this.

If you know a way to solve this, while still solving the original bug
report that this commit fixes, I will be glad to consider it.

thanks,

greg k-h