http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58446

            Bug ID: 58446
           Summary: Support for musl libc
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gcc-bug-espfv4bhi9 at gregor dot im

Created attachment 30829
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30829&action=edit
gcc/ arch-generic configuration and fixes for musl

The attached patches add support for targeting the musl C library for Linux,
http://musl-libc.org/

The patches are:

gcc-config-musl.diff: Addition of -mmusl (akin to -mglibc, -muclibc, -mbionic)
for musl libc support, as well as support for using the musl ld.so, patch to
stddef.h for musl size_t support, etc. Most controversially, redefines the
include dir ordering iff musl is the default target.

gomp-posix.diff: Not directly related to musl, a fix to libgomp to make it
properly specify required POSIX version.

gcc-config-dliterate.diff: gcc_cv_target_dl_iterate_phdr=yes for musl

libssp.diff: Support for libcs which provide libssp functions in libc (of which
musl is the only example at present)

x86.diff, arm.diff, mips.diff, powerpc.diff, aarch64.diff: ld.so specification
for each target and related fixes.

Reply via email to