This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/21070] New: GDB fails to build for mips-*-linux-musl


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 <armccurdy@gmail.com>
Signed-off-by: Khem Raj <raj.khem@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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]