From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3781 Path: news.gmane.org!not-for-mail From: idunham@lavabit.com Newsgroups: gmane.linux.lib.musl.general Subject: Re: musl 0.9.12 released Date: Tue, 30 Jul 2013 07:26:09 -0700 Message-ID: <20130730142609.GA2033@Caracal> References: <20130729073513.GA27186@brightrain.aerifal.cx> <20130729180538.GD25714@port70.net> 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 1375194383 3130 80.91.229.3 (30 Jul 2013 14:26:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Jul 2013 14:26:23 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-3785-gllmg-musl=m.gmane.org@lists.openwall.com Tue Jul 30 16:26:25 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 1V4Asb-0004PW-44 for gllmg-musl@plane.gmane.org; Tue, 30 Jul 2013 16:26:25 +0200 Original-Received: (qmail 6127 invoked by uid 550); 30 Jul 2013 14:26:24 -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 6118 invoked from network); 30 Jul 2013 14:26:24 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=Cct3KGdnm96zJlFeKKFvKFRC5Bl6tqUC/AJk6fuiyiODCAbbNbtD9IpT8TIvs0b4cF+fq8jwNUmdgTnnVspY2YVLwqqpjjAzLYonAwzRB29ebD4v9SlY9jlgrssECy5clgEC7CfRRWCe07ycUU7I/1aoYAYYfDlm6BjpuwCGQyY=; h=Date:From:To:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent; Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:3781 Archived-At: 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