forked from pool/folly
Compare commits
21 Commits
Author | SHA256 | Date | |
---|---|---|---|
a9728cce8b | |||
acd3263120 | |||
b2941f02a1 | |||
eaed80d190 | |||
d8ac42c317 | |||
2efbea2f79 | |||
aeb89cb53d | |||
64a1edd421 | |||
57f6edb7b7 | |||
0963e7edc7 | |||
c9504d3af7 | |||
00ef25a3e5 | |||
dce85ff999 | |||
cdb2ee0404 | |||
fc09584645 | |||
6b4b00f6e0 | |||
32f495c354 | |||
d4a994db0b | |||
1de6cc77c1 | |||
27884b3bfe | |||
5adaf21895 |
22
arm.diff
Normal file
22
arm.diff
Normal file
@@ -0,0 +1,22 @@
|
||||
From: Jan Engelhardt <jengelh@inai.de>
|
||||
Date: 2023-11-01 16:15:17.230309534 +0100
|
||||
References: https://sourceware.org/bugzilla/show_bug.cgi?id=31021
|
||||
|
||||
---
|
||||
folly/memcpy.S | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
Index: folly-2023.10.30.00/folly/memcpy.S
|
||||
===================================================================
|
||||
--- folly-2023.10.30.00.orig/folly/memcpy.S
|
||||
+++ folly-2023.10.30.00/folly/memcpy.S
|
||||
@@ -288,5 +288,9 @@ __folly_memcpy:
|
||||
|
||||
#endif
|
||||
#ifdef __linux__
|
||||
+#ifdef __arm__
|
||||
+ .section .note.GNU-stack,"",%progbits
|
||||
+#else
|
||||
.section .note.GNU-stack,"",@progbits
|
||||
#endif
|
||||
+#endif
|
@@ -1,36 +0,0 @@
|
||||
From: Matthias Gerstner <matthias.gerstner@suse.com>
|
||||
Date: Mon Jan 31 08:53:38 UTC 2022
|
||||
|
||||
Add unconditional section markers to assembler units to avoid the library
|
||||
getting an executable stack.
|
||||
|
||||
Index: folly-2022.01.24.00/folly/memset.S
|
||||
===================================================================
|
||||
--- folly-2022.01.24.00.orig/folly/memset.S
|
||||
+++ folly-2022.01.24.00/folly/memset.S
|
||||
@@ -18,6 +18,10 @@
|
||||
|
||||
#define LABEL(x) .L##x
|
||||
|
||||
+#if defined(__linux__) && defined(__ELF__)
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
+#endif
|
||||
+
|
||||
.text
|
||||
.p2align 5, 0x90
|
||||
.global __folly_memset
|
||||
Index: folly-2022.01.24.00/folly/memcpy.S
|
||||
===================================================================
|
||||
--- folly-2022.01.24.00.orig/folly/memcpy.S
|
||||
+++ folly-2022.01.24.00/folly/memcpy.S
|
||||
@@ -70,6 +70,10 @@
|
||||
* @author Logan Evans <lpe@fb.com>
|
||||
*/
|
||||
|
||||
+#if defined(__linux__) && defined(__ELF__)
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
+#endif
|
||||
+
|
||||
#if defined(__AVX2__)
|
||||
|
||||
// This threshold is half of L1 cache on a Skylake machine, which means that
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d83e364dd210d04afc345f6def27f22efed2ed4bad32e94dd8b3af51e45654b0
|
||||
size 3550981
|
3
folly-v2023.11.20.00.tar.gz
Normal file
3
folly-v2023.11.20.00.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5e8730c52857d44ddbf46a819f588e036d5e6b3f5dcc7129d7bd81c372430d35
|
||||
size 3939410
|
@@ -1,3 +1,67 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 25 19:18:35 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2023.11.20.00:
|
||||
* Automated release from TagIt
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 1 13:28:43 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2023.10.30
|
||||
* No changelog was provided
|
||||
- Add arm.diff to unbreak ARMv7 build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 5 08:10:39 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2023.05.01
|
||||
* Add support for per-write dynamic Cmsgs
|
||||
* Support dwarf5 version of split dwarf
|
||||
* Add Blake3 support
|
||||
- Disable static gtest and static zstd to unfail build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 28 20:14:56 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2023.02.27:
|
||||
* no changelog available
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 2 08:16:19 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2022.12.26:
|
||||
* no changelog available
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 18 18:48:05 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2022.12.12:
|
||||
* no changelog available
|
||||
- drop 0001-Fix-iouring-under-32-bit-linux.patch (upstream)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 27 07:30:14 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to 2022.08.29
|
||||
* No chngelog provided
|
||||
- Delete fix-asm-execstack.patch (merged)
|
||||
- Add 0001-Fix-iouring-under-32-bit-linux.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 7 00:12:44 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Cure rpmlint "E: executable-stack (Badness: 10000)" by
|
||||
reworking fix-asm-execstack.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 24 00:19:35 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2022.05.23
|
||||
* No changelog provided
|
||||
- Change fix-asm-execstack.patch to use @progbits, not %progbits.
|
||||
- Edit fix-asm-execstack.patch and remove hunk for memcpy.S,
|
||||
because memcpy.S already has had a @progbits line.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 15 15:09:53 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
21
folly.spec
21
folly.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package folly
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,22 +16,23 @@
|
||||
#
|
||||
|
||||
|
||||
%define lname libfolly-v2022_01_24_00
|
||||
%define _lto_cflags %nil
|
||||
%define lname libfolly-v2023_10_30_00
|
||||
Name: folly
|
||||
Version: 2022.01.24.00
|
||||
Version: 2023.11.20.00
|
||||
Release: 0
|
||||
Summary: A C++ utility library
|
||||
License: MIT
|
||||
URL: https://github.com/facebook/folly
|
||||
Source: https://github.com/facebook/folly/releases/download/v%version/folly-v%version.tar.gz
|
||||
Patch1: fix-asm-execstack.patch
|
||||
Patch1: arm.diff
|
||||
BuildRequires: binutils-devel
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: cmake
|
||||
BuildRequires: double-conversion-devel
|
||||
BuildRequires: fmt-devel
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gflags-devel-static
|
||||
BuildRequires: gflags-devel
|
||||
BuildRequires: glog-devel
|
||||
BuildRequires: libaio-devel
|
||||
BuildRequires: libboost_context-devel
|
||||
@@ -49,17 +50,18 @@ BuildRequires: libdwarf-devel-static >= 20170103
|
||||
%endif
|
||||
BuildRequires: libevent-devel
|
||||
BuildRequires: liblz4-devel
|
||||
BuildRequires: xz-devel
|
||||
BuildRequires: libsodium-devel
|
||||
BuildRequires: libunwind-devel
|
||||
BuildRequires: liburing-devel
|
||||
BuildRequires: libzstd-devel
|
||||
BuildRequires: libzstd-devel-static
|
||||
BuildRequires: lzlib-devel
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: snappy-devel
|
||||
BuildRequires: xz-devel
|
||||
BuildRequires: zlib-devel-static
|
||||
# BE arches
|
||||
ExcludeArch: %mips ppc64 s390 s390x %sparc
|
||||
|
||||
%description
|
||||
Folly is a C++ utility library developed at Facebook.
|
||||
@@ -87,8 +89,9 @@ Development files library for folly, a C++ utility library.
|
||||
# Since its introduction for ABI purposes, PACKAGE_VERSION was never
|
||||
# again modified *sigh*
|
||||
#
|
||||
%cmake -DCMAKE_CXX_FLAGS="%optflags -ffat-lto-objects" \
|
||||
-DBUILD_SHARED_LIBS:BOOL=ON -DPACKAGE_VERSION="v%version"
|
||||
%cmake -DCMAKE_CXX_FLAGS="%optflags -ffat-lto-objects -fPIC" \
|
||||
-DBUILD_SHARED_LIBS:BOOL=ON -DPACKAGE_VERSION="v%version" \
|
||||
-DCMAKE_LIBRARY_ARCHITECTURE="%_target_cpu"
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
|
Reference in New Issue
Block a user