On Tue, Nov 26, 2019 at 07:47:44PM +0100, Tobias Burnus wrote: > Build on x86-64-gnu-linux. > OK for the trunk?
The patch is obvious. > PS: Assuming the build was indeed broken for everyone since 2 years, maybe > one should remove 'objc' from the 'default' languages? – Which languages is > now nowadays supposed to use when bootstrapping? I usually have > 'c,c++,fortran,lto', 'default' seems to be 'c,c++,fortran,objc' (plus 'lto' > which is implied by --enable-lto, which is default). No, it isn't really broken unless --enable-maintainer-mode. aclocal_deps variable in libobjc/Makefile.in in which this bug is is only used in: $(srcdir)/aclocal.m4: @MAINT@ $(aclocal_deps) cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) and when not --enable-maintainer-mode, @MAINT@ is replaced with # (otherwise with nothing). And many people test objc or obj-c++ daily or whenever they are bootstrapping. I do all my x86_64-linux bootstraps with --enable-languages=default,ada,obj-c++,lto,go,brig,d and i686-linux bootstraps with --enable-languages=default,obj-c++,lto,go,brig,d others are using =all etc. > libobjc/ > * Makefile.in (aclocal_deps): Fix path to cet.m4. > > diff --git a/libobjc/Makefile.in b/libobjc/Makefile.in > index d733fb2606b..f029880265e 100644 > --- a/libobjc/Makefile.in > +++ b/libobjc/Makefile.in > @@ -297,7 +297,7 @@ aclocal_deps = \ > $(srcdir)/../ltsugar.m4 \ > $(srcdir)/../ltversion.m4 \ > $(srcdir)/../lt~obsolete.m4 \ > - $(srcdir)/../cet.m4 \ > + $(srcdir)/../config/cet.m4 \ > $(srcdir)/acinclude.m4 > > $(srcdir)/configure: @MAINT@ configure.ac $(srcdir)/aclocal.m4 Jakub