[PATCH] Implement a workaround for GNU mak jobserver
H.J. Lu
hjl.tools@gmail.com
Tue Jan 12 13:39:12 GMT 2021
On Tue, Jan 12, 2021 at 5:36 AM H.J. Lu <hjl.tools@gmail.com> wrote:
>
> On Tue, Jan 12, 2021 at 5:26 AM Nick Clifton <nickc@redhat.com> wrote:
> >
> > Hi H.J.
> >
> > >> since the '+' is missing on the recipe line in Makefiles generated by
> > >> automake. Add the '+' to the recipe line by hand.
> >
> > Is this an automake bug that ought to be reported ?
>
> Yes
>
> https://lists.gnu.org/archive/html/automake/2020-02/msg00012.html
>
> But my automake patch was rejected because automake developers
> believe that the choice of adding '+" belongs to package builders, not
> package developers.
FYI, here is my automake patch:
https://lists.gnu.org/archive/html/automake-patches/2020-10/msg00003.html
> > >> bfd/
> > >>
> > >> PR binutils/26792
> > >> * configure.ac: Use GNU_MAKE_JOBSERVER.
> > >> * aclocal.m4: Regenerated.
> > >> * configure: Likewise.
> > >>
> > >> binutils/
> > >>
> > >> PR binutils/26792
> > >> * configure.ac: Use GNU_MAKE_JOBSERVER.
> > >> * aclocal.m4: Regenerated.
> > >> * configure: Likewise.
> > >>
> > >> config/
> > >>
> > >> PR binutils/26792
> > >> * jobserver.m4: New file.
> > >>
> > >> gas/
> > >>
> > >> PR binutils/26792
> > >> * configure.ac: Use GNU_MAKE_JOBSERVER.
> > >> * aclocal.m4: Regenerated.
> > >> * configure: Likewise.
> > >>
> > >> gprof/
> > >>
> > >> PR binutils/26792
> > >> * configure.ac: Use GNU_MAKE_JOBSERVER.
> > >> * aclocal.m4: Regenerated.
> > >> * configure: Likewise.
> > >>
> > >> ld/
> > >>
> > >> PR binutils/26792
> > >> * configure.ac: Use GNU_MAKE_JOBSERVER.
> > >> * aclocal.m4: Regenerated.
> > >> * configure: Likewise.
> > >>
> > >> libctf/
> > >>
> > >> PR binutils/26792
> > >> * configure.ac: Use GNU_MAKE_JOBSERVER.
> > >> * aclocal.m4: Regenerated.
> > >> * configure: Likewise.
> > >>
> > >> opcodes/
> > >>
> > >> PR binutils/26792
> > >> * configure.ac: Use GNU_MAKE_JOBSERVER.
> > >> * aclocal.m4: Regenerated.
> > >> * configure: Likewise.
> > >
> > > I have checked the PGO/LTO build patches into master branch. Here
> > > is the updated patch to enable LTO jobserver with GCC 11.
> > >
> > > OK for master?
> >
> > Approved - please apply.
> >
>
> I will check it in shortly.
>
> Thanks.
>
> --
> H.J.
--
H.J.
More information about the Binutils
mailing list