Subject: Re: Build problems on Debian GNU/Linux 3.1 x86_64
To: None <pkgsrc-users@netbsd.org>
From: Christoph Leuzinger <christoph.leuzinger@westworks.ch>
List: pkgsrc-users
Date: 05/14/2007 20:17:25
On Mon, 16 Apr 2007 15:23:50 +0200
Christoph Leuzinger <chris+ml@westworks.ch> wrote:

> /tmp/cc0g74B7.s:69: Error: Incorrect register `%esi' used with `q' suffix

I've found a work around for this one. Inserting

    #define G_ATOMIC_I486 1

at the top of "glib/gatomic.c" did it for me. I guess this is some 
x86_64 problem, though I don't understand this completely, as I did
specify

    ABI=32

in my etc/mk.conf.

Cheers,
  Christoph