On Tuesday, September 4, 2018 5:22:31 AM PDT Lionel Landwerlin wrote: > On 04/09/2018 11:46, Sergii Romantsov wrote: > > Seems in case of 32-bit library, usage of msse2 makes > > some stack corruption or incorrect instructions. > > Usage with mstackrealign fixes that case. > > > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107779 > > Signed-off-by: Sergii Romantsov <[email protected]> > > --- > > src/mesa/drivers/dri/i965/Makefile.am | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/src/mesa/drivers/dri/i965/Makefile.am > > b/src/mesa/drivers/dri/i965/Makefile.am > > index 889d4c6..0afa7a2 100644 > > --- a/src/mesa/drivers/dri/i965/Makefile.am > > +++ b/src/mesa/drivers/dri/i965/Makefile.am > > @@ -44,7 +44,7 @@ AM_CFLAGS = \ > > $(WNO_OVERRIDE_INIT) \ > > $(LIBDRM_CFLAGS) \ > > $(VALGRIND_CFLAGS) \ > > - -msse2 > > + -msse2 -mstackrealign > > > > AM_CXXFLAGS = $(AM_CFLAGS) > > > > Hey Sergii, > > Thanks a lot for looking into this issue. > I think you might need to update the other build systems (Android.mk/meson). > > The toplevel meson/makefile have a -mstackrealign that seem to make the > description of the issue you're fixing. > Maybe that's where this change should go. > > Thanks, > > - > Lionel > >
This may also fix: https://bugs.freedesktop.org/show_bug.cgi?id=98584
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
