I use 1.15.1. This is the link to the line I mentioned. https://github.com/gcc-mirror/gcc/blob/master/libgomp/plugin/Makefrag.am#L29
On Fri, May 20, 2022 at 11:40 AM Jakub Jelinek <ja...@redhat.com> wrote: > On Fri, May 20, 2022 at 11:25:59AM +0200, Mohamed Atef wrote: > > I downloaded the last version of the repo, but when I try to > > autoreconf > > in libgomp/ > > i get this error "plugin/Makefrag.am:29: error: libgomp_la_LIBADD must be > > set with '=' before using '+='" > > line 29 in libgomp/plugin/Makefrag.am has > > "libgomp_la_LIBADD += $(DL_LIBS)" > > I removed this line and "autoreconf" worked fine. > > Do I miss some packages? > > Are you using automake 1.15.1 that should be used? > > Anyway, the error seems to be incorrect, > libgomp_la_LIBADD is set in libgomp/Makefile as > libgomp_la_LIBADD = > before > include $(top_srcdir)/plugin/Makefrag.am > a few lines later. > > Jakub > >