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

[Minios-devel] [UNIKRAFT/PYBIND11 PATCH 3/3] Add patches directory


  • To: "minios-devel@xxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxx>
  • From: Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Date: Fri, 6 Mar 2020 13:08:53 +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=pkybQf4D2tVjMOSDYVk2d7QuQghuIr77rnXSSFKbLgU=; b=E2inuweVTVkc1YoG2TwIdeWJSkXDAEhTYKoctnzfEoTXCqpqrHxaeL335Sp+ZT0LE5tV4wU8/RQjV/DTaZ1JsIJUVc+dJT5gPhu3GWhZAxTzhjMao43ju+DbtWJVP1MCBw7AGKVpnQ9PwIGGbvJbQZRa6N/JhurOcsNraR701kR555AS9IpUoyu1HMslAwahw/he56+GbfmsQ8VmdzNyiiwqSTpE4ZRmCe9kNxxm34FDXfhNactGxSDsHLrBhNbwdh/LYIY0gR4g3+RqvBabK6TS3rHISgK/B0BfhXQCEwDFM4W5xQyqv9PmPHzQPigTeCULzTKP3UZ4vmG30HRZjQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MPbi2mmY58Y9rywQs8irQeue0prn0EafQYVsuz6j6nonPzjsH9NxIbFqOaCo07ShOEd6dI5mIrcn0QkmgMHv+oFfNDSNF/RlYuInXHB0wYI8zd0ytQtTVyhY8piHnrASEu8zah6wJVevJZlRHw2tjkL6LOVC06mkYuVHWaurh2ieP7GVsMbe2WuoUXq19PuR0uQnI2i+99yJlvOnxFw4nGKOwHfuXEeIOlDiNGKtnOQgxicZabzR/HO6pz5+prvwpGibnlsk072BF5l1JhLA/x+U4NQhLnTYWsar0VF8kCw1Pxfec0GircihPH2fq58uvNRZn2J8+sX14bjDoOLuog==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=vlad_andrei.badoiu@xxxxxxxxxxxxxxx;
  • Cc: "felipe.huici@xxxxxxxxx" <felipe.huici@xxxxxxxxx>, Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 06 Mar 2020 13:09:10 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Thread-index: AQHV87hi1ruM7QZfNUqALNMlotLbog==
  • Thread-topic: [UNIKRAFT/PYBIND11 PATCH 3/3] Add patches directory

We add a patch to remove abi::__force_unwind until we have it available
in libcxxabi.

Signed-off-by: Vlad-Andrei BĂDOIU <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
---
 ...emove-abi-__forced_unwind-references.patch | 35 +++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 patches/0001-Remove-abi-__forced_unwind-references.patch

diff --git a/patches/0001-Remove-abi-__forced_unwind-references.patch 
b/patches/0001-Remove-abi-__forced_unwind-references.patch
new file mode 100644
index 0000000..833f7a3
--- /dev/null
+++ b/patches/0001-Remove-abi-__forced_unwind-references.patch
@@ -0,0 +1,35 @@
+From f5d2514f82d61b98245ed038e5e806eebc006c67 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Vlad-Andrei=20B=C4=82DOIU?=
+ <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
+Date: Thu, 5 Mar 2020 16:30:27 +0200
+Subject: [PATCH 1/1] Remove abi::__forced_unwind references
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+We currently do not support abi::__force_unwind. We
+remove the only reference to it from pybind.
+
+Signed-off-by: Vlad-Andrei BĂDOIU <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
+---
+ include/pybind11/pybind11.h | 4 ----
+ 1 file changed, 4 deletions(-)
+
+diff --git a/include/pybind11/pybind11.h b/include/pybind11/pybind11.h
+index c623705..65da897 100644
+--- a/include/pybind11/pybind11.h
++++ b/include/pybind11/pybind11.h
+@@ -667,10 +667,6 @@ protected:
+         } catch (error_already_set &e) {
+             e.restore();
+             return nullptr;
+-#if defined(__GNUG__) && !defined(__clang__)
+-        } catch ( abi::__forced_unwind& ) {
+-            throw;
+-#endif
+         } catch (...) {
+             /* When an exception is caught, give each registered exception
+                translator a chance to translate it to a Python exception
+-- 
+2.20.1
+
-- 
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®.