From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/9485 Path: news.gmane.org!not-for-mail From: John Found Newsgroups: gmane.linux.lib.musl.general Subject: Re: Error on compiling musl for i386. Date: Sat, 5 Mar 2016 23:46:05 +0200 Message-ID: <20160305234605.be9708b97e05f4b7337cc090@asm32.info> References: <20160305195842.65e4d4103f891699f1d9e695@asm32.info> <20160305211851.GJ9349@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1457214423 13865 80.91.229.3 (5 Mar 2016 21:47:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Mar 2016 21:47:03 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-9498-gllmg-musl=m.gmane.org@lists.openwall.com Sat Mar 05 22:46:56 2016 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 1acK2J-0004PY-Sc for gllmg-musl@m.gmane.org; Sat, 05 Mar 2016 22:46:55 +0100 Original-Received: (qmail 11556 invoked by uid 550); 5 Mar 2016 21:46:53 -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 11538 invoked from network); 5 Mar 2016 21:46:52 -0000 In-Reply-To: <20160305211851.GJ9349@brightrain.aerifal.cx> X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; x86_64-unknown-linux-gnu) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hemus.superhosting.bg X-AntiAbuse: Original Domain - lists.openwall.com X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - asm32.info X-Get-Message-Sender-Via: hemus.superhosting.bg: authenticated_id: johnfound@asm32.info X-Authenticated-Sender: hemus.superhosting.bg: johnfound@asm32.info X-Source: X-Source-Args: X-Source-Dir: Xref: news.gmane.org gmane.linux.lib.musl.general:9485 Archived-At: On Sat, 5 Mar 2016 16:18:51 -0500 Rich Felker wrote: > > I think your gcc is a compiler for some arch other than i386, probably > x86_64. Using --host=i386 forces configure to assume you're telling it > the right arch and suppresses auto-detection. If this is the problem, > you can either set CC to a cross-compiler when invoking configure, or > try CC="gcc -m32". > > I have some ideas for making this more foolproof in the future. > > Rich Exactly! CC="gcc -m32" fixed the issue and it compiles and installs fine. I know about -m32 option, but I though it will be set by the ./configure script when I set --host=i386, because there is no 64bit i386 processors. So, you are right that it needs some fixing, especially for such noobs as me. ;) Best Regards -- http://fresh.flatassembler.net http://asm32.info John Found