From: Peter Korsgaard Date: Tue, 14 Mar 2017 00:06:11 +0100 Subject: [Buildroot] [PATCH] package/gdb: fix gnulib issue with musl and uClibc toolchains again In-Reply-To: <20170312141851.1a85cc3e@free-electrons.com> (Thomas Petazzoni's message of "Sun, 12 Mar 2017 14:18:51 +0100") References: <20170311212645.11896-1-romain.naour@gmail.com> <20170312141851.1a85cc3e@free-electrons.com> Message-ID: <87bmt4ydy4.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Thomas" == Thomas Petazzoni writes: > Hello, > On Sat, 11 Mar 2017 22:26:45 +0100, Romain Naour wrote: >> The commit [1] doesn't fix this issue for all cases (it doesn't work >> when BR2_PACKAGE_GDB_DEBUGGER=y). >> So, leave the configure script alone and override >> gl_cv_func_gettimeofday_clobber from GDB_MAKE_ENV. >> >> [1] 560334bb2a46a77081a3944d092df7732dfca432 >> >> Fixes: >> http://autobuild.buildroot.net/results/719/719a441421030b79c0aa1bbfb707130f3ac87338 >> >> Signed-off-by: Romain Naour >> Cc: Thomas Petazzoni >> --- >> Note: >> AlpineLinux doesn't build gdbserver "gdb server does not compile with musl" >> http://git.alpinelinux.org/cgit/aports/tree/main/gdb/APKBUILD >> --- >> package/gdb/gdb.mk | 21 ++++++++++++--------- >> 1 file changed, 12 insertions(+), 9 deletions(-) > I've slightly tweaked the comment in the code, and applied to master, > thanks! > Peter, I think we want this commit for the LTS branch. Agreed. Committed to 2017.02.x, thanks. -- Bye, Peter Korsgaard