[Bug 93425] d3dadapter.so (gallium-nine) segfaults since Mesa 11.0/LLVM 3.7

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Dec 20 01:07:38 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=93425

--- Comment #8 from Christoph Haag <haagch at frickel.club> ---
Created attachment 120603
  --> https://bugs.freedesktop.org/attachment.cgi?id=120603&action=edit
disassembled release build with -mstackrealign

Here is my release build with -mstackrealign that works:

http://haagch.frickel.club/files/lib32-llvm-libs-svn-256101-1-x86_64.pkg.tar.gz
http://haagch.frickel.club/files/lib32-llvm-svn-256101-1-x86_64.pkg.tar.gz

They are compiled with -march=native for my ivy bridge cpu, so maybe that has
some influence.

Disassembling the same function shows different offsets for movaps:

   0x0047a805 <+69>:    movaps %xmm0,-0x48(%ebp)

   0x0047a815 <+85>:    movaps %xmm0,-0x38(%ebp)

You can check with

gdb -q /usr/lib32/libLLVM-3.8svn.so -ex "disassemble
LLVMAddTargetDependentFunctionAttr"

Probably:
movaps %xmm0,-0x48(%ebp) is right
movaps %xmm0,-0x40(%ebp) is wrong

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151220/37dc28a7/attachment.html>


More information about the dri-devel mailing list