From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3771 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: musl 0.9.12 released Date: Mon, 29 Jul 2013 20:05:38 +0200 Message-ID: <20130729180538.GD25714@port70.net> References: <20130729073513.GA27186@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 X-Trace: ger.gmane.org 1375121148 18518 80.91.229.3 (29 Jul 2013 18:05:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Jul 2013 18:05:48 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-3775-gllmg-musl=m.gmane.org@lists.openwall.com Mon Jul 29 20:05:50 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 1V3rpO-000355-63 for gllmg-musl@plane.gmane.org; Mon, 29 Jul 2013 20:05:50 +0200 Original-Received: (qmail 23579 invoked by uid 550); 29 Jul 2013 18:05:49 -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 23571 invoked from network); 29 Jul 2013 18:05:49 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:3771 Archived-At: * 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 > gcc -std=c99 -nostdinc -ffreestanding -fexcess-precision=standard > -frounding-math -D_XOPEN_SOURCE=700 -I./arch/x86_64 -I./src/internal > -I./include -pipe -fomit-frame-pointer -fno-unwind-tables > -fno-asynchronous-unwind-tables -Wa,--noexecstack > -Werror=implicit-function-declaration -Werror=implicit-int > -Werror=pointer-sign -Werror=pointer-arith -fno-stack-protector -O2 > -fPIC -c -o crt/crt1.o crt/x86_64/crt1.s > crt/x86_64/crt1.s: Assembler messages: > crt/x86_64/crt1.s:7: Error: bad register name `%rbp' > crt/x86_64/crt1.s:8: Error: bad register name `%rdx' > crt/x86_64/crt1.s:9: Error: bad register name `%rsi' > crt/x86_64/crt1.s:10: Error: bad register name `%rsp' > crt/x86_64/crt1.s:11: Error: bad register name `%rsp' > crt/x86_64/crt1.s:12: Error: bad register name `%r8' > crt/x86_64/crt1.s:13: Error: bad register name `%rcx' > crt/x86_64/crt1.s:14: Error: bad register name `%rdi' > make: *** [crt/crt1.o] Error 1 > > I have Binutils 2.23.1 and GCC 4.8.1. > But it compiles with Clang 3.2.