This patch fixes pass variables of double type via stack. E.g. when
calling
functions like printf(3). Actual only for AMD64.
st_thread_create() do the stack aligned, but after entering the thread
SP is 8-bytes aligned, but should 16-bytes at least.
Segmentation fault occurs inside function preamble on MOVAPS call.
This patch made for state-threads 1.4, but also applies to 1.8
without fuzz.
Futher testing shows perfect running on Linux/AMD64 and version of 1.8
also.
Mike Abbott
None
None
Public
|
Date: 2009-10-02 06:57 st-1.4-amd64-stack-align-freebsd-linux.patch limits the fix for the only |
|
Date: 2009-10-02 06:53 Unfortunately i know nothing about Darwin. I would like to limit the patch |
|
Date: 2009-10-02 00:21 Thank you for your patch. Indeed, the AMD64 ABI requires (%rsp - 8) to be |
| Filename | Description | Download |
|---|---|---|
| st-1.4-amd64-stack-align.patch | patch for 1.4 & 1.8 | Download |
| st-1.4-amd64-stack-align-freebsd-linux.patch | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| File Added | 345041: st-1.4-amd64-stack-align-freebsd-linux.patch | 2009-10-02 06:53 | mclap |
| assigned_to | nobody | 2009-10-02 00:21 | mabbott |
| summary | [amd64] segmentation fault on floating point | 2009-08-31 10:58 | mclap |
| File Added | 341190: st-1.4-amd64-stack-align.patch | 2009-08-31 10:58 | mclap |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use