On 5/18/21 12:20 AM, Khem Raj wrote:


On 5/17/21 10:01 AM, Jacob Kroon wrote:
In gcc 11 the default mode for C++ is now -std=gnu++17 instead of -std=gnu++14,
in which support for dynamic exception specifications has been removed.

See http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0003r5.html

Signed-off-by: Jacob Kroon <jacob.kr...@gmail.com>
---
  .../no-dynamic-exception-specifications.patch | 420 ++++++++++++++++++
  .../mklibs/mklibs-native_0.1.44.bb            |   1 +
  2 files changed, 421 insertions(+)
  create mode 100644 meta/recipes-devtools/mklibs/files/no-dynamic-exception-specifications.patch

diff --git a/meta/recipes-devtools/mklibs/files/no-dynamic-exception-specifications.patch b/meta/recipes-devtools/mklibs/files/no-dynamic-exception-specifications.patch
new file mode 100644
index 0000000000..5989a67c4f
--- /dev/null
+++ b/meta/recipes-devtools/mklibs/files/no-dynamic-exception-specifications.patch
@@ -0,0 +1,420 @@
+In gcc 11 the default mode for C++ is now -std=gnu++17 instead of -std=gnu++14,
+in which support for dynamic exception specifications has been removed.
+
+See http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0003r5.html
+
+Upstream-Status: Pending
+

the patch could be submitted upstream. Please try to do so


I tried to find a mailing list or maintainer I could post the patch to, but I'm not able to. Does anyone know who I should contact ?

Given that it sounds more likely that we'll remove mklibs, I'll try to forward the patch to the project, but not promising anything.

/Jacob
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#152022): 
https://lists.openembedded.org/g/openembedded-core/message/152022
Mute This Topic: https://lists.openembedded.org/mt/82891868/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to