From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8374 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: musl-gcc -m32 is broken Date: Wed, 26 Aug 2015 21:44:07 -0400 Message-ID: <20150827014407.GT32742@brightrain.aerifal.cx> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1440639867 21391 80.91.229.3 (27 Aug 2015 01:44:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Aug 2015 01:44:27 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-8386-gllmg-musl=m.gmane.org@lists.openwall.com Thu Aug 27 03:44:27 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1ZUmEo-0005YU-4Q for gllmg-musl@m.gmane.org; Thu, 27 Aug 2015 03:44:22 +0200 Original-Received: (qmail 14194 invoked by uid 550); 27 Aug 2015 01:44:20 -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 14176 invoked from network); 27 Aug 2015 01:44:20 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:8374 Archived-At: On Wed, Aug 26, 2015 at 03:16:22PM -0700, Andy Lutomirski wrote: > Adding %{m16|m32:-m elf_i386} to the *link spec in musl-gcc.specs > fixes at least the obvious failure for me. Can you clarify? musl-gcc's target is coupled to the target arch that the corresponding musl libc was built for. Switching targets with -m32 and similar options is not going to get you correspondingly switched libraries. Or am I misunderstanding what you're trying to do? Rich