]> git.pld-linux.org Git - packages/gcc.git/blobdiff - gcc.spec
- rel 2; rebuild so libgcj will pick new libffi
[packages/gcc.git] / gcc.spec
index 27b25ce5461eb71b7c24275ed0f476d43f934f90..75535f01a4875c9fe89e9b72a6a90d9763174e92 100644 (file)
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,4 +1,4 @@
-# NOTE: despite lower soname, libffi is newer than standalone 3.0.9
+# NOTE: despite lower soname, libffi is newer than standalone 3.0.10
 #
 # TODO:
 # - gconf peer? (but libgcj needs split anyway)
 %bcond_without objc            # build without Objective-C support
 %bcond_without objcxx          # build without Objective-C++ support
 # - features:
-%bcond_with    cloogpplleg     # use cloog-ppl-legacy (0.15.x) backend (instead of cloog-isl)
-%bcond_with    cloogppl        # use cloog-ppl 0.16.1 backend (instead of cloog-isl)
 %bcond_without gomp            # build without OpenMP support
-%bcond_without mudflap         # build without Mudflap pointer debugging support
 %bcond_without multilib        # build without multilib support (it needs glibc[32&64]-devel)
 %bcond_without profiling       # build without profiling
 %bcond_without python          # build without libstdc++ printers for gdb and aot-compile for java
 %bcond_without asan            # build without Address Sanitizer library
+%bcond_without lsan            # build without Leak Sanitizer library
 %bcond_without tsan            # build without Thread Sanitizer library
 %bcond_without atomic          # build without library for atomic operations not supported by hardware
+%bcond_with    gcc_libffi      # packaging gcc libffi for system usage
+                               # note: libgcj and libgo always have convenience gcc libffi linked in
 # - libgcj options:
 %bcond_without alsa            # don't build libgcj ALSA MIDI interface
 %bcond_without dssi            # don't build libgcj DSSI MIDI interface
 %define                cxx_sover       6
 %endif
 
+# go, java and objcxx require C++
 %if %{without cxx}
 %undefine      with_go
 %undefine      with_java
 %undefine      with_objcxx
 %endif
-
+# objcxx requires objc
 %if %{without objc}
 %undefine      with_objcxx
 %endif
 %undefine      with_multilib
 %endif
 
+%ifnarch %{ix86} %{x8664} alpha arm ppc ppc64 sh sparc sparcv9 sparc64
+%undefine      with_atomic
+%endif
+
+%ifnarch %{ix86} %{x8664} ppc ppc64 sparc sparcv9 sparc64
+%undefine      with_asan
+%endif
+
 %ifnarch %{x8664}
 %undefine      with_tsan
+%undefine      with_lsan
 %endif
 
 %ifarch sparc64
 %undefine      with_ada
 %endif
 
-%if %{with cloogppl}
-%define        cloog_backend   ppl
-%else
-%if %{with cloogpplleg}
-%define        cloog_backend   ppl-legacy
-%else
-%define        cloog_backend   isl
-%endif
-%endif
-
-%define                major_ver       4.8
+%define                major_ver       4.9
 %define                minor_ver       2
-%define                major_ecj_ver   4.5
+%define                major_ecj_ver   4.9
 # class data version seen with file(1) that this jvm is able to load
 %define                _classdataversion 50.0
-%define                gcj_soname_ver  14
+%define                gcj_soname_ver  15
 
 Summary:       GNU Compiler Collection: the C compiler and shared files
 Summary(es.UTF-8):     Colección de compiladores GNU: el compilador C y ficheros compartidos
@@ -99,25 +99,27 @@ Summary(pl.UTF-8):  Kolekcja kompilatorów GNU: kompilator C i pliki współdziel
 Summary(pt_BR.UTF-8):  Coleção dos compiladores GNU: o compilador C e arquivos compartilhados
 Name:          gcc
 Version:       %{major_ver}.%{minor_ver}
-Release:       1
+Release:       2
 Epoch:         6
 License:       GPL v3+
 Group:         Development/Languages
-Source0:       ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{version}/%{name}-%{version}.tar.bz2
-# Source0-md5: a3d7d63b9cb6b6ea049469a0c4a43c9d
+Source0:       https://ftp.gnu.org/pub/gnu/gcc/gcc-%{version}/%{name}-%{version}.tar.bz2
+# Source0-md5: 4df8ee253b7f3863ad0b86359cd39c43
 Source1:       %{name}-optimize-la.pl
 Source2:       ftp://sourceware.org/pub/java/ecj-%{major_ecj_ver}.jar
-# Source2-md5: d7cd6a27c8801e66cbaa964a039ecfdb
+# Source2-md5: 7339f199ba11c941890031fd9981d7be
 # check libffi version with libffi/configure.ac
 Source3:       libffi.pc.in
-# svn diff -x --ignore-eol-style --force svn://gcc.gnu.org/svn/gcc/tags/gcc_4_8_2_release svn://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch > gcc-branch.diff
+# svn diff -x --ignore-eol-style --force svn://gcc.gnu.org/svn/gcc/tags/gcc_4_9_2_release svn://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch > gcc-branch.diff
 Patch100:      %{name}-branch.diff
-# Patch100-md5:        b8ce1d213a03bae80a9ec461b3535c37
+# Patch100-md5:        66e843617ce0bfe9764059752a9706d6
 Patch0:                %{name}-info.patch
 Patch1:                %{name}-cloog.patch
 Patch2:                %{name}-nodebug.patch
 Patch3:                %{name}-ada-link.patch
-Patch4:                %{name}-sparc64-ada_fix.patch
+
+Patch5:                %{name}-4.9-isl-0.13-hack.patch
+Patch6:                %{name}-pr61164.patch
 Patch7:                %{name}-libjava-multilib.patch
 Patch8:                %{name}-enable-java-awt-qt.patch
 Patch10:       %{name}-moresparcs.patch
@@ -130,16 +132,8 @@ BuildRequires:     automake >= 1:1.9.3
 BuildRequires: binutils >= 3:2.17.50.0.9-1
 BuildRequires: bison
 BuildRequires: chrpath >= 0.13-2
-%if %{with cloogppl}
-BuildRequires: cloog-ppl-devel >= 0.16.1
-%else
-%if %{with cloogpplleg}
-BuildRequires: cloog-ppl-devel >= 0.15.9
-BuildRequires: cloog-ppl-devel < 0.16
-%else
-BuildRequires: cloog-isl-devel >= 0.16.1
-%endif
-%endif
+BuildRequires: cloog-isl-devel >= 0.17.0
+BuildRequires: cloog-isl-devel < 0.19
 %{?with_tests:BuildRequires:   dejagnu}
 BuildRequires: elfutils-devel >= 0.145-1
 BuildRequires: fileutils >= 4.0.41
@@ -165,8 +159,9 @@ BuildRequires:      glibc-devel(s390)
 BuildRequires: glibc-devel(sparcv9)
 %endif
 %endif
-BuildRequires: gmp-devel >= 4.1
 BuildRequires: gmp-c++-devel >= 4.1
+BuildRequires: gmp-devel >= 4.1
+BuildRequires: isl-devel >= 0.13
 BuildRequires: libmpc-devel
 BuildRequires: mpfr-devel >= 2.3.0
 BuildRequires: ppl-devel >= 0.11
@@ -237,7 +232,7 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 # receiving non constant format strings
 %define                Werror_cflags   %{nil}
 
-%define                skip_post_check_so      '.*(libgo|libmudflap|libmudflapth|libxmlj|lib-gnu-awt-xlib)\.so.*'
+%define                skip_post_check_so      '.*(libgo|libxmlj|lib-gnu-awt-xlib)\.so.*'
 
 %description
 A compiler aimed at integrating all the optimizations and features
@@ -416,102 +411,59 @@ Static GNU OpenMP library - 32-bit version.
 %description -n libgomp-multilib-static -l pl.UTF-8
 Statyczna biblioteka GNU OpenMP - wersja 32-bitowa.
 
-%package -n libmudflap
-Summary:       GCC mudflap shared support libraries
-Summary(pl.UTF-8):     Współdzielone biblioteki wspomagająca GCC mudflap
+%package -n libcilkrts
+Summary:       GCC cilk+ shared support libraries
 License:       GPL v2+ with unlimited link permission
 Group:         Libraries
 
-%description -n libmudflap
-The libmudflap libraries are used by GCC for instrumenting pointer and
-array dereferencing operations.
+%description -n libcilkrts
+This package contains the Cilk+ runtime library.
 
-%description -n libmudflap -l pl.UTF-8
-Biblioteki libmudflap są używane przez GCC do obsługi operacji
-dereferencji wspaźników i tablic.
-
-%package -n libmudflap-multilib
-Summary:       GCC mudflap shared support libraries - 32-bit version
-Summary(pl.UTF-8):     Współdzielone biblioteki wspomagająca GCC mudflap - wersja 32-bitowa
+%package -n libcilkrts-multilib
+Summary:       GCC cilk+ shared support libraries - 32-bit version
 License:       GPL v2+ with unlimited link permission
 Group:         Libraries
 
-%description -n libmudflap-multilib
-The libmudflap libraries are used by GCC for instrumenting pointer and
-array dereferencing operations. This package contains 32-bit version.
-
-%description -n libmudflap-multilib -l pl.UTF-8
-Biblioteki libmudflap są używane przez GCC do obsługi operacji
-dereferencji wspaźników i tablic. Ten pakiet zawiera wersje 32-bitowe.
+%description -n libcilkrts-multilib
+This package contains the Cilk+ runtime library. This package contains
+32-bit version.
 
-%package -n libmudflap-devel
-Summary:       Development files for GCC mudflap libraries
-Summary(pl.UTF-8):     Pliki programistyczne bibliotek GCC mudflap
+%package -n libcilkrts-devel
+Summary:       Development files for GCC cilk+ libraries
 License:       GPL v2+ with unlimited link permission
 Group:         Development/Libraries
-Requires:      libmudflap = %{epoch}:%{version}-%{release}
+Requires:      libcilkrts = %{epoch}:%{version}-%{release}
 
-%description -n libmudflap-devel
-The libmudflap libraries are used by GCC for instrumenting pointer and
-array dereferencing operations. This package contains development
-files.
+%description -n libcilkrts-devel
+This package contains development files for cilk+ library.
 
-%description -n libmudflap-devel -l pl.UTF-8
-Biblioteki libmudflap są używane przez GCC do obsługi operacji
-dereferencji wspaźników i tablic. Ten pakiet zawiera pliki
-programistyczne.
-
-%package -n libmudflap-multilib-devel
-Summary:       Development files for 32-bit version of GCC mudflap libraries
-Summary(pl.UTF-8):     Pliki programistyczne wersji 32-bitowych bibliotek GCC mudflap
+%package -n libcilkrts-multilib-devel
+Summary:       Development files for 32-bit version of GCC cilk+ libraries
 License:       GPL v2+ with unlimited link permission
 Group:         Development/Libraries
-Requires:      libmudflap-devel = %{epoch}:%{version}-%{release}
-
-%description -n libmudflap-multilib-devel
-The libmudflap libraries are used by GCC for instrumenting pointer and
-array dereferencing operations. This package contains development
-files for 32-bit version of the libraries.
+Requires:      libcilkrts-devel = %{epoch}:%{version}-%{release}
 
-%description -n libmudflap-multilib-devel -l pl.UTF-8
-Biblioteki libmudflap są używane przez GCC do obsługi operacji
-dereferencji wspaźników i tablic. Ten pakiet zawiera pliki
-programistyczne wersji 32-bitowych bibliotek.
+%description -n libcilkrts-multilib-devel
+This package contains development files for 32-bit version of the
+cilk+ libraries.
 
-%package -n libmudflap-static
-Summary:       Static GCC mudflap libraries
-Summary(pl.UTF-8):     Statyczne biblioteki GCC mudflap
+%package -n libcilkrts-static
+Summary:       Static GCC cilk+ libraries
 License:       GPL v2+ with unlimited link permission
 Group:         Development/Libraries
-Requires:      libmudflap-devel = %{epoch}:%{version}-%{release}
-
-%description -n libmudflap-static
-The libmudflap libraries are used by GCC for instrumenting pointer and
-array dereferencing operations. This package contains static
-libraries.
+Requires:      libcilkrts-devel = %{epoch}:%{version}-%{release}
 
-%description -n libmudflap-static -l pl.UTF-8
-Biblioteki libmudflap są używane przez GCC do obsługi operacji
-dereferencji wspaźników i tablic. Ten pakiet zawiera biblioteki
-statyczne.
+%description -n libcilkrts-static
+This package contains static cilk+ libraries.
 
-%package -n libmudflap-multilib-static
-Summary:       Static GCC mudflap libraries - 32-bit version
-Summary(pl.UTF-8):     Statyczne biblioteki GCC mudflap - wersje 32-bitowa
+%package -n libcilkrts-multilib-static
+Summary:       Static GCC cilk+ libraries - 32-bit version
 License:       GPL v2+ with unlimited link permission
 Group:         Development/Libraries
-Requires:      libmudflap-multilib-devel = %{epoch}:%{version}-%{release}
-
-%description -n libmudflap-multilib-static
-The libmudflap libraries are used by GCC for instrumenting pointer and
-array dereferencing operations. This package contains 32-bit static
-libraries.
-
-%description -n libmudflap-multilib-static -l pl.UTF-8
-Biblioteki libmudflap są używane przez GCC do obsługi operacji
-dereferencji wspaźników i tablic. Ten pakiet zawiera biblioteki
-statyczne 32-bitowe.
+Requires:      libcilkrts-multilib-devel = %{epoch}:%{version}-%{release}
 
+%description -n libcilkrts-multilib-static
+This package contains 32-bit static cilk+ libraries.
 %package ada
 Summary:       Ada support for gcc
 Summary(es.UTF-8):     Soporte de Ada para gcc
@@ -836,6 +788,9 @@ Statyczna biblioteka standardowa C++ - wersja 32-bitowa.
 Summary:       C++ standard library API documentation
 Summary(pl.UTF-8):     Dokumentacja API biblioteki standardowej C++
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description -n libstdc++-apidocs
 API and internal documentation for C++ standard library.
@@ -1499,22 +1454,34 @@ Statyczna biblioteka języka Go - wersja 32-bitowa.
 
 %package -n libasan
 Summary:       The Address Sanitizer library
+Summary(pl.UTF-8):     Biblioteka Address Sanitizer do kontroli adresów
 Group:         Libraries
 
 %description -n libasan
-This package contains the Address Sanitizer library
-which is used for -fsanitize=address instrumented programs.
+This package contains the Address Sanitizer library which is used for
+-fsanitize=address instrumented programs.
+
+%description -n libasan -l pl.UTF-8
+Ten pakiet zawiera bibliotekę Address Sanitizer, służącą do kontroli
+adresów w programach kompilowanych z opcją -fsanitize=address.
 
 %package -n libasan-multilib
 Summary:       The Address Sanitizer library - 32-bit version
+Summary(pl.UTF-8):     Biblioteka Address Sanitizer do kontroli adresów - wersja 32-bitowa
 Group:         Libraries
 
 %description -n libasan-multilib
 This package contains 32-bit version of the Address Sanitizer library
 which is used for -fsanitize=address instrumented programs.
 
+%description -n libasan-multilib -l pl.UTF-8
+Ten pakiet zawiera 32-bitową wersję biblioteki Address Sanitizer,
+służącej do kontroli adresów w programach kompilowanych z opcją
+-fsanitize=address.
+
 %package -n libasan-devel
 Summary:       Development files for the Address Sanitizer library
+Summary(pl.UTF-8):     Pliki programistyczne biblioteki Address Sanitizer
 Group:         Development/Libraries
 Requires:      libasan = %{epoch}:%{version}-%{release}
 
@@ -1522,25 +1489,38 @@ Requires:       libasan = %{epoch}:%{version}-%{release}
 This package contains development files for the Address Sanitizer
 library.
 
+%description -n libasan-devel -l pl.UTF-8
+Ten pakiet zawiera pliki programistyczne biblioteki Address Sanitizer.
+
 %package -n libasan-multilib-devel
 Summary:       Development files for the Address Sanitizer library - 32-bit version
+Summary(pl.UTF-8):     Pliki programistyczne biblioteki Address Sanitizer - wersja 32-bitowa
 Group:         Development/Libraries
 Requires:      libasan-multilib = %{epoch}:%{version}-%{release}
 
 %description -n libasan-multilib-devel
-This package contains 32-bit version of the development files for the
-Address Sanitizer static library.
+This package contains the development files for 32-bit version of the
+Address Sanitizer library.
+
+%description -n libasan-multilib-devel -l pl.UTF-8
+Ten pakiet zawiera pliki programistyczne 32-bitowej wersji biblioteki
+Address Sanitizer.
 
 %package -n libasan-static
 Summary:       The Address Sanitizer static library
+Summary(pl.UTF-8):     Statyczna biblioteka Address Sanitizer
 Group:         Development/Libraries
 Requires:      libasan-devel = %{epoch}:%{version}-%{release}
 
 %description -n libasan-static
 This package contains Address Sanitizer static library.
 
+%description -n libasan-static -l pl.UTF-8
+Ten pakiet zawiera statyczną bibliotekę Address Sanitizer.
+
 %package -n libasan-multilib-static
 Summary:       The Address Sanitizer static library - 32-bit version
+Summary(pl.UTF-8):     Statyczna biblioteka Address Sanitizer - wersja 32-bitowa
 Group:         Development/Libraries
 Requires:      libasan-multilib-devel = %{epoch}:%{version}-%{release}
 
@@ -1548,81 +1528,247 @@ Requires:      libasan-multilib-devel = %{epoch}:%{version}-%{release}
 This package contains 32-bit version of the Address Sanitizer static
 library.
 
+%description -n libasan-multilib-static -l pl.UTF-8
+Ten pakiet zawiera 32-bitową wersję statycznej biblioteki Address
+Sanitizer.
+
+%package -n liblsan
+Summary:       The Leak Sanitizer library
+Summary(pl.UTF-8):     Biblioteka Leak Sanitizer do kontroli adresów
+Group:         Libraries
+
+%description -n liblsan
+This package contains the Leak Sanitizer library which is used for
+-fsanitize=leak instrumented programs.
+
+%description -n liblsan -l pl.UTF-8
+Ten pakiet zawiera bibliotekę Leak Sanitizer, służącą do
+kontroli adresów w programach kompilowanych z opcją
+-fsanitize=leak.
+
+%package -n liblsan-devel
+Summary:       Development files for the Leak Sanitizer library
+Summary(pl.UTF-8):     Pliki programistyczne biblioteki Leak Sanitizer
+Group:         Development/Libraries
+Requires:      liblsan = %{epoch}:%{version}-%{release}
+
+%description -n liblsan-devel
+This package contains development files for the Leak Sanitizer
+library.
+
+%description -n liblsan-devel -l pl.UTF-8
+Ten pakiet zawiera pliki programistyczne biblioteki Leak Sanitizer.
+
+%package -n liblsan-static
+Summary:       The Leak Sanitizer static library
+Summary(pl.UTF-8):     Statyczna biblioteka Leak Sanitizer
+Group:         Development/Libraries
+Requires:      liblsan-devel = %{epoch}:%{version}-%{release}
+
+%description -n liblsan-static
+This package contains Leak Sanitizer static library.
+
+%description -n liblsan-static -l pl.UTF-8
+Ten pakiet zawiera statyczną bibliotekę Leak Sanitizer.
+
 %package -n libtsan
 Summary:       The Thread Sanitizer library
+Summary(pl.UTF-8):     Biblioteka Thread Sanitizer do kontroli wielowątkowości
 Group:         Libraries
 
 %description -n libtsan
-This package contains the Thread Sanitizer library
-which is used for -fsanitize=thread instrumented programs.
+This package contains the Thread Sanitizer library which is used for
+-fsanitize=thread instrumented programs.
+
+%description -n libtsan -l pl.UTF-8
+Ten pakiet zawiera bibliotekę Thread Sanitizer, służącą do kontroli
+wielowątkowości w programach kompilowanych z opcją -fsanitize=thread.
 
 %package -n libtsan-devel
 Summary:       Development files for the Thread Sanitizer library
+Summary(pl.UTF-8):     Pliki programistyczne biblioteki Thread Sanitizer
 Group:         Development/Libraries
 Requires:      libtsan = %{epoch}:%{version}-%{release}
 
 %description -n libtsan-devel
 This package contains development files for Thread Sanitizer library.
 
+%description -n libtsan-devel -l pl.UTF-8
+Ten pakiet zawiera pliki programistyczne biblioteki Address Sanitizer.
+
 %package -n libtsan-static
 Summary:       The Thread Sanitizer static library
+Summary(pl.UTF-8):     Statyczna biblioteka Thread Sanitizer
 Group:         Development/Libraries
 Requires:      libtsan-devel = %{epoch}:%{version}-%{release}
 
 %description -n libtsan-static
 This package contains Thread Sanitizer static library.
 
+%description -n libtsan-static -l pl.UTF-8
+Ten pakiet zawiera statyczną bibliotekę Thread Sanitizer.
+
+%package -n libubsan
+Summary:       The Undefined Behavior Sanitizer library
+Summary(pl.UTF-8):     Biblioteka Undefined Behavior Sanitizer do kontroli adresów
+Group:         Libraries
+
+%description -n libubsan
+This package contains the Undefined Behavior Sanitizer library which is used for
+-fsanitize=undefined instrumented programs.
+
+%description -n libubsan -l pl.UTF-8
+Ten pakiet zawiera bibliotekę Undefined Behavior Sanitizer, służącą do
+kontroli adresów w programach kompilowanych z opcją
+-fsanitize=undefined.
+
+%package -n libubsan-multilib
+Summary:       The Undefined Behavior Sanitizer library - 32-bit version
+Summary(pl.UTF-8):     Biblioteka Undefined Behavior Sanitizer do kontroli adresów - wersja 32-bitowa
+Group:         Libraries
+
+%description -n libubsan-multilib
+This package contains 32-bit version of the Undefined Behavior
+Sanitizer library which is used for -fsanitize=undefined instrumented
+programs.
+
+%description -n libubsan-multilib -l pl.UTF-8
+Ten pakiet zawiera 32-bitową wersję biblioteki Undefined Behavior
+Sanitizer, służącej do kontroli adresów w programach kompilowanych z
+opcją -fsanitize=undefined.
+
+%package -n libubsan-devel
+Summary:       Development files for the Undefined Behavior Sanitizer library
+Summary(pl.UTF-8):     Pliki programistyczne biblioteki Undefined Behavior Sanitizer
+Group:         Development/Libraries
+Requires:      libubsan = %{epoch}:%{version}-%{release}
+
+%description -n libubsan-devel
+This package contains development files for the Undefined Behavior
+Sanitizer library.
+
+%description -n libubsan-devel -l pl.UTF-8
+Ten pakiet zawiera pliki programistyczne biblioteki Undefined Behavior
+Sanitizer.
+
+%package -n libubsan-multilib-devel
+Summary:       Development files for the Undefined Behavior Sanitizer library - 32-bit version
+Summary(pl.UTF-8):     Pliki programistyczne biblioteki Undefined Behavior Sanitizer - wersja 32-bitowa
+Group:         Development/Libraries
+Requires:      libubsan-multilib = %{epoch}:%{version}-%{release}
+
+%description -n libubsan-multilib-devel
+This package contains the development files for 32-bit version of the
+Undefined Behavior Sanitizer library.
+
+%description -n libubsan-multilib-devel -l pl.UTF-8
+Ten pakiet zawiera pliki programistyczne 32-bitowej wersji biblioteki
+Undefined Behavior Sanitizer.
+
+%package -n libubsan-static
+Summary:       The Undefined Behavior Sanitizer static library
+Summary(pl.UTF-8):     Statyczna biblioteka Undefined Behavior Sanitizer
+Group:         Development/Libraries
+Requires:      libubsan-devel = %{epoch}:%{version}-%{release}
+
+%description -n libubsan-static
+This package contains Undefined Behavior Sanitizer static library.
+
+%description -n libubsan-static -l pl.UTF-8
+Ten pakiet zawiera statyczną bibliotekę Undefined Behavior Sanitizer.
+
+%package -n libubsan-multilib-static
+Summary:       The Undefined Behavior Sanitizer static library - 32-bit version
+Summary(pl.UTF-8):     Statyczna biblioteka Undefined Behavior Sanitizer - wersja 32-bitowa
+Group:         Development/Libraries
+Requires:      libubsan-multilib-devel = %{epoch}:%{version}-%{release}
+
+%description -n libubsan-multilib-static
+This package contains 32-bit version of the Undefined Behavior
+Sanitizer static library.
+
+%description -n libubsan-multilib-static -l pl.UTF-8
+Ten pakiet zawiera 32-bitową wersję statycznej biblioteki Undefined
+Behavior Sanitizer.
+
+
 %package -n libatomic
 Summary:       The GNU Atomic library
+Summary(pl.UTF-8):     Biblioteka GNU Atomic
 Group:         Libraries
 
 %description -n libatomic
-This package contains the GNU Atomic library
-which is a GCC support library for atomic operations
-not supported by hardware.
+This package contains the GNU Atomic library which is a GCC support
+library for atomic operations not supported by hardware.
+
+%description -n libatomic -l pl.UTF-8
+Ten pakiet zawiera bibliotekę GNU Atomic, będącą biblioteką GCC
+wspierającą operacje atomowe na sprzęcie ich nie obsługującym.
 
 %package -n libatomic-multilib
 Summary:       The GNU Atomic library - 32-bit version
+Summary(pl.UTF-8):     Biblioteka GNU Atomic - wersja 32-bitowa
 Group:         Libraries
 
 %description -n libatomic-multilib
-This package contains 32-bit version of the GNU Atomic library
-which is a GCC support library for atomic operations
-not supported by hardware.
+This package contains 32-bit version of the GNU Atomic library which
+is a GCC support library for atomic operations not supported by
+hardware.
+
+%description -n libatomic-multilib -l pl.UTF-8
+Ten pakiet zawiera 32-bitową wersję biblioteki GNU Atomic, będącej
+biblioteką GCC wspierającą operacje atomowe na sprzęcie ich nie
+obsługującym.
 
 %package -n libatomic-devel
 Summary:       Development files for the GNU Atomic library
+Summary(pl.UTF-8):     Pliki programistyczne biblioteki GNU Atomic
 Group:         Development/Libraries
 Requires:      libatomic = %{epoch}:%{version}-%{release}
 
 %description -n libatomic-devel
-This package contains development files for the GNU Atomic libraries.
+This package contains development files for the GNU Atomic library.
+
+%description -n libatomic-devel -l pl.UTF-8
+Ten pakiet zawiera pliki programistyczne biblioteki GNU Atomic.
 
 %package -n libatomic-multilib-devel
 Summary:       Development files for the GNU Atomic static library - 32-bit version
+Summary(pl.UTF-8):     Pliki programistyczne biblioteki GNU Atomic - wersja 32-bitowa
 Group:         Development/Libraries
 Requires:      libatomic-multilib = %{epoch}:%{version}-%{release}
 
 %description -n libatomic-multilib-devel
-This package contains 32-bit version of the Development files for the
-GNU Atomic libraries.
+This package contains the development files for 32-bit version of the
+GNU Atomic library.
+
+%description -n libatomic-multilib-devel -l pl.UTF-8
+Ten pakiet zawiera pliki programistyczne 32-bitowej wersji biblioteki
+GNU Atomic.
 
 %package -n libatomic-static
 Summary:       The GNU Atomic static library
+Summary(pl.UTF-8):     Statyczna biblioteka GNU Atomic
 Group:         Development/Libraries
 Requires:      libatomic-devel = %{epoch}:%{version}-%{release}
 
 %description -n libatomic-static
-This package contains GNU Atomic static libraries.
+This package contains GNU Atomic static library.
+
+%description -n libatomic-static
+Ten pakiet zawiera statyczną bibliotekę GNU Atomic.
 
 %package -n libatomic-multilib-static
 Summary:       The GNU Atomic static library - 32-bit version
+Summary(pl.UTF-8):     Statyczna biblioteka GNU Atomic - wersja 32-bitowa
 Group:         Development/Libraries
 Requires:      libatomic-multilib-devel = %{epoch}:%{version}-%{release}
 
 %description -n libatomic-multilib-static
-This package contains 32-bit version of the GNU Atomic static
-libraries.
+This package contains 32-bit version of the GNU Atomic static library.
+
+%description -n libatomic-multilib-static -l pl.UTF-8
+Ten pakiet zawiera 32-bitową wersję statycznej biblioteki GNU Atomic.
 
 %prep
 %setup -q
@@ -1631,14 +1777,17 @@ libraries.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
-%patch4 -p1
 
+%patch5 -p1
+%patch6 -p1
 %patch7 -p0
 %if %{with qt}
 %patch8 -p1
 %endif
 %patch10 -p1
+%if %{with gcc_libffi}
 %patch11 -p0
+%endif
 
 mv ChangeLog ChangeLog.general
 
@@ -1687,15 +1836,14 @@ TEXCONFIG=false \
 %ifarch %{ix86} %{x8664}
        --disable-cld \
 %endif
-       --enable-cloog-backend=%{cloog_backend} \
        %{?with_fortran:--enable-cmath} \
        --enable-decimal-float \
        --enable-gnu-unique-object \
+       --enable-gnu-indirect-function \
        --enable-initfini-array \
        --enable-languages="c%{?with_cxx:,c++}%{?with_fortran:,fortran}%{?with_objc:,objc}%{?with_objcxx:,obj-c++}%{?with_ada:,ada}%{?with_java:,java}%{?with_go:,go}" \
        --%{?with_gomp:en}%{!?with_gomp:dis}able-libgomp \
        --enable-libitm \
-       --%{?with_mudflap:en}%{!?with_mudflap:dis}able-libmudflap \
        --enable-linker-build-id \
        --enable-linux-futex \
        --enable-long-long \
@@ -1710,6 +1858,12 @@ TEXCONFIG=false \
        --enable-threads=posix \
        --disable-werror \
        --with-cloog \
+%ifarch %{ix86}
+       --with-arch=x86-64 \
+%endif
+%ifarch %{x8664}
+       --with-arch-32=x86-64 \
+%endif
 %ifarch sparc64
        --with-cpu=ultrasparc \
 %endif
@@ -1757,7 +1911,8 @@ TEXCONFIG=false \
 %endif
        --with-pkgversion="PLD-Linux" \
        --with-bugurl="http://bugs.pld-linux.org" \
-       %{_target_platform}
+       --host=%{_target_platform} \
+       --build=%{_target_platform}
 
 cd ..
 
@@ -1884,6 +2039,7 @@ cp -f libjava/READ* java-doc
 ln -sf libgcj-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/libgcj.jar
 %endif
 
+%if %{with gcc_libffi}
 # still not installed by gcc?
 [ ! -f $RPM_BUILD_ROOT%{_pkgconfigdir}/libffi.pc ] || exit 1
 install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
@@ -1899,6 +2055,7 @@ sed -e 's,@prefix@,%{_prefix},
        s,@libdir@,%{_libdir32},
        s,@gcclibdir@,%{gcclibdir},' %{SOURCE3} >$RPM_BUILD_ROOT%{_pkgconfigdir32}/libffi.pc
 %endif
+%endif
 
 %if %{with objc}
 cp -f libobjc/README gcc/objc/README.libobjc
@@ -1911,11 +2068,13 @@ for f in libitm.la libssp.la libssp_nonshared.la \
        %{?with_fortran:libgfortran.la libquadmath.la} \
        %{?with_gomp:libgomp.la} \
        %{?with_asan:libasan.la} \
+       %{?with_lsan:liblsan.la} \
        %{?with_tsan:libtsan.la} \
+       libubsan.la \
        %{?with_atomic:libatomic.la} \
-       %{?with_mudflap:libmudflap.la libmudflapth.la} \
 %if %{with java}
-       libffi.la libgcj.la libgcj-tools.la libgij.la \
+       %{?with_gcc_libffi:libffi.la} \
+       libgcj.la libgcj-tools.la libgij.la \
        %{gcjdbexecdir}/libjvm.la \
        %{gcjdbexecdir}/libxmlj.la \
        %{?with_x:lib-gnu-awt-xlib.la} \
@@ -1935,9 +2094,9 @@ for f in libitm.la libssp.la libssp_nonshared.la \
        %{?with_fortran:libgfortran.la libquadmath.la} \
        %{?with_gomp:libgomp.la} \
        %{?with_asan:libasan.la} \
+       libubsan.la \
        %{?with_atomic:libatomic.la} \
-       %{?with_mudflap:libmudflap.la libmudflapth.la} \
-       %{?with_java:libffi.la} \
+       %{?with_java:%{?with_gcc_libffi:libffi.la}} \
        %{?with_objc:libobjc.la};
 do
        %{__perl} %{SOURCE1} $RPM_BUILD_ROOT%{_libdir32}/$f %{_libdir32} > $RPM_BUILD_ROOT%{_libdir32}/$f.fixed
@@ -1952,8 +2111,6 @@ cp -p $RPM_BUILD_ROOT%{gcclibdir}/include-fixed/syslimits.h $RPM_BUILD_ROOT%{gcc
 
 # plugin, .la not needed
 %{__rm} $RPM_BUILD_ROOT%{gcclibdir}/liblto_plugin.la
-# already packaged in binutils-devel
-%{__rm} $RPM_BUILD_ROOT%{_libdir}/libiberty.a
 
 %if %{with python}
 for LIB in lib lib64; do
@@ -1998,6 +2155,10 @@ cp -p libstdc++-v3/include/precompiled/* $RPM_BUILD_ROOT%{_includedir}
 # always -f, as "dir" is created depending which texlive version is installed
 %{__rm} -f $RPM_BUILD_ROOT%{_infodir}/dir
 
+# is anything using this?
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libvtv*
+%{?with_multilib:%{__rm} $RPM_BUILD_ROOT%{_libdir32}/libvtv*}
+
 # svn snap doesn't contain (release does) below files,
 # so let's create dummy entries to satisfy %%files.
 [ ! -f NEWS ] && touch NEWS
@@ -2037,6 +2198,22 @@ rm -rf $RPM_BUILD_ROOT
 %postun        go -p /sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
 
+%post  -n libquadmath-devel -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%postun        -n libquadmath-devel -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%post  -n libffi-devel -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%postun        -n libffi-devel -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%post   -p /sbin/ldconfig -n libcilkrts
+%postun -p /sbin/ldconfig -n libcilkrts
+%post   -p /sbin/ldconfig -n libcilkrts-multilib
+%postun -p /sbin/ldconfig -n libcilkrts-multilib
 %post  -p /sbin/ldconfig -n libgcc
 %postun        -p /sbin/ldconfig -n libgcc
 %post  -p /sbin/ldconfig -n libgcc-multilib
@@ -2045,10 +2222,6 @@ rm -rf $RPM_BUILD_ROOT
 %postun        -p /sbin/ldconfig -n libgomp
 %post  -p /sbin/ldconfig -n libgomp-multilib
 %postun        -p /sbin/ldconfig -n libgomp-multilib
-%post  -p /sbin/ldconfig -n libmudflap
-%postun        -p /sbin/ldconfig -n libmudflap
-%post  -p /sbin/ldconfig -n libmudflap-multilib
-%postun        -p /sbin/ldconfig -n libmudflap-multilib
 %post  -p /sbin/ldconfig -n libgnat
 %postun        -p /sbin/ldconfig -n libgnat
 %post  -p /sbin/ldconfig -n libgnat-multilib
@@ -2065,20 +2238,14 @@ rm -rf $RPM_BUILD_ROOT
 %postun        -p /sbin/ldconfig -n libgcj
 %post  -p /sbin/ldconfig -n libffi
 %postun        -p /sbin/ldconfig -n libffi
-%post  -n libffi-devel -p /sbin/postshell
--/usr/sbin/fix-info-dir -c %{_infodir}
 %post  -p /sbin/ldconfig -n libffi-multilib
 %postun        -p /sbin/ldconfig -n libffi-multilib
 %post  -p /sbin/ldconfig -n libobjc
 %postun        -p /sbin/ldconfig -n libobjc
 %post  -p /sbin/ldconfig -n libobjc-multilib
 %postun        -p /sbin/ldconfig -n libobjc-multilib
-%post -n libquadmath
-/sbin/ldconfig
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
-%postun -n libquadmath
-/sbin/ldconfig
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%post  -p /sbin/ldconfig -n libquadmath
+%postun        -p /sbin/ldconfig -n libquadmath
 %post  -p /sbin/ldconfig -n libquadmath-multilib
 %postun        -p /sbin/ldconfig -n libquadmath-multilib
 %post  -p /sbin/ldconfig -n libgo
@@ -2089,8 +2256,14 @@ rm -rf $RPM_BUILD_ROOT
 %postun        -p /sbin/ldconfig -n libasan
 %post  -p /sbin/ldconfig -n libasan-multilib
 %postun        -p /sbin/ldconfig -n libasan-multilib
+%post  -p /sbin/ldconfig -n liblsan
+%postun        -p /sbin/ldconfig -n liblsan
 %post  -p /sbin/ldconfig -n libtsan
 %postun        -p /sbin/ldconfig -n libtsan
+%post   -p /sbin/ldconfig -n libubsan
+%postun -p /sbin/ldconfig -n libubsan
+%post   -p /sbin/ldconfig -n libubsan-multilib
+%postun -p /sbin/ldconfig -n libubsan-multilib
 %post  -p /sbin/ldconfig -n libatomic
 %postun        -p /sbin/ldconfig -n libatomic
 %post  -p /sbin/ldconfig -n libatomic-multilib
@@ -2127,6 +2300,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libitm.la
 %{_libdir}/libitm.a
 %{_libdir}/libitm.spec
+%{_libdir}/libsanitizer.spec
 %{_libdir}/libssp.la
 %{_libdir}/libssp.a
 %{_libdir}/libssp_nonshared.la
@@ -2146,6 +2320,8 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{gcclibdir}/liblto_plugin.so*
 %{gcclibdir}/plugin
 %dir %{gcclibdir}/include
+%dir %{gcclibdir}/include/sanitizer
+%{gcclibdir}/include/sanitizer/common_interface_defs.h
 %dir %{gcclibdir}/include/ssp
 %{gcclibdir}/include/ssp/*.h
 %{gcclibdir}/include/float.h
@@ -2153,6 +2329,7 @@ rm -rf $RPM_BUILD_ROOT
 %{gcclibdir}/include/limits.h
 %{gcclibdir}/include/stdalign.h
 %{gcclibdir}/include/stdarg.h
+%{gcclibdir}/include/stdatomic.h
 %{gcclibdir}/include/stdbool.h
 %{gcclibdir}/include/stddef.h
 %{gcclibdir}/include/stdfix.h
@@ -2163,28 +2340,38 @@ rm -rf $RPM_BUILD_ROOT
 %{gcclibdir}/include/unwind.h
 %{gcclibdir}/include/varargs.h
 %ifarch %{ix86} %{x8664}
+%{gcclibdir}/include/adxintrin.h
 %{gcclibdir}/include/ammintrin.h
-%{gcclibdir}/include/avxintrin.h
 %{gcclibdir}/include/avx2intrin.h
-%{gcclibdir}/include/bmiintrin.h
+%{gcclibdir}/include/avx512cdintrin.h
+%{gcclibdir}/include/avx512erintrin.h
+%{gcclibdir}/include/avx512fintrin.h
+%{gcclibdir}/include/avx512pfintrin.h
+%{gcclibdir}/include/avxintrin.h
 %{gcclibdir}/include/bmi2intrin.h
+%{gcclibdir}/include/bmiintrin.h
 %{gcclibdir}/include/bmmintrin.h
 %{gcclibdir}/include/cpuid.h
 %{gcclibdir}/include/cross-stdarg.h
 %{gcclibdir}/include/emmintrin.h
 %{gcclibdir}/include/f16cintrin.h
-%{gcclibdir}/include/fmaintrin.h
 %{gcclibdir}/include/fma4intrin.h
+%{gcclibdir}/include/fmaintrin.h
+%{gcclibdir}/include/fxsrintrin.h
 %{gcclibdir}/include/ia32intrin.h
 %{gcclibdir}/include/immintrin.h
 %{gcclibdir}/include/lwpintrin.h
 %{gcclibdir}/include/lzcntintrin.h
 %{gcclibdir}/include/mm3dnow.h
-%{gcclibdir}/include/mm_malloc.h
 %{gcclibdir}/include/mmintrin.h
+%{gcclibdir}/include/mm_malloc.h
 %{gcclibdir}/include/nmmintrin.h
-%{gcclibdir}/include/popcntintrin.h
 %{gcclibdir}/include/pmmintrin.h
+%{gcclibdir}/include/popcntintrin.h
+%{gcclibdir}/include/prfchwintrin.h
+%{gcclibdir}/include/rdseedintrin.h
+%{gcclibdir}/include/rtmintrin.h
+%{gcclibdir}/include/shaintrin.h
 %{gcclibdir}/include/smmintrin.h
 %{gcclibdir}/include/tbmintrin.h
 %{gcclibdir}/include/tmmintrin.h
@@ -2192,11 +2379,6 @@ rm -rf $RPM_BUILD_ROOT
 %{gcclibdir}/include/x86intrin.h
 %{gcclibdir}/include/xmmintrin.h
 %{gcclibdir}/include/xopintrin.h
-%{gcclibdir}/include/adxintrin.h
-%{gcclibdir}/include/fxsrintrin.h
-%{gcclibdir}/include/prfchwintrin.h
-%{gcclibdir}/include/rdseedintrin.h
-%{gcclibdir}/include/rtmintrin.h
 %{gcclibdir}/include/xsaveintrin.h
 %{gcclibdir}/include/xsaveoptintrin.h
 %{gcclibdir}/include/xtestintrin.h
@@ -2303,51 +2485,41 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 %endif
 
-%if %{with mudflap}
-%files -n libmudflap
+%files -n libcilkrts
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libmudflap.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libmudflap.so.0
-%attr(755,root,root) %{_libdir}/libmudflapth.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libmudflapth.so.0
+%attr(755,root,root) %{_libdir}/libcilkrts.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libcilkrts.so.5
 
 %if %{with multilib}
-%files -n libmudflap-multilib
+%files -n libcilkrts-multilib
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir32}/libmudflap.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir32}/libmudflap.so.0
-%attr(755,root,root) %{_libdir32}/libmudflapth.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir32}/libmudflapth.so.0
+%attr(755,root,root) %{_libdir32}/libcilkrts.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir32}/libcilkrts.so.5
 %endif
 
-%files -n libmudflap-devel
+%files -n libcilkrts-devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libmudflap.so
-%attr(755,root,root) %{_libdir}/libmudflapth.so
-%{_libdir}/libmudflap.la
-%{_libdir}/libmudflapth.la
-%{gcclibdir}/include/mf-runtime.h
+%attr(755,root,root) %{_libdir}/libcilkrts.so
+%{_libdir}/libcilkrts.la
+%{_libdir}/libcilkrts.spec
+%{gcclibdir}/include/cilk
 
 %if %{with multilib}
-%files -n libmudflap-multilib-devel
+%files -n libcilkrts-multilib-devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir32}/libmudflap.so
-%attr(755,root,root) %{_libdir32}/libmudflapth.so
-%{_libdir32}/libmudflap.la
-%{_libdir32}/libmudflapth.la
+%attr(755,root,root) %{_libdir32}/libcilkrts.so
+%{_libdir32}/libcilkrts.la
+%{_libdir32}/libcilkrts.spec
 %endif
 
-%files -n libmudflap-static
+%files -n libcilkrts-static
 %defattr(644,root,root,755)
-%{_libdir}/libmudflap.a
-%{_libdir}/libmudflapth.a
+%{_libdir}/libcilkrts.a
 
 %if %{with multilib}
-%files -n libmudflap-multilib-static
+%files -n libcilkrts-multilib-static
 %defattr(644,root,root,755)
-%{_libdir32}/libmudflap.a
-%{_libdir32}/libmudflapth.a
-%endif
+%{_libdir32}/libcilkrts.a
 %endif
 
 %if %{with ada}
@@ -2734,6 +2906,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/%{gcjdbexecdir}/libjvm.a
 %endif
 
+%if %{with gcc_libffi}
 %files -n libffi
 %defattr(644,root,root,755)
 %doc libffi/{ChangeLog,ChangeLog.libgcj,LICENSE,README}
@@ -2774,6 +2947,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %{_libdir32}/libffi.a
 %endif
+%endif
 
 %if %{with objc}
 %files objc
@@ -2844,13 +3018,13 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc libgo/{LICENSE,PATENTS,README}
 %attr(755,root,root) %{_libdir}/libgo.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libgo.so.4
+%attr(755,root,root) %ghost %{_libdir}/libgo.so.5
 
 %if %{with multilib}
 %files -n libgo-multilib
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir32}/libgo.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir32}/libgo.so.4
+%attr(755,root,root) %ghost %{_libdir32}/libgo.so.5
 %endif
 
 %files -n libgo-devel
@@ -2883,13 +3057,13 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc libsanitizer/ChangeLog* libsanitizer/LICENSE.TXT
 %attr(755,root,root) %{_libdir}/libasan.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libasan.so.0
+%attr(755,root,root) %ghost %{_libdir}/libasan.so.1
 
 %if %{with multilib}
 %files -n libasan-multilib
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir32}/libasan.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir32}/libasan.so.0
+%attr(755,root,root) %ghost %{_libdir32}/libasan.so.1
 %endif
 
 %files -n libasan-devel
@@ -2897,6 +3071,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/libasan.so
 %{_libdir}/libasan_preinit.o
 %{_libdir}/libasan.la
+%{gcclibdir}/include/sanitizer/asan_interface.h
 
 %if %{with multilib}
 %files -n libasan-multilib-devel
@@ -2917,6 +3092,23 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 %endif
 
+%if %{with lsan}
+%files -n liblsan
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/liblsan.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/liblsan.so.0
+
+%files -n liblsan-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/liblsan.so
+%{_libdir}/liblsan.la
+%{gcclibdir}/include/sanitizer/lsan_interface.h
+
+%files -n liblsan-static
+%defattr(644,root,root,755)
+%{_libdir}/liblsan.a
+%endif
+
 %if %{with tsan}
 %files -n libtsan
 %defattr(644,root,root,755)
@@ -2934,6 +3126,40 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libtsan.a
 %endif
 
+%files -n libubsan
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libubsan.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libubsan.so.0
+
+%if %{with multilib}
+%files -n libubsan-multilib
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir32}/libubsan.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir32}/libubsan.so.0
+%endif
+
+%files -n libubsan-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libubsan.so
+%{_libdir}/libubsan.la
+
+%if %{with multilib}
+%files -n libubsan-multilib-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir32}/libubsan.so
+%{_libdir32}/libubsan.la
+%endif
+
+%files -n libubsan-static
+%defattr(644,root,root,755)
+%{_libdir}/libubsan.a
+
+%if %{with multilib}
+%files -n libubsan-multilib-static
+%defattr(644,root,root,755)
+%{_libdir32}/libubsan.a
+%endif
+
 %if %{with atomic}
 %files -n libatomic
 %defattr(644,root,root,755)
This page took 0.182007 seconds and 4 git commands to generate.