From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4708 Path: news.gmane.org!not-for-mail From: "Anthony G. Basile" Newsgroups: gmane.linux.lib.musl.general Subject: Re: i686 with -fPIE and -fstack-protector-all Date: Sat, 22 Mar 2014 09:33:48 -0400 Message-ID: <532D913C.7080407@opensource.dyc.edu> References: <532D87B3.8050001@opensource.dyc.edu> <20140322130637.GE27448@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1395495221 27478 80.91.229.3 (22 Mar 2014 13:33:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Mar 2014 13:33:41 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4712-gllmg-musl=m.gmane.org@lists.openwall.com Sat Mar 22 14:33:52 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1WRM3b-00047B-A7 for gllmg-musl@plane.gmane.org; Sat, 22 Mar 2014 14:33:51 +0100 Original-Received: (qmail 19672 invoked by uid 550); 22 Mar 2014 13:33:50 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 19617 invoked from network); 22 Mar 2014 13:33:38 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 In-Reply-To: <20140322130637.GE27448@port70.net> Xref: news.gmane.org gmane.linux.lib.musl.general:4708 Archived-At: On 03/22/2014 09:06 AM, Szabolcs Nagy wrote: > * Anthony G. Basile [2014-03-22 08:53:07 -0400]: >> I've hit a bug with 1.0.0 on i686. When building with >> -fstack-protector-all and -fPIE, I get an undefined reference to >> `__stack_chk_fail_local'. I do not get this on x86_64: >> > > may be this gcc bug should be in the faq > > http://gcc.gnu.org/ml/gcc/2012-01/msg00012.html > http://git.alpinelinux.org/cgit/aports/tree/main/musl/__stack_chk_fail_local.c > Thanks it. I was going to adopt a patch like alpines but hesitated in csae I was missing something. Aside: it looks like alpine is hitting a lot of the same issues i am with gentoo+musl and adopting similar approaches, like getent and ldconfig. -- Anthony G. Basile, Ph. D. Chair of Information Technology D'Youville College Buffalo, NY 14201 (716) 829-8197