• Bug#262301: [ST-devel] Port for amd64?

    From Wesley W. Terpstra@1:229/2 to Claus Assmann on Sat Aug 14 12:00:12 2004
    From: [email protected]

    On Fri, Aug 13, 2004 at 07:08:37AM -0700, Claus Assmann wrote:
    Has someone already ported statethreads to amd64? I would like
    to run it under OpenBSD (and maybe others) in 64bit mode.

    I have a bug filed against me for the debian package to this effect.
    I also run amd64 at home.

    So, in ~10 days I will definitely port it to linux/amd64.
    (Though not *BSD or Solaris since I don't have these)

    If you need it before then, you'll have to do it yourself.
    Send me a copy, though. :-)

    PS. It should be quite easy; I believe the i386 code would probably
    work without change, but I am not at home and can't confirm this.

    It is conceivable that the new amd64 registers changed the location of
    th stack pointer in jmpbuf, but I doubt it.

    Try changing md.h, lines 153, 374, 433, 465, and 530 from
    #(el)if defined(__i386__)
    to
    #(el)if defined(__i386__) || defined(__x86_64__)

    Good luck!

    --
    Wesley W. Terpstra


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)