Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gcc:11 dev-libs/intel-neo-20.44.1829 build fails...[patch]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3625

PostPosted: Wed Jun 23, 2021 9:10 am    Post subject: gcc:11 dev-libs/intel-neo-20.44.1829 build fails...[patch] Reply with quote

Code:
ll /etc/portage/patches/dev-libs/intel-neo-20.44.18297/
total 20
-rw-r--r-- 1 root root 400 mai   30 18:32 intel-neo-20.44.18297-001-gcc-11-limits.patch
-rw-r--r-- 1 root root 338 mai   30 18:33 intel-neo-20.44.18297-002-gcc-11-limits.patch
-rw-r--r-- 1 root root 495 mai   30 18:30 intel-neo-20.44.18297-003-gcc-11-limits.patch
-rw-r--r-- 1 root root 364 mai   30 18:47 intel-neo-20.44.18297-004-gcc-11-limits.patch
-rw-r--r-- 1 root root 348 juin  23 11:50 intel-neo-20.44.18297-005-gcc-11-cstddef.patch
Code:
for i in /etc/portage/patches/dev-libs/intel-neo-20.44.18297/*; do echo "***"; echo $i; echo "***"; cat $i; done
***
/etc/portage/patches/dev-libs/intel-neo-20.44.18297/intel-neo-20.44.18297-001-gcc-11-limits.patch
***
--- compute-runtime-20.44.18297/shared/source/gmm_helper/page_table_mngr_impl.old.cpp   2020-10-27 13:40:29.000000000 +0300
+++ compute-runtime-20.44.18297/shared/source/gmm_helper/page_table_mngr_impl.cpp   2021-05-30 17:57:35.722937648 +0300
@@ -12,6 +12,8 @@
 
 #include "gmm_client_context.h"
 
+#include <limits>
+
 namespace NEO {
 GmmPageTableMngr::~GmmPageTableMngr() {
     if (clientContext) {
***
/etc/portage/patches/dev-libs/intel-neo-20.44.18297/intel-neo-20.44.18297-002-gcc-11-limits.patch
***
--- compute-runtime-20.44.18297/shared/source/gmm_helper/gmm_helper.old.h   2020-10-27 13:40:29.000000000 +0300
+++ compute-runtime-20.44.18297/shared/source/gmm_helper/gmm_helper.h   2021-05-30 18:07:41.973189361 +0300
@@ -12,6 +12,8 @@
 
 #include <memory>
 
+#include <limits>
+
 namespace NEO {
 class GmmClientContext;
 class OsLibrary;
***
/etc/portage/patches/dev-libs/intel-neo-20.44.18297/intel-neo-20.44.18297-003-gcc-11-limits.patch
***
--- compute-runtime-20.44.18297/shared/source/gen8/command_stream_receiver_hw_gen8.old.cpp   2020-10-27 13:40:29.000000000 +0300
+++ compute-runtime-20.44.18297/shared/source/gen8/command_stream_receiver_hw_gen8.cpp   2021-05-30 18:28:43.891257865 +0300
@@ -11,6 +11,8 @@
 #include "shared/source/helpers/blit_commands_helper_bdw_plus.inl"
 #include "shared/source/helpers/populate_factory.h"
 
+#include <limits>
+
 namespace NEO {
 typedef BDWFamily Family;
 static auto gfxCore = IGFX_GEN8_CORE;
***
/etc/portage/patches/dev-libs/intel-neo-20.44.18297/intel-neo-20.44.18297-004-gcc-11-limits.patch
***
--- compute-runtime-20.44.18297/shared/source/helpers/basic_math.old.h   2020-10-27 13:40:29.000000000 +0300
+++ compute-runtime-20.44.18297/shared/source/helpers/basic_math.h   2021-05-30 18:46:30.919390678 +0300
@@ -14,6 +14,8 @@
 #include <cstdlib>
 #include <stdio.h>
 
+#include <limits>
+
 namespace Math {
 
 constexpr uint32_t nextPowerOfTwo(uint32_t value) {
***
/etc/portage/patches/dev-libs/intel-neo-20.44.18297/intel-neo-20.44.18297-005-gcc-11-cstddef.patch
***
--- compute-runtime-20.44.18297/shared/source/helpers/registered_method_dispatcher.old.h   2020-10-27 13:40:29.000000000 +0300
+++ compute-runtime-20.44.18297/shared/source/helpers/registered_method_dispatcher.h   2021-06-23 11:45:19.820921394 +0300
@@ -9,6 +9,7 @@
 
 #include <cstdint>
 #include <functional>
+#include <cstddef>
 
 namespace NEO {
 
Thanks for ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here.
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21631

PostPosted: Wed Jun 23, 2021 5:31 pm    Post subject: Reply with quote

Those patches appear safe to apply unconditionally. Please file a bug (if one does not already exist) to have the ebuild apply these patches automatically.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum