diff options
Diffstat (limited to 'app-arch/xz-utils/files/xz-utils-5.6.0-ifunc-crc-workaround.patch')
-rw-r--r-- | app-arch/xz-utils/files/xz-utils-5.6.0-ifunc-crc-workaround.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/app-arch/xz-utils/files/xz-utils-5.6.0-ifunc-crc-workaround.patch b/app-arch/xz-utils/files/xz-utils-5.6.0-ifunc-crc-workaround.patch deleted file mode 100644 index e793aac56a78..000000000000 --- a/app-arch/xz-utils/files/xz-utils-5.6.0-ifunc-crc-workaround.patch +++ /dev/null @@ -1,27 +0,0 @@ -https://bugs.gentoo.org/925415 -https://gcc.gnu.org/PR114115 - -Workaround a build failure with USE=pgo by disabling instrumentation of the -crc{32,64} IFUNC resolvers. ---- a/src/liblzma/check/crc32_fast.c -+++ b/src/liblzma/check/crc32_fast.c -@@ -135,7 +135,7 @@ typedef uint32_t (*crc32_func_type)( - // This resolver is shared between all three dispatch methods. It serves as - // the ifunc resolver if ifunc is supported, otherwise it is called as a - // regular function by the constructor or first call resolution methods. --static crc32_func_type -+static __attribute__((no_profile_instrument_function)) crc32_func_type - crc32_resolve(void) - { - return is_arch_extension_supported() ---- a/src/liblzma/check/crc64_fast.c -+++ b/src/liblzma/check/crc64_fast.c -@@ -98,7 +98,7 @@ typedef uint64_t (*crc64_func_type)( - # pragma GCC diagnostic ignored "-Wunused-function" - #endif - --static crc64_func_type -+static __attribute__((no_profile_instrument_function)) crc64_func_type - crc64_resolve(void) - { - return is_arch_extension_supported() |