Discussion:
[Bug build/21070] New: GDB fails to build for mips-*-linux-musl
stilor at att dot net
2017-01-20 04:55:22 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=21070

Bug ID: 21070
Summary: GDB fails to build for mips-*-linux-musl
Product: gdb
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: build
Assignee: unassigned at sourceware dot org
Reporter: stilor at att dot net
Target Milestone: ---

Created attachment 9766
--> https://sourceware.org/bugzilla/attachment.cgi?id=9766&action=edit
PATCH

Quote from the original patch description:

[[[[
Build fix for MIPS with musl libc

The MIPS specific header <sgidefs.h> is provided by glibc and uclibc
but not by musl. Regardless of the libc, the kernel headers provide
<asm/sgidefs.h> which provides the same definitions, so use that
instead.

Upstream-Status: Pending

Signed-off-by: Andre McCurdy <***@gmail.com>
Signed-off-by: Khem Raj <***@gmail.com>
]]]]

Despite the "Upstream-Status" line, I wasn't able to find this issue in the
GDB's bugzilla - so submitting it.

This has been reported as an issue in crosstool-ng:
https://github.com/crosstool-ng/crosstool-ng/pull/517

The patch was originally provided for OpenEmbedded:
http://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/gdb/gdb/0007-use-asm-sgidefs.h.patch
--
You are receiving this mail because:
You are on the CC list for the bug.
tromey at sourceware dot org
2018-04-19 09:51:34 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=21070

Tom Tromey <tromey at sourceware dot org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at sourceware dot org

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
Hi. Thanks for the patch.

The gdb project doesn't generally review patches in bugzilla.
Instead please follow the contribution guidelines:

https://sourceware.org/gdb/wiki/ContributionChecklist
--
You are receiving this mail because:
You are on the CC list for the bug.
stilor at att dot net
2018-04-19 15:46:29 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=21070

--- Comment #2 from Alexey Neyman <stilor at att dot net> ---
I did awhile ago, the patch was discussed and rejected: GDB developers point a
finger at musl, and musl blames gdb:

GDB developer's response:
https://sourceware.org/ml/gdb-patches/2017-01/msg00668.html

MUSL developer's response:
http://www.openwall.com/lists/musl/2017/01/26/2

Would be nice if GDB and MUSL guys could talk directly without me serving as a
middle man.
--
You are receiving this mail because:
You are on the CC list for the bug.
Loading...