Skip to content

Use of SSE vectors on linux requires stack realignment #1323

@llvmbot

Description

@llvmbot
Bugzilla Link 951
Resolution FIXED
Resolved on Apr 23, 2008 15:58
Version trunk
OS Linux
Blocks llvm/llvm-bugzilla-archive#1438
Reporter LLVM Bugzilla Contributor
CC @asl,@nlewycky

Extended Description

Two of the SSE tests fail on Linux with a SEGV. The output is this:

/proj/llvm/llvm/projects/llvm-test/RunSafely.sh 500 /dev/null
Output/sse.stepfft.out-llc Output/sse.stepfft.llc
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
Core was generated by `Output/sse.stepfft.llc'.
Program terminated with signal 11, Segmentation fault.

warning: svr4_current_sos: Can't read pathname for load map: Input/output error

(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
#​0 0x0804871e in .BB1_13 ()
#​0 0x0804871e in .BB1_13 ()
#​1 0x00000000 in ?? ()

Nearly identical results (the stack dump is different) occur for JIT. The JIT
test also produces this:
Previous frame inner to this frame (corrupt stack?)

Possibly the stack is getting corrupted?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions