http://sourceware.org/bugzilla/show_bug.cgi?id=12657

           Summary: binutils use __pid_t instead of pid_t
           Product: binutils
           Version: 2.22 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: unassig...@sources.redhat.com
        ReportedBy: a...@0au.de


Created attachment 5657
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5657
use pid_t instead of __pid_t

When trying to compile binutils with the musl libc [1], compilation fails
because bfd/hosts/x86-64linux.h uses __pid_t instead of pid_t. Patching this is
trivial, but annoying, and the author of musl said that he's 'not willing to
add reserved-namespace type aliases to support broken applications that should
be using the correct public type names.'

The attached patch includes a fix.

[1] http://www.etalabs.net/musl/

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to