From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3787 Path: news.gmane.org!not-for-mail From: Gregor Pintar Newsgroups: gmane.linux.lib.musl.general Subject: Re: musl 0.9.12 released Date: Wed, 31 Jul 2013 10:48:49 +0200 Message-ID: References: <20130729073513.GA27186@brightrain.aerifal.cx> <20130729180538.GD25714@port70.net> <20130730142609.GA2033@Caracal> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1375260540 16026 80.91.229.3 (31 Jul 2013 08:49:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Jul 2013 08:49:00 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-3791-gllmg-musl=m.gmane.org@lists.openwall.com Wed Jul 31 10:49:02 2013 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 1V4S5e-00015R-09 for gllmg-musl@plane.gmane.org; Wed, 31 Jul 2013 10:49:02 +0200 Original-Received: (qmail 23642 invoked by uid 550); 31 Jul 2013 08:49:00 -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 23634 invoked from network); 31 Jul 2013 08:49:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=5mNWLD/qfbMBkJrPhYh/sO1/PHLtQGu1zo95j2hQ4yU=; b=BCFvleGp2aawm9KdoMVvizD2UXZtA3fHp33UPXxDNUDnKC5In1lDbKvfkC81EkBGpZ 16qslnMIcvrOmXCnE1LGKuIJpT0bK6aDuh63pLnRpdPsgREmoyVNVQQEOuW2sxmPjLwl aTppppxIZD3rTjZ0tCCxQRuI4pV2y/N0CjNaZwFgC3tB68sw2T4icGtFw2lHj9Fqa00Z Uz3Hd2z+VhFfGJPN6GbMPMoAVWLAfVUSHcU6GCvfnEmS2KFSCpJInx+2uIsZJPIernuU OE7WveOaNORN4H1v97QCgCvdYvPNMOGAEAkNbBNO/L8cDrnPd5ch7jQw5gW7kJbdUE82 UZqg== X-Received: by 10.194.243.129 with SMTP id wy1mr48913661wjc.47.1375260529154; Wed, 31 Jul 2013 01:48:49 -0700 (PDT) In-Reply-To: <20130730142609.GA2033@Caracal> Xref: news.gmane.org gmane.linux.lib.musl.general:3787 Archived-At: 2013/7/30, idunham@lavabit.com : > On Mon, Jul 29, 2013 at 10:14:34PM +0200, Gregor Pintar wrote: >> 2013/7/29, Szabolcs Nagy : >> > * Gregor Pintar [2013-07-29 19:37:19 +0200]: >> >> >> >> I have a problem. When I try to compile it, I get this: >> >> >> > >> > are you sure the x86_64 arch is correct? >> > >> > seems gcc does not know about x86_64 registers in the asm >> > >> > i'd check the target in gcc -v >> >> Yes, x86_64 is correct arch. Target is also correct. >> "as crt1.s" also works. It's probably something wrong with gcc. > > Maybe see what happens if you pass a flag that forces binutils to use > 64-bit mode (--64 is documented in the as man page)? > > It looked to me like gcc generated 64-bit code, then invoked as > in 32-bit mode. > > HTH, > Isaac Dunham > I switched distribution yesterday. I had similar problem when compiling kernel (it wanted gnu/stubs-32.h). It was definitely something messed up with gcc. Now it works.