From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/763 Path: news.gmane.org!not-for-mail From: Isaac Dunham Newsgroups: gmane.linux.lib.musl.general Subject: Re: New gcc wrapper to try Date: Tue, 24 Apr 2012 12:28:28 -0700 Message-ID: <20120424122828.50cdc737@newbook> References: <20120421064933.GF14673@brightrain.aerifal.cx> <20120421203751.GG14673@brightrain.aerifal.cx> <20120422225704.75a67b0b@newbook> <20120423091905.GM14673@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/nLWNcRtjSXXFWyEla2U83_1" X-Trace: dough.gmane.org 1335295724 19441 80.91.229.3 (24 Apr 2012 19:28:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 Apr 2012 19:28:44 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-764-gllmg-musl=m.gmane.org@lists.openwall.com Tue Apr 24 21:28:43 2012 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 1SMlPl-0007zm-Ho for gllmg-musl@plane.gmane.org; Tue, 24 Apr 2012 21:28:41 +0200 Original-Received: (qmail 17969 invoked by uid 550); 24 Apr 2012 19:28:40 -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 17961 invoked from network); 24 Apr 2012 19:28:40 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=uqtumHbBJrfQsuT9VxhyRGntheA41Pw4H/QJRQ2JozU14JcH3XRSlFYRQwWr7wmh65gnhxNMDJig6MVRWSwJ53oXrooxHxS/qyUDfWeRD9lu3X0QXgV8lw82hKEqussgSdkvJrL5XSpU2Ae6qMGbE1hQ5FisnORKAWFqohG6bJY=; h=Date:From:To:Subject:Message-ID:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type; In-Reply-To: <20120423091905.GM14673@brightrain.aerifal.cx> X-Mailer: Claws Mail 3.7.4 (GTK+ 2.20.1; i486-pc-linux-gnu) Xref: news.gmane.org gmane.linux.lib.musl.general:763 Archived-At: --MP_/nLWNcRtjSXXFWyEla2U83_1 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline On Mon, 23 Apr 2012 05:19:05 -0400 Rich Felker wrote: > On Sun, Apr 22, 2012 at 10:57:04PM -0700, Isaac Dunham wrote: > > On Sat, 21 Apr 2012 16:37:51 -0400 > > Rich Felker wrote: > > > > > Here's an updated version which fixes some issues with the > > > previous (wrong crtbegin/end files when -shared is used, etc.) > > > > > Doesn't fix building wireless-tools (I've changed the target > > directory to fit my install; no other changes) > > In fact, where the old musl-gcc can link the object-file statically, > > this one cannot link it at all, under any circumstances. > > (This version is saved as muslcc, if you want to examine the > > logs...) Using make iwmulticall > > Somebody has enabled stack protector. Either your distro (what distro > are you using) has hacked gcc in a way different from what musl-gcc > expects, or wireless-tools' makefile is adding -fstack-protector... There's no -fstack-protector, so it's Ubuntu's fault. Now (as hacked) builds iwmulticall. Attached is my version, with manual disable for stack protector (and also -V support, in case I want to use both gcc-4.1 and 4.4 ) Isaac Dunham --MP_/nLWNcRtjSXXFWyEla2U83_1 Content-Type: application/octet-stream; name=muslcc Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=muslcc IyEvYmluL3NoCgpsaWJjX3ByZWZpeD0iL29wdC9tdXNsIgpsZHNvX3BhdGhuYW1lPSIvbGliL2xk LW11c2wtaTM4Ni5zby4xIgpnY2M9Z2NjCmxpYmNfbGliPSRsaWJjX3ByZWZpeC9saWIKbGliY19p bmM9JGxpYmNfcHJlZml4L2luY2x1ZGUKbGliY19jcnQ9IiRsaWJjX2xpYi9jcnQxLm8iCmxpYmNf c3RhcnQ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