From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/13127 Path: news.gmane.org!.POSTED!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: Patches for gcc 8 Date: Fri, 17 Aug 2018 10:48:56 +0200 Message-ID: <20180817084856.GZ4418@port70.net> References: <20180816235254.GL1878@brightrain.aerifal.cx> <68e8f175-e089-d16d-3aba-04926e93293a@dd-wrt.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1534495626 24104 195.159.176.226 (17 Aug 2018 08:47:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 17 Aug 2018 08:47:06 +0000 (UTC) User-Agent: Mutt/1.9.1 (2017-09-22) Cc: Rich Felker , Sebastian Gottschall To: musl@lists.openwall.com Original-X-From: musl-return-13143-gllmg-musl=m.gmane.org@lists.openwall.com Fri Aug 17 10:47:02 2018 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1fqaPN-00068j-Mh for gllmg-musl@m.gmane.org; Fri, 17 Aug 2018 10:47:01 +0200 Original-Received: (qmail 26292 invoked by uid 550); 17 Aug 2018 08:49:09 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 26274 invoked from network); 17 Aug 2018 08:49:08 -0000 Mail-Followup-To: musl@lists.openwall.com, Rich Felker , Sebastian Gottschall Content-Disposition: inline In-Reply-To: <68e8f175-e089-d16d-3aba-04926e93293a@dd-wrt.com> Xref: news.gmane.org gmane.linux.lib.musl.general:13127 Archived-At: * Sebastian Gottschall [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)