From: Baruch Siach Date: Fri, 16 Mar 2018 12:21:58 +0200 Subject: [Buildroot] [PATCH] make: fix build with glibc 2.27 In-Reply-To: <87h8pggx75.fsf@dell.be.48ers.dk> References: <1335b4d70acf1aacdc0d4f40fedfa69320debf6a.1521187256.git.baruch@tkos.co.il> <87h8pggx75.fsf@dell.be.48ers.dk> Message-ID: <20180316102158.ponyrtdiilfmi5a3@tarshish> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hi Peter, On Fri, Mar 16, 2018 at 10:57:02AM +0100, Peter Korsgaard wrote: > >>>>> "Baruch" == Baruch Siach writes: > > > glibc 2.27 changed _GNU_GLOB_INTERFACE_VERSION to 2. This triggers build > > of the internal glob implementation in make. This internal > > implementation needs the __alloca symbol that glibc does not define. > > > Add upstream patch that adds support for _GNU_GLOB_INTERFACE_VERSION 2. > > > Fixes: > > http://autobuild.buildroot.net/results/8ff/8ff06ad8438cfcac85577b24675dd1d66f7d3d03/ > > http://autobuild.buildroot.net/results/5cc/5ccee6bb332e800e81052a3094746edde83403b1/ > > http://autobuild.buildroot.net/results/841/8418f5ed56dacd6900946e7d56ad36ad03c7bf7e/ > > > Signed-off-by: Baruch Siach > > > diff --git a/package/make/make.mk b/package/make/make.mk > > index 5717628fa3e9..01cd2eaa18f2 100644 > > --- a/package/make/make.mk > > +++ b/package/make/make.mk > > @@ -7,9 +7,11 @@ > > MAKE_VERSION = 4.2.1 > > MAKE_SOURCE = make-$(MAKE_VERSION).tar.bz2 > > MAKE_SITE = $(BR2_GNU_MIRROR)/make > > -MAKE_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) > > +MAKE_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) host-pkgconf > > The patch looks good, but why are you pulling in host-pkgconf? Otherwise configure fails: ./configure: line 9666: PKG_PROG_PKG_CONFIG: command not found ./configure: line 9678: syntax error near unexpected token `GUILE,' ./configure: line 9678: ` PKG_CHECK_MODULES(GUILE, guile-2.0, have_guile=yes,' This does not trigger without autoreconf since we disable guile support in make to break circular dependency IIRC. baruch -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -