[Mesa-dev] [Bug 109259] Mesa compiled with LLVM/clang-7.0 segfaults

2019-09-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109259

GitLab Migration User  changed:

   What|Removed |Added

 Resolution|--- |MOVED
 Status|NEW |RESOLVED

--- Comment #4 from GitLab Migration User  ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1035.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [Bug 109259] Mesa compiled with LLVM/clang-7.0 segfaults

2019-01-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109259

--- Comment #3 from Dylan Baker  ---
I'm confused, you're targeting generic x86_64, but compiling with -mavx and
-mavx2?

Additionally, there's a bug with SWR (I can't find it right now), due to global
constructors that mean that if you build SWR you have to have the special
instructions it relies on.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 109259] Mesa compiled with LLVM/clang-7.0 segfaults

2019-01-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109259

--- Comment #2 from Tomasz Paweł Gajc  ---
When building mesa with clang these flags are used
-pthread -mavx2 -mfma -mbmi2 -mf16c -DKNOB_ARCH=KNOB_ARCH_AVX2 
 with gcc
[-pthread -mavx -DKNOB_ARCH=KNOB_ARCH_AVX

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 109259] Mesa compiled with LLVM/clang-7.0 segfaults

2019-01-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109259

--- Comment #1 from Tomasz Paweł Gajc  ---
Build logs for mesa compiled with LLVM/clang-7.0.1 can be found here
https://abf.openmandriva.org/build_lists/351189

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 109259] Mesa compiled with LLVM/clang-7.0 segfaults

2019-01-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109259

Bug ID: 109259
   Summary: Mesa compiled with LLVM/clang-7.0 segfaults
   Product: Mesa
   Version: 18.3
  Hardware: Other
OS: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: Mesa core
  Assignee: mesa-dev@lists.freedesktop.org
  Reporter: tpg...@gmail.com
QA Contact: mesa-dev@lists.freedesktop.org

Hi,

we have noticed that mesa-18.3.x segfault when it is compiled with
LLVM/clang-7.0.x and run on older hardware.

After some deep digging we noticed this may be related to missing AVX
instructions on these machines, even if we build for generic x86_64, i686
targets.

Fast workaround for eliminating segfaults was to build Mesa with gcc :(
https://github.com/OpenMandrivaAssociation/mesa/commit/4d330587a4d80012c5888e1a33a01a7a979b84e8

Rebuilding Mesa with LLVM/clang-7.0.1 still segfaults. 

Our users have reported this occurs on:
r600 driver
nvidia gfx card
AMD Athlon II X4 620
AMD Phenom II x4 N930
Intel Quad 9650
Intel i3 530

Links to bug reports:
https://issues.openmandriva.org/show_bug.cgi?id=2381
https://issues.openmandriva.org/show_bug.cgi?id=2393

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev