Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 5 Jun 2011 12:26:51 -0400
From: Rich Felker <dalias@...ifal.cx>
To: musl@...ts.openwall.com
Subject: Re: build failure with pcc 1.0.0 on x86_64

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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.