[Buildroot] [PATCH] package/gdb: fix gnulib issue with musl and uClibc toolchains again

Peter Korsgaard peter at korsgaard.com
Mon Mar 13 23:06:11 UTC 2017


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> 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 <romain.naour at gmail.com>
 >> Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
 >> ---
 >> 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



More information about the buildroot mailing list