[Bug target/58446] Support for musl libc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58446 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |6.0 --- Comment #18 from Andrew Pinski --- Fixed.
[Bug target/58446] Support for musl libc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58446 nsz at gcc dot gnu.org changed: What|Removed |Added CC||nsz at gcc dot gnu.org --- Comment #17 from nsz at gcc dot gnu.org --- gcc-trunk has most of the musl support patches (not backported yet to any release branch), the current state: libitm fix: https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=222325 fixincludes support: https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=222327 unwind support: https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=222328 gthread support: https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=222329 config changes: https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=222904 stdint changes: https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=222905 aarch64 support: https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=223766 arm support: https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=223749 mips support: https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=222915 x86 support: https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=223218 microblaze support: not yet committed https://gcc.gnu.org/ml/gcc-patches/2015-05/msg00437.html powerpc support: not yet committed https://gcc.gnu.org/ml/gcc-patches/2015-04/msg01640.html sh support: not yet committed https://gcc.gnu.org/ml/gcc-patches/2015-04/msg01636.html
[Bug target/58446] Support for musl libc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58446 nsz at gcc dot gnu.org changed: What|Removed |Added CC||lu_zero at gentoo dot org --- Comment #16 from nsz at gcc dot gnu.org --- *** Bug 55807 has been marked as a duplicate of this bug. ***
[Bug target/58446] Support for musl libc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58446 David Heidelberger (okias) changed: What|Removed |Added CC||david.heidelberger at ixit dot cz --- Comment #15 from David Heidelberger (okias) --- in which state is musl patches integration? btw. here is also old bug #55807
[Bug target/58446] Support for musl libc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58446 Gregor Richards changed: What|Removed |Added Attachment #30835|0 |1 is obsolete|| --- Comment #14 from Gregor Richards --- Created attachment 30866 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30866&action=edit mips support for musl And the equivalent change for MIPS (/lib/ld-musl-mips[el].so.1)
[Bug target/58446] Support for musl libc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58446 Gregor Richards changed: What|Removed |Added Attachment #30834|0 |1 is obsolete|| --- Comment #13 from Gregor Richards --- Created attachment 30865 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30865&action=edit arm support for musl This change to arm.diff adds support for musl's -eb and -hf linkers (/lib/ld-musl-arm[eb][hf].so.1)
[Bug target/58446] Support for musl libc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58446 Gregor Richards changed: What|Removed |Added Attachment #30831|0 |1 is obsolete|| Attachment #30832|0 |1 is obsolete|| --- Comment #12 from Gregor Richards --- Created attachment 30864 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30864&action=edit Changes to gcc/configure.ac for musl Making libssp use the same system as everything else. (I'll leave the whether-to-build-libssp debate to future generations :) )
[Bug target/58446] Support for musl libc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58446 --- Comment #11 from Gregor Richards --- Aha. I didn't realize such a setting already existed; I'll test and update my patch later today to use the existing mechanism. Thanks for the info.
[Bug target/58446] Support for musl libc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58446 --- Comment #10 from joseph at codesourcery dot com --- On Tue, 17 Sep 2013, gcc-bug-espfv4bhi9 at gregor dot im wrote: > libssp.diff: Support for libcs which provide libssp functions in libc (of > which > musl is the only example at present) glibc provides libssp functions since version 2.4. Apparently some people have a use for building libssp anyway (see bug 58312), but I'd think the build / installation of libssp should be disabled by default for glibc targets. (Though given this is a per-multilib matter, disabling may mean just avoiding building / installing anything rather than completely disabling the directory at toplevel.) Likewise, according to gcc/configure.ac, Bionic, and uClibc configured with __UCLIBC_HAS_SSP__.
[Bug target/58446] Support for musl libc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58446 --- Comment #4 from Gregor Richards --- Created attachment 30833 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30833&action=edit x86/x86_64 support for musl
[Bug target/58446] Support for musl libc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58446 Rich Felker changed: What|Removed |Added CC||bugdal at aerifal dot cx --- Comment #9 from Rich Felker --- I don't know what the maintenance policy is for non-latest releases, but it would be wonderful if we could get these into the 4.7 series before it's closed, too. Bootstrapping new toolchains/systems with a different libc than the host system's libc, it's much easier to start with a GCC that doesn't need C++, and it would be a big help if our users could just start with GCC 4.7.x and have it work out of the box, rather than needing to apply third-party patches. (Speaking from the standpoint of musl maintainer.)
[Bug target/58446] Support for musl libc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58446 --- Comment #7 from Gregor Richards --- Created attachment 30836 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30836&action=edit powerpc support for musl
[Bug target/58446] Support for musl libc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58446 --- Comment #8 from Gregor Richards --- Created attachment 30837 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30837&action=edit aarch64 support for musl
[Bug target/58446] Support for musl libc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58446 --- Comment #5 from Gregor Richards --- Created attachment 30834 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30834&action=edit arm support for musl
[Bug target/58446] Support for musl libc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58446 --- Comment #6 from Gregor Richards --- Created attachment 30835 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30835&action=edit mips support for musl
[Bug target/58446] Support for musl libc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58446 --- Comment #3 from Gregor Richards --- Created attachment 30832 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30832&action=edit libssp support for musl
[Bug target/58446] Support for musl libc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58446 --- Comment #2 from Gregor Richards --- Created attachment 30831 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30831&action=edit gcc_cv_target_dl_iterate_phdr=yes on musl (note that due to a bug in making these .diffs, the configure.ac change is in libssp.diff ...)
[Bug target/58446] Support for musl libc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58446 --- Comment #1 from Gregor Richards --- Created attachment 30830 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30830&action=edit Fix for gomp to specify _POSIX_SOURCE requirements