https://bugs.freedesktop.org/show_bug.cgi?id=95026
Nicolai H�hnle changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://bugs.freedesktop.org/show_bug.cgi?id=95026
--- Comment #14 from Christoph Haag ---
(In reply to Nicolai H�hnle from comment #13)
> Created attachment 123256 [details] [review]
> Separate non-recursive part out of visit(ir_expression) to reduce stack
> explosion
>
> Hi Christoph, could
https://bugs.freedesktop.org/show_bug.cgi?id=95026
--- Comment #13 from Nicolai H�hnle ---
Created attachment 123256
--> https://bugs.freedesktop.org/attachment.cgi?id=123256&action=edit
Separate non-recursive part out of visit(ir_expression) to reduce stack
explosion
Hi Christoph, could you
https://bugs.freedesktop.org/show_bug.cgi?id=95026
--- Comment #12 from Christoph Haag ---
Yes, you are right. With CFLAGS and CXXFLAGS="-O2 -fno-inline-small-functions"
it does not crash.
Seems like the answers on stackoverflow apply here too and it's the inlined
functions that use up all the a
https://bugs.freedesktop.org/show_bug.cgi?id=95026
--- Comment #11 from Michel D�nzer ---
Reminds me of bug 92850, which has some instructions for further narrowing down
which gcc optimization triggers the problem. Maybe -fno-inline-small-functions
even works around this one as well?
--
You a
https://bugs.freedesktop.org/show_bug.cgi?id=95026
--- Comment #10 from Christoph Haag ---
As I said, gcc 5.3 on archlinux.
(gdb) i registers
rax0x7fffe979cb50 140737110461264
rbx0x7fff3ea10aa0 140734244129440
rcx0x7fffe986cac0 140737111313088
rdx
https://bugs.freedesktop.org/show_bug.cgi?id=95026
--- Comment #9 from Ilia Mirkin ---
(In reply to Christoph Haag from comment #8)
> Looks like it's the only one:
Indeed it is.
> I'm not exactly an expert at debugging C, but it's kinda weird that it's
> segfaulting on the opening brace of
>
>
https://bugs.freedesktop.org/show_bug.cgi?id=95026
--- Comment #8 from Christoph Haag ---
Looks like it's the only one:
Thread 32 "WinMain" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffc84b1700 (LWP 11301)]
0x7fffe979cb77 in glsl_to_tgsi_visitor::visit (this=0x7fff3
https://bugs.freedesktop.org/show_bug.cgi?id=95026
--- Comment #7 from Ilia Mirkin ---
(In reply to Christoph Haag from comment #5)
> Created attachment 123072 [details]
> MESA_GLSL=dump with --enable-debug
>
> With CFLAGS and CXXFLAGS not set and --enable-debug, mesa is using this:
> CFLAGS:
https://bugs.freedesktop.org/show_bug.cgi?id=95026
--- Comment #6 from Christoph Haag ---
So I went ahead and tested my theory by setting CFLAGS and CXXFLAGS to "-O2"
and then to "-O1".
First:
CFLAGS: -O2 -Wall -std=c99 -Werror=implicit-function-declaration
-Werror=missing-prototypes -f
https://bugs.freedesktop.org/show_bug.cgi?id=95026
Christoph Haag changed:
What|Removed |Added
Attachment #123071|0 |1
is obsolete|
https://bugs.freedesktop.org/show_bug.cgi?id=95026
--- Comment #4 from Ilia Mirkin ---
(In reply to Christoph Haag from comment #3)
> Created attachment 123071 [details]
> MESA_GLSL=dump
>
> I'll be damned. Now I compiled with CFLAGS="" CXXFLAGS="" and configure said
> it's this:
>
> CFLAGS:
https://bugs.freedesktop.org/show_bug.cgi?id=95026
--- Comment #3 from Christoph Haag ---
Created attachment 123071
--> https://bugs.freedesktop.org/attachment.cgi?id=123071&action=edit
MESA_GLSL=dump
I'll be damned. Now I compiled with CFLAGS="" CXXFLAGS="" and configure said
it's this:
CFLA
https://bugs.freedesktop.org/show_bug.cgi?id=95026
--- Comment #2 from Ilia Mirkin ---
(In reply to Christoph Haag from comment #1)
> Thread 34 "WinMain" received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x7fffc8553700 (LWP 2682)]
> 0x7fffe985e557 in glsl_to_tgsi_visitor::vi
https://bugs.freedesktop.org/show_bug.cgi?id=95026
--- Comment #1 from Christoph Haag ---
Aww I got it wrong. When CFLAGS is not set, mesa is compiled with this:
CFLAGS: -g -O2 -Wall -std=c99 -Werror=implicit-function-declaration
-Werror=missing-prototypes -fno-strict-aliasing -fno-math-
https://bugs.freedesktop.org/show_bug.cgi?id=95026
Bug ID: 95026
Summary: Alien Isolation segfault after initial loading
screen/video
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NE
16 matches
Mail list logo