From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/31 Path: news.gmane.org!not-for-mail From: "gs@int3.at" Newsgroups: gmane.linux.lib.musl.general Subject: Re: build failure with pcc 1.0.0 on x86_64 Date: Sun, 05 Jun 2011 18:59:13 +0200 Message-ID: <4DEBB5E1.7050808@int3.at> References: <20110605162651.GB191@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1307293058 13525 80.91.229.12 (5 Jun 2011 16:57:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 5 Jun 2011 16:57:38 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-114-gllmg-musl=m.gmane.org@lists.openwall.com Sun Jun 05 18:57:29 2011 Return-path: Envelope-to: gllmg-musl@lo.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by lo.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1QTGdk-00078o-Ny for gllmg-musl@lo.gmane.org; Sun, 05 Jun 2011 18:57:28 +0200 Original-Received: (qmail 15442 invoked by uid 550); 5 Jun 2011 16:57:28 -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 15428 invoked from network); 5 Jun 2011 16:57:28 -0000 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Mail/1.0 In-Reply-To: <20110605162651.GB191@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:31 Archived-At: On 06/05/2011 06:26 PM, Rich Felker wrote: > On Sun, Jun 05, 2011 at 12:16:35PM -0400, Kurt H Maier wrote: >> src/dirent/__getdents.c, line 8: compiler error: unsupported xasm >> constraint r11 >> make: *** [src/dirent/__getdents.o] Error 1 >> >> Is there something I'm doing wrong? Or is this an actual bug? > I use i386 not x86_64, so building with pcc on x86_64 has not been > tested by me. It looks like pcc does not support the method used to > get the right argument register values loaded on x86_64, but I'm not > sure what the best solution would be. It would probably work, in the > mean time, to remove the asm entirely from __syscallN inline functions > and instead have them simply call the extern __syscall(). > > Rich > also i would use the current PCC from svn as the 1.0.0 release is full of bugs, which mostly have been fixed by now.