[Mesa-dev] [Bug 98308] llvmpipe crashes with glxgears (LTO related)

2016-10-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98308 --- Comment #14 from Marc Dietrich --- ok, applying only -fanitize=address in src/gallium/drivers/llvmpipe only, also fixes the problem. -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bu

[Mesa-dev] [Bug 98308] llvmpipe crashes with glxgears (LTO related)

2016-10-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98308 --- Comment #13 from Marc Dietrich --- These options fail in src/mapi (fixable by removing them there), but later they generate an internal compiler error, which I can't deal with. I attached my build script. Maybe you can reproduce the bug. --

[Mesa-dev] [Bug 98308] llvmpipe crashes with glxgears (LTO related)

2016-10-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98308 --- Comment #12 from Marc Dietrich --- Created attachment 127454 --> https://bugs.freedesktop.org/attachment.cgi?id=127454&action=edit build script -- You are receiving this mail because: You are the assignee for the bug. You are the QA Conta

[Mesa-dev] [Bug 98308] llvmpipe crashes with glxgears (LTO related)

2016-10-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98308 --- Comment #11 from Maciej Cencora --- I thought so. FWIW I cannot reproduce the crash on gcc 6.2. Could you re-compile mesa with -fsanitize=address and -fsanitize=undefined in C/CXX_FLAGS, and paste the output from glxgears run? -- You are r

[Mesa-dev] [Bug 98308] llvmpipe crashes with glxgears (LTO related)

2016-10-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98308 --- Comment #10 from Marc Dietrich --- this only fixes the (unrelated) warning in comment 5, but not the crash in llvmpipe reported in this bug. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee fo

[Mesa-dev] [Bug 98308] llvmpipe crashes with glxgears (LTO related)

2016-10-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98308 --- Comment #9 from Maciej Cencora --- Created attachment 127452 --> https://bugs.freedesktop.org/attachment.cgi?id=127452&action=edit Proposed patch Try this patch. It silences the warning for me on gcc-6.2, but I don't know if that was actua

[Mesa-dev] [Bug 98308] llvmpipe crashes with glxgears (LTO related)

2016-10-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98308 --- Comment #8 from Roland Scheidegger --- (In reply to Marc Dietrich from comment #7) > The warning in comment 5 seems to be unrelated. Instead, pushing > "-fno-strict-aliasing" down to src/gallium/driver/llvmpipe/Makefile.am also > works. -Wstr

[Mesa-dev] [Bug 98308] llvmpipe crashes with glxgears (LTO related)

2016-10-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98308 --- Comment #7 from Marc Dietrich --- The warning in comment 5 seems to be unrelated. Instead, pushing "-fno-strict-aliasing" down to src/gallium/driver/llvmpipe/Makefile.am also works. -Wstrict-aliasing produces no warnings there. I'll stop now.

[Mesa-dev] [Bug 98308] llvmpipe crashes with glxgears (LTO related)

2016-10-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98308 --- Comment #6 from Roland Scheidegger --- (In reply to Marc Dietrich from comment #4) > bisection shows 88ad8c7de (mesa: Drop -fno-strict-aliasing) is the culprit. > Adding -fno-strict-aliasing back, fixes the problem. Ah yes that makes sense.

[Mesa-dev] [Bug 98308] llvmpipe crashes with glxgears (LTO related)

2016-10-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98308 --- Comment #5 from Marc Dietrich --- just stumbled upon: CXXLDgallium_dri.la ../../src/compiler/nir/nir.h:1993:16: warning: type of 'nir_alu_instr_create' does not match original declaration [-Wlto-type-mismatch] nir/nir.c:445:16: note: '

[Mesa-dev] [Bug 98308] llvmpipe crashes with glxgears (LTO related)

2016-10-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98308 --- Comment #4 from Marc Dietrich --- bisection shows 88ad8c7de (mesa: Drop -fno-strict-aliasing) is the culprit. Adding -fno-strict-aliasing back, fixes the problem. -- You are receiving this mail because: You are the assignee for the bug. You

[Mesa-dev] [Bug 98308] llvmpipe crashes with glxgears (LTO related)

2016-10-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98308 --- Comment #3 from Marc Dietrich --- and I don't know how to deburg this further. Can you reproduce this? Btw. src/mapi still needs to be compiled with -fno-lto when debug and glx-tls is enabled. -- You are receiving this mail because: You are

[Mesa-dev] [Bug 98308] llvmpipe crashes with glxgears (LTO related)

2016-10-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98308 Marc Dietrich changed: What|Removed |Added Summary|llvmpipe crashes with |llvmpipe crashes with

[Mesa-dev] [Bug 98308] llvmpipe crashes with glxgears

2016-10-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98308 --- Comment #2 from Roland Scheidegger --- I'd be interested to know though why it fails, I don't think LTO should cause such failures? Seems like it might be related to the threads created by llvmpipe but I don't really see how. -- You are rec

[Mesa-dev] [Bug 98308] llvmpipe crashes with glxgears

2016-10-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98308 Marc Dietrich changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 98308] llvmpipe crashes with glxgears

2016-10-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98308 Bug ID: 98308 Summary: llvmpipe crashes with glxgears Product: Mesa Version: git Hardware: Other OS: All Status: NEW Severity: normal Priority: