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

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


  • To: "minios-devel@xxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxx>
  • From: Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Date: Thu, 20 Feb 2020 09:58:28 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=stud.acs.upb.ro; dmarc=pass action=none header.from=stud.acs.upb.ro; dkim=pass header.d=stud.acs.upb.ro; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zHwdnrEdfuoFiey0mUDBCWZgWN4/j16qQ3ctaDYPLPE=; b=LjYd3EaACbY/Q32sBtdFMrWgWyPo5ZQRAMH+9pzh9IIXx70j7Hvsoei5lipthdw/TxOJgmvY8vJYDQNM0vx24G/Gzte0mmsY6vPRx6npQVMuhfz3oxkDMfm6MEmJ7+Zw0Cf+vxEQBWt5NDfGSonCQ6lgy9eK24lT0W6Gm5yBLaevp7LVPBQOyKsNeREa+sbECmmOCkHa1Q9MoWlMFbEM93JjbGiiy0ycagjshZnYSSio8PQRAij9shWHeFh2YCzVHgQIG/vscruawwwuQSZ1PQeeYFtWC0FHWNdgZKzReyXW5Sa5XJvA3Axrw8090NzvTsgtL3RSTho5w8XC/oHV0g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fa8H+EiH3MyqQaU2VHyyneblk8M6KyTrEyhfYbhJP9T5ADPMl0Xe5/LU2wlwmdj5uFol60GtOoL6Nai4yrQC7s7wFcTDBiG3Zp0PUm/6L2Mu8s6uocIPmtfiOW/yG1FKjHJmGsyAHJP/xxMx9Lsb0J/A21mPeRAL6Nlcz0k+LUSzO3nZzb7zX4ZpC83DfOLrVWkooBoZ5okHS0u9T5MxyEYglqZMrOI6Zl7FBOuauVeS81DJamDM/JDOwKE2sEBsAynhmr17N1gupaT4lL/HbSsGFMwLCOD03nJaPtGXq/VCu7EluNf5F4x9NoZy9CixCAhZs6ywb1Lbzilwm9K/2Q==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=vlad_andrei.badoiu@xxxxxxxxxxxxxxx;
  • Cc: "felipe.huici@xxxxxxxxx" <felipe.huici@xxxxxxxxx>, "simon.kuenzer@xxxxxxxxx" <simon.kuenzer@xxxxxxxxx>, Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 20 Feb 2020 09:58:34 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Thread-index: AQHV59RNCqTsD9QRZ0G/dQzObEANFQ==
  • Thread-topic: [UNIKRAFT/RUBY PATCH 1/1] Fix crash caused by the Optimize for Performance config option

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
 
################################################################################
-- 
2.20.1

_______________________________________________
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®.