From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/30 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: build failure with pcc 1.0.0 on x86_64 Date: Sun, 5 Jun 2011 12:26:51 -0400 Message-ID: <20110605162651.GB191@brightrain.aerifal.cx> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1307291663 6535 80.91.229.12 (5 Jun 2011 16:34:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 5 Jun 2011 16:34:23 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-113-gllmg-musl=m.gmane.org@lists.openwall.com Sun Jun 05 18:34:19 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 1QTGHK-0007zq-91 for gllmg-musl@lo.gmane.org; Sun, 05 Jun 2011 18:34:18 +0200 Original-Received: (qmail 27827 invoked by uid 550); 5 Jun 2011 16:34:17 -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 27819 invoked from network); 5 Jun 2011 16:34:17 -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:30 Archived-At: 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