[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] [UNIKRAFT/RUBY PATCH 1/1] Fix crash caused by the Optimize for Performance config option



Thanks a lot!

Reviewed-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx>

On 20.02.20 10:58, Vlad-Andrei BĂDOIU (78692) wrote:
We disable the gcse, gnu-unique, and move-loop-invariants
flags enabled by O2.

Signed-off-by: Vlad-Andrei BĂDOIU <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
---
  Makefile.uk | 7 +++++++
  1 file changed, 7 insertions(+)

diff --git a/Makefile.uk b/Makefile.uk
index 6d706b3..87045f6 100644
--- a/Makefile.uk
+++ b/Makefile.uk
@@ -74,6 +74,13 @@ LIBRUBY_SUPRESS_CXXFLAGS-y += $(LIBRUBY_SUPPRESS_FLAGS-y)
  LIBRUBY_CFLAGS-y           += $(LIBRUBY_SUPRESS_CFLAGS-y)
  LIBRUBY_CXXFLAGS-y         += $(LIBRUBY_SUPRESS_CXXFLAGS-y)
+CFLAGS-$(CONFIG_LIBRUBY) += -fno-gcse -fno-gnu-unique \
+                  -fno-move-loop-invariants
+CXXFLAGS-$(CONFIG_LIBRUBY) += -fno-gcse -fno-gnu-unique \
+                  -fno-move-loop-invariants
+GOFLAGS-$(CONFIG_LIBRUBY)  += -fno-gcse -fno-gnu-unique \
+                  -fno-move-loop-invariants
+
  
################################################################################
  # Helpers
  
################################################################################


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.