mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Szabolcs Nagy <nsz@port70.net>
To: musl@lists.openwall.com
Cc: Rich Felker <dalias@libc.org>,
	Sebastian Gottschall <s.gottschall@dd-wrt.com>
Subject: Re: Patches for gcc 8
Date: Fri, 17 Aug 2018 10:48:56 +0200	[thread overview]
Message-ID: <20180817084856.GZ4418@port70.net> (raw)
In-Reply-To: <68e8f175-e089-d16d-3aba-04926e93293a@dd-wrt.com>

* Sebastian Gottschall <s.gottschall@dd-wrt.com> [2018-08-17 08:30:36 +0200]:
> There are no patches required. i'm using musl with GCC 8.2.0 right now and
> can't find any issues on x86, x64, arm and mips

the s390, m68k, j2 patches are not upstream (yet)

there are some minor issues with upstream gcc, the most
common one is probably -fstack-protector on i386 and ppc
fails to link a __stack_chk_fail definition (glibc uses
a linker script for this to add libssp_nonshared.a),

and -static -pie produced position independent executable
on musl toolchains, but in gcc 8 you need -static-pie
for that, otherwise it's just normal -static executable
(this is a problem if you are building a distro that
tries to make all executables pie).

(the mcm repo also has patches to improve cross libc
testing so make check in the gcc build directory works
if you built a musl toolchain on a glibc system)


  reply	other threads:[~2018-08-17  8:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-15 18:11 Nagakamira
2018-08-16 23:52 ` Rich Felker
2018-08-17  6:30   ` Sebastian Gottschall
2018-08-17  8:48     ` Szabolcs Nagy [this message]
2018-08-19 18:11   ` SO_PEERSEC is wrong on MIPS / MIPS64 Systems Sebastian Gottschall
2018-08-19 18:19     ` Sebastian Gottschall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180817084856.GZ4418@port70.net \
    --to=nsz@port70.net \
    --cc=dalias@libc.org \
    --cc=musl@lists.openwall.com \
    --cc=s.gottschall@dd-wrt.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

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 NNTP newsgroup(s).