https://bugs.freedesktop.org/show_bug.cgi?id=108135
--- Comment #3 from Thiago Macieira <[email protected]> ---
(In reply to Thiago Macieira from comment #2)
> The patch does solve the problem for the particular file, but there are more
> AVX uses in swrast_dri.so. The next issue is the intialisation of the
> builtin types in src/compiler/glsl_types.cpp, caused by:
I believe that's a red herring. It's caused by our use of -flto in the build,
meaning the use of AVX in one place "spills" to surrounding code that is
otherwise innocent.
Without -flto, the next instruction to crash happens inside
GlobalKnobs::GlobalKnobs(). I see this function (in fact, the entire
gen_knobs.cpp file) present in at least two libraries: libmesaswr and
libswrAVX. That is,
both./src/gallium/drivers/swr/rasterizer/codegen/.libs/libmesaswr_la-gen_knobs.o
and ./src/gallium/drivers/swr/rasterizer/codegen/.libs/libswrAVX_la-gen_knobs.o
exist and contain this function. And BOTH files have AVX instructions. I can
see the -mavx flag in the build.
Was this intended?
--
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev