From 71d73817c40e4df33001ff09ab45d18ea93c17de Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 10 Feb 2017 18:30:36 +0000 Subject: [PATCH 1/6] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- libcxx.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libcxx.spec b/libcxx.spec index c8e3c8f..55bb290 100644 --- a/libcxx.spec +++ b/libcxx.spec @@ -4,7 +4,7 @@ Name: libcxx Version: 3.8.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: C++ standard library targeting C++11 License: MIT or NCSA URL: http://libcxx.llvm.org/ @@ -91,6 +91,9 @@ make install DESTDIR=%{buildroot} %{_libdir}/libc++.so %changelog +* Fri Feb 10 2017 Fedora Release Engineering - 3.8.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Fri Aug 26 2016 Tom Callaway - 3.8.1-1 - update to 3.8.1 From f190f97dbcec824ca59f1bfbf421b794a851dd07 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Mon, 20 Feb 2017 14:52:01 -0500 Subject: [PATCH 2/6] 3.9.0 --- .gitignore | 1 + libcxx.spec | 8 ++++++-- sources | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index d84f93a..ba886c8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /libcxx-3.8.0.src.tar.xz /libcxx-3.8.1.src.tar.xz +/libcxx-3.9.0.src.tar.xz diff --git a/libcxx.spec b/libcxx.spec index 55bb290..19d1880 100644 --- a/libcxx.spec +++ b/libcxx.spec @@ -3,8 +3,8 @@ %global bootstrap 1 Name: libcxx -Version: 3.8.1 -Release: 2%{?dist} +Version: 3.9.0 +Release: 1%{?dist} Summary: C++ standard library targeting C++11 License: MIT or NCSA URL: http://libcxx.llvm.org/ @@ -45,6 +45,7 @@ cd _build # workaround until we change the defaults for Fedora %global optflags %(echo %{optflags} | sed 's/-march=z9-109 /-march=z10 /') %endif +export LDFLAGS="-Wl,--build-id" # Clang in older releases than f24 can't build this code without crashing. # So, we use gcc there. But the really old version in RHEL 6 works. Huh. %cmake .. \ @@ -91,6 +92,9 @@ make install DESTDIR=%{buildroot} %{_libdir}/libc++.so %changelog +* Mon Feb 20 2017 Tom Callaway - 3.9.0-1 +- update to 3.9.0 (match clang) + * Fri Feb 10 2017 Fedora Release Engineering - 3.8.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index 75dca73..5887e86 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1bc60150302ff76a0d79d6f9db22332e libcxx-3.8.1.src.tar.xz +SHA512 (libcxx-3.9.0.src.tar.xz) = 55d5c4adff378ee02b0b99d732bc9f326910f9e49ab8c320a588eccdd0362fe009bc9a6a4337d29faf6338420c91b10d0d7d67f66128268f01258d30502c4f4a From f0aa13e549b8840beeae5d4c9040000940f9c48a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Tue, 21 Feb 2017 20:08:41 +0100 Subject: [PATCH 3/6] - apply s390(x) workaround only in Fedora < 26 --- libcxx.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libcxx.spec b/libcxx.spec index 19d1880..7852bca 100644 --- a/libcxx.spec +++ b/libcxx.spec @@ -4,7 +4,7 @@ Name: libcxx Version: 3.9.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: C++ standard library targeting C++11 License: MIT or NCSA URL: http://libcxx.llvm.org/ @@ -41,10 +41,12 @@ Requires: libcxxabi-devel mkdir _build cd _build %ifarch s390 s390x +%if 0%{?fedora} < 26 # clang requires z10 at minimum # workaround until we change the defaults for Fedora %global optflags %(echo %{optflags} | sed 's/-march=z9-109 /-march=z10 /') %endif +%endif export LDFLAGS="-Wl,--build-id" # Clang in older releases than f24 can't build this code without crashing. # So, we use gcc there. But the really old version in RHEL 6 works. Huh. @@ -92,6 +94,9 @@ make install DESTDIR=%{buildroot} %{_libdir}/libc++.so %changelog +* Tue Feb 21 2017 Dan Horák - 3.9.0-2 +- apply s390(x) workaround only in Fedora < 26 + * Mon Feb 20 2017 Tom Callaway - 3.9.0-1 - update to 3.9.0 (match clang) From 5ac45bb52cb64109d3b223425543577b3641afb5 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Wed, 1 Mar 2017 13:09:44 -0500 Subject: [PATCH 4/6] disable bootstrap --- libcxx.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libcxx.spec b/libcxx.spec index 7852bca..ba04635 100644 --- a/libcxx.spec +++ b/libcxx.spec @@ -1,10 +1,10 @@ # If you need to bootstrap this, turn this on. # Otherwise, you have a loop with libcxxabi -%global bootstrap 1 +%global bootstrap 0 Name: libcxx Version: 3.9.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: C++ standard library targeting C++11 License: MIT or NCSA URL: http://libcxx.llvm.org/ @@ -94,6 +94,9 @@ make install DESTDIR=%{buildroot} %{_libdir}/libc++.so %changelog +* Wed Mar 1 2017 Tom Callaway - 3.9.0-3 +- disable bootstrap + * Tue Feb 21 2017 Dan Horák - 3.9.0-2 - apply s390(x) workaround only in Fedora < 26 From 947aaa08b5b5cb4234ec348a537afa81201163f9 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Fri, 3 Mar 2017 07:32:33 -0800 Subject: [PATCH 5/6] LIBCXX_ENABLE_ABI_LINKER_SCRIPT=ON --- libcxx.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libcxx.spec b/libcxx.spec index ba04635..6cbef60 100644 --- a/libcxx.spec +++ b/libcxx.spec @@ -4,7 +4,7 @@ Name: libcxx Version: 3.9.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: C++ standard library targeting C++11 License: MIT or NCSA URL: http://libcxx.llvm.org/ @@ -12,6 +12,7 @@ Source0: http://llvm.org/releases/%{version}/libcxx-%{version}.src.tar.xz BuildRequires: clang llvm-devel cmake %if %{bootstrap} < 1 BuildRequires: libcxxabi-devel +BuildRequires: python3 %endif # PPC64 (on EL7) doesn't like this code. # /builddir/build/BUILD/libcxx-3.8.0.src/include/thread:431:73: error: '(9.223372036854775807e+18 / 1.0e+9)' is not a constant expression @@ -67,6 +68,9 @@ export LDFLAGS="-Wl,--build-id" %if %{bootstrap} < 1 -DLIBCXX_CXX_ABI=libcxxabi \ -DLIBCXX_CXX_ABI_INCLUDE_PATHS=%{_includedir} \ + -DPYTHONINTERP_FOUND=ON \ + -DPYTHON_EXECUTABLE=%{_bindir}/python3 \ + -DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=ON \ %endif %if 0%{?__isa_bits} == 64 -DLIBCXX_LIBDIR_SUFFIX:STRING=64 \ @@ -94,6 +98,9 @@ make install DESTDIR=%{buildroot} %{_libdir}/libc++.so %changelog +* Fri Mar 3 2017 Tom Callaway - 3.9.0-4 +- LIBCXX_ENABLE_ABI_LINKER_SCRIPT=ON + * Wed Mar 1 2017 Tom Callaway - 3.9.0-3 - disable bootstrap From d8ba11b02de782f130a79ff3d9efb1df4a6a0ee1 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Sat, 22 Apr 2017 12:29:24 -0700 Subject: [PATCH 6/6] 3.9.1 --- .gitignore | 1 + libcxx.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index ba886c8..c8962ef 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /libcxx-3.8.0.src.tar.xz /libcxx-3.8.1.src.tar.xz /libcxx-3.9.0.src.tar.xz +/libcxx-3.9.1.src.tar.xz diff --git a/libcxx.spec b/libcxx.spec index 6cbef60..ec70ecd 100644 --- a/libcxx.spec +++ b/libcxx.spec @@ -3,8 +3,8 @@ %global bootstrap 0 Name: libcxx -Version: 3.9.0 -Release: 4%{?dist} +Version: 3.9.1 +Release: 1%{?dist} Summary: C++ standard library targeting C++11 License: MIT or NCSA URL: http://libcxx.llvm.org/ @@ -98,6 +98,9 @@ make install DESTDIR=%{buildroot} %{_libdir}/libc++.so %changelog +* Wed Mar 8 2017 Tom Callaway - 3.9.1-1 +- update to 3.9.1 + * Fri Mar 3 2017 Tom Callaway - 3.9.0-4 - LIBCXX_ENABLE_ABI_LINKER_SCRIPT=ON diff --git a/sources b/sources index 5887e86..268f724 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libcxx-3.9.0.src.tar.xz) = 55d5c4adff378ee02b0b99d732bc9f326910f9e49ab8c320a588eccdd0362fe009bc9a6a4337d29faf6338420c91b10d0d7d67f66128268f01258d30502c4f4a +SHA512 (libcxx-3.9.1.src.tar.xz) = a5976e4096624a7307b3e43f4a22ac2dc74572226e0f57af9f3ef537a14c3cff1601b7042aef9dc40a0ee53ca76b08d72eb9c253dcf34f115d3153c302db7070