fix build error for ppc64le
This commit is contained in:
parent
896513dc6a
commit
72cb91edca
31
Fix-build-error-for-ppc64le.patch
Normal file
31
Fix-build-error-for-ppc64le.patch
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
From 4d2ed81fcc1f21aa651fb5cc4555ea21cfd3d232 Mon Sep 17 00:00:00 2001
|
||||||
|
From: peng_zou <peng.zou@shingroup.cn>
|
||||||
|
Date: Tue, 25 Jun 2024 10:33:28 +0800
|
||||||
|
Subject: [PATCH] Fix build error for ppc64le
|
||||||
|
|
||||||
|
---
|
||||||
|
Configurations/10-main.conf | 8 ++++++++
|
||||||
|
1 file changed, 8 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf
|
||||||
|
index 915e7dd..27433ce 100644
|
||||||
|
--- a/Configurations/10-main.conf
|
||||||
|
+++ b/Configurations/10-main.conf
|
||||||
|
@@ -734,6 +734,14 @@ my %targets = (
|
||||||
|
asm_arch => 'ppc64',
|
||||||
|
perlasm_scheme => "linux64le",
|
||||||
|
},
|
||||||
|
+ "linux64-ppc64le" => {
|
||||||
|
+ inherit_from => [ "linux-generic64" ],
|
||||||
|
+ cflags => add("-m64"),
|
||||||
|
+ cxxflags => add("-m64"),
|
||||||
|
+ lib_cppflags => add("-DL_ENDIAN"),
|
||||||
|
+ asm_arch => 'ppc64',
|
||||||
|
+ perlasm_scheme => "linux64le",
|
||||||
|
+ },
|
||||||
|
|
||||||
|
"linux-armv4" => {
|
||||||
|
################################################################
|
||||||
|
--
|
||||||
|
2.43.0
|
||||||
|
|
||||||
@ -2,7 +2,7 @@
|
|||||||
Name: openssl
|
Name: openssl
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 3.0.12
|
Version: 3.0.12
|
||||||
Release: 14
|
Release: 15
|
||||||
Summary: Cryptography and SSL/TLS Toolkit
|
Summary: Cryptography and SSL/TLS Toolkit
|
||||||
License: OpenSSL and SSLeay
|
License: OpenSSL and SSLeay
|
||||||
URL: https://www.openssl.org/
|
URL: https://www.openssl.org/
|
||||||
@ -78,6 +78,7 @@ Patch65: backport-params-provide-a-faster-TRIE-based-param-lookup.patch
|
|||||||
|
|
||||||
Patch9000: add-FIPS_mode_set-support.patch
|
Patch9000: add-FIPS_mode_set-support.patch
|
||||||
Patch9001: backport-CVE-2024-9143-Harden-BN_GF2m_poly2arr-against-misuse.patch
|
Patch9001: backport-CVE-2024-9143-Harden-BN_GF2m_poly2arr-against-misuse.patch
|
||||||
|
Patch9002: Fix-build-error-for-ppc64le.patch
|
||||||
|
|
||||||
BuildRequires: gcc gcc-c++ perl make lksctp-tools-devel coreutils util-linux zlib-devel
|
BuildRequires: gcc gcc-c++ perl make lksctp-tools-devel coreutils util-linux zlib-devel
|
||||||
Requires: coreutils %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
Requires: coreutils %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
||||||
@ -133,7 +134,7 @@ sslarch=%{_os}-%{_target_cpu}
|
|||||||
%ifarch i686
|
%ifarch i686
|
||||||
sslarch=linux-elf
|
sslarch=linux-elf
|
||||||
%endif
|
%endif
|
||||||
%ifarch riscv64 loongarch64
|
%ifarch riscv64 loongarch64 ppc64le
|
||||||
sslarch=%{_os}64-%{_target_cpu}
|
sslarch=%{_os}64-%{_target_cpu}
|
||||||
sslflags="--libdir=%{_libdir}"
|
sslflags="--libdir=%{_libdir}"
|
||||||
%endif
|
%endif
|
||||||
@ -278,6 +279,9 @@ make test || :
|
|||||||
%ldconfig_scriptlets libs
|
%ldconfig_scriptlets libs
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 27 2024 peng.zou <peng.zou@shingroup.cn> - 1:3.0.12-15
|
||||||
|
- Fix build error for ppc64le
|
||||||
|
|
||||||
* Tue Nov 26 2024 steven <steven_ygui@163.com> - 1:3.0.12-14
|
* Tue Nov 26 2024 steven <steven_ygui@163.com> - 1:3.0.12-14
|
||||||
- backport patch for performance improvements
|
- backport patch for performance improvements
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user