https://bugs.kde.org/show_bug.cgi?id=462553

            Bug ID: 462553
           Summary: -mpreferred-stack-boundary=2 on 32 bit x86 causes
                    crashes when SSE is also enabled (e.g. used by glibc)
    Classification: Developer tools
           Product: valgrind
           Version: 3.20.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: jsew...@acm.org
          Reporter: alex.kana...@gmail.com
  Target Milestone: ---

Valgrind build itself with -mpreferred-stack-boundary=2 on x86 (32 bit)
targets. On the other hand,  SSE instructions expect things to be aligned on 16
byte boundary (e.g. -mpreferred-stack-boundary=4). This won't be reported at
compile time and results in crashes at runtime, e.g. vgdb simply does not work
at all and crashes out immediately when calling into glibc code which moves
things to and from XMM registers (because it was built with SSE enabled).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to