public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/58446] New: Support for musl libc
@ 2013-09-17 17:10 gcc-bug-espfv4bhi9 at gregor dot im
  2013-09-17 17:11 ` [Bug target/58446] " gcc-bug-espfv4bhi9 at gregor dot im
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: gcc-bug-espfv4bhi9 at gregor dot im @ 2013-09-17 17:10 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2015-07-14  9:36 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-17 17:10 [Bug target/58446] New: Support for musl libc gcc-bug-espfv4bhi9 at gregor dot im
2013-09-17 17:11 ` [Bug target/58446] " gcc-bug-espfv4bhi9 at gregor dot im
2013-09-17 17:12 ` gcc-bug-espfv4bhi9 at gregor dot im
2013-09-17 17:13 ` gcc-bug-espfv4bhi9 at gregor dot im
2013-09-17 17:13 ` gcc-bug-espfv4bhi9 at gregor dot im
2013-09-17 17:13 ` gcc-bug-espfv4bhi9 at gregor dot im
2013-09-17 17:14 ` gcc-bug-espfv4bhi9 at gregor dot im
2013-09-17 17:14 ` gcc-bug-espfv4bhi9 at gregor dot im
2013-09-17 17:15 ` gcc-bug-espfv4bhi9 at gregor dot im
2013-09-17 20:10 ` joseph at codesourcery dot com
2013-09-17 20:13 ` gcc-bug-espfv4bhi9 at gregor dot im
2013-09-19 13:59 ` gcc-bug-espfv4bhi9 at gregor dot im
2013-09-19 14:00 ` gcc-bug-espfv4bhi9 at gregor dot im
2013-09-19 14:01 ` gcc-bug-espfv4bhi9 at gregor dot im
2014-03-09  0:41 ` david.heidelberger at ixit dot cz
2015-07-14  9:08 ` nsz at gcc dot gnu.org
2015-07-14  9:36 ` nsz at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).