!345 fix build error for ppc64le
From: @peng_zou Reviewed-by: @zcfsite Signed-off-by: @zcfsite
This commit is contained in:
commit
653e633653
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: 7
|
Release: 8
|
||||||
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/
|
||||||
@ -46,6 +46,7 @@ Patch34: Backport-CVE-2024-4741-Extend-the-SSL_free_buffers-testing.patch
|
|||||||
Patch35: Backport-CVE-2024-4741-Move-the-ability-to-load-the-dasync-engine-into-sslt.patch
|
Patch35: Backport-CVE-2024-4741-Move-the-ability-to-load-the-dasync-engine-into-sslt.patch
|
||||||
Patch36: Backport-CVE-2024-4741-Further-extend-the-SSL_free_buffers-testing.patch
|
Patch36: Backport-CVE-2024-4741-Further-extend-the-SSL_free_buffers-testing.patch
|
||||||
Patch37: Backport-bn-Properly-error-out-if-aliasing-return-value-with-.patch
|
Patch37: Backport-bn-Properly-error-out-if-aliasing-return-value-with-.patch
|
||||||
|
Patch38: 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}
|
||||||
@ -101,7 +102,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
|
||||||
@ -246,6 +247,9 @@ make test || :
|
|||||||
%ldconfig_scriptlets libs
|
%ldconfig_scriptlets libs
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 25 2024 peng.zou <peng.zou@shingroup.cn> - 1:3.0.12-8
|
||||||
|
- Fix build error for ppc64le
|
||||||
|
|
||||||
* Mon Jun 24 2024 steven <steven_ygui@163.com> - 1:3.0.12-7
|
* Mon Jun 24 2024 steven <steven_ygui@163.com> - 1:3.0.12-7
|
||||||
- backport patch
|
- backport patch
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user