]> TLD Linux GIT Repositories - packages/gcc.git/blobdiff - gcc.spec
- merged 6.3.0 from PLD
[packages/gcc.git] / gcc.spec
index f9c89a9a267364b17ef95259a7eeafedd1bfae9b..65753cfae09cd7596c6329ce944d88582416fc23 100644 (file)
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,10 +1,17 @@
 # NOTE: despite lower soname, libffi is newer than standalone 3.0.10
 #
+# NOTE
+# - when adding new subpackages with external libraries (like libffi)
+#   or having own Version, do not use epoch 6 there, reset them to 0!
+#
 # TODO:
-# - gconf peer? (but libgcj needs split anyway)
+# - gconf peer? (BR: GConf2-devel >= 2.6.0) (but libgcj needs split anyway)
+# - gstreamer peer? (BR: gstreamer-devel, gstreamer-plugins-base-devel >= 0.10.10)
+# - restore qt peer?
 # - package?
 #   /usr/bin/gjdoc [BR: antlr.jar] (but see gjdoc package, there are some additional jars?)
 #   /usr/share/man/man1/gjdoc.1.gz
+# - revise obsoletes for new libmpx packages!
 #
 # Conditional build:
 # - languages:
 %bcond_without objcxx          # build without Objective-C++ support
 # - features:
 %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 multilib        # build without multilib support (which 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 tsan            # build without Thread Sanitizer library
-%bcond_without atomic          # build without library for atomic operations not supported by hardware
-%bcond_without gcc_libffi      # packaging gcc libffi for system usage
+%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
-%bcond_with    gtk             # build libgcj GTK peer
-%bcond_with    apidocs         # build and package API docs
+%bcond_with    dssi            # don't build libgcj DSSI MIDI interface
+%bcond_with    gtk             # don't build libgcj GTK peer
+%bcond_with    apidocs         # do not build and package API docs
 %bcond_with    mozilla         # build libgcjwebplugin (needs fix for new xulrunner)
 %bcond_with    qt              # build libgcj Qt peer (currently doesn't build with libtool-2.x)
-%bcond_with    x               # build libgcj Xlib-dependent AWTs (incl. GTK/Qt)
+%bcond_with    x               # don't build libgcj Xlib-dependent AWTs (incl. GTK/Qt)
 # - other:
 %bcond_without bootstrap       # omit 3-stage bootstrap
 %bcond_with    tests           # torture gcc
 %undefine      with_multilib
 %endif
 
-%ifnarch %{ix86} %{x8664}
-%undefine      with_atomic
+# setup internal semi-bconds based on bconds and architecture
+%if %{with multilib}
 %endif
-
-%ifnarch %{ix86} %{x8664}
-%undefine      with_asan
+%ifarch %{ix86} %{x8664}
+# library for atomic operations not supported by hardware
+%define                with_atomic     1
 %endif
-
-%ifnarch %{x8664}
-%undefine      with_tsan
+%ifarch %{ix86} %{x8664}
+%define                with_cilkrts    1
+%endif
+%ifarch %{ix86} %{x8664}
+# sanitizer feature (asan and ubsan are common for all supported archs)
+%define                with_Xsan       1
+%endif
+%ifarch %{x8664}
+# lsan and tsan exist only for primary x86_64 ABI
+%define                with_lsan_m0    1
+%define                with_tsan_m0    1
+%endif
+%ifarch %{ix86} %{x8664}
+%define                with_vtv        1
 %endif
 
-%define                major_ver       4.8
-%define                minor_ver       5
-%define                major_ecj_ver   4.5
+%define                major_ver       6
+%define                minor_ver       3.0
+%define                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  17
 
 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
@@ -94,65 +108,65 @@ 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:       4
+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: 80d2c2982a3392bb0b89673ff136e223
+Source0:       https://ftp.gnu.org/pub/gnu/gcc/gcc-%{version}/%{name}-%{version}.tar.bz2
+# Source0-md5: 677a7623c7ef6ab99881bc4e048debb6
 Source1:       %{name}-optimize-la.pl
-Source2:       ftp://sourceware.org/pub/java/ecj-%{major_ecj_ver}.jar
-# Source2-md5: d7cd6a27c8801e66cbaa964a039ecfdb
 # check libffi version with libffi/configure.ac
 Source3:       libffi.pc.in
-# For creating branch.diff please run:
-# svn diff -x --ignore-eol-style --force svn://gcc.gnu.org/svn/gcc/tags/gcc_4_8_3_release svn://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch > gcc-branch.diff
+Source4:       branch.sh
+# use branch.sh to update glibc-branch.diff
+#Patch100:     %{name}-branch.diff
 Patch0:                %{name}-info.patch
-Patch1:                %{name}-cloog.patch
 Patch2:                %{name}-nodebug.patch
 Patch3:                %{name}-ada-link.patch
-Patch4:                %{name}-libjava-multilib.patch
-Patch5:                %{name}-enable-java-awt-qt.patch
-Patch6:                %{name}-install-libffi.patch
-Patch100:      %{name}-branch.diff
+
+Patch7:                %{name}-libjava-multilib.patch
+Patch8:                %{name}-enable-java-awt-qt.patch
+Patch11:       %{name}-install-libffi.patch
 URL:           http://gcc.gnu.org/
 BuildRequires: autoconf >= 2.64
-%{?with_tests:BuildRequires:   autogen}
-BuildRequires: automake >= 1:1.9.3
-# binutils 2.17.50.0.9 or newer are required for fixing PR middle-end/20218.
-BuildRequires: binutils >= 3:2.17.50.0.9-1
+%{?with_tests:BuildRequires:   autogen >= 5.5.4}
+BuildRequires: automake >= 1:1.11.1
+BuildRequires: binutils >= 3:2.23
 BuildRequires: bison
 BuildRequires: chrpath >= 0.13-2
-BuildRequires: cloog-isl-devel >= 0.17.0
-BuildRequires: cloog-isl-devel < 0.19
-%{?with_tests:BuildRequires:   dejagnu}
+%{?with_tests:BuildRequires:   dejagnu >= 1.4.4}
 BuildRequires: elfutils-devel >= 0.145-1
 BuildRequires: fileutils >= 4.0.41
-BuildRequires: flex
+BuildRequires: flex >= 2.5.4
 %if %{with ada}
 BuildRequires: gcc(ada)
 BuildRequires: gcc-ada
 %endif
-BuildRequires: gettext-devel
+BuildRequires: gdb
+BuildRequires: gettext-tools >= 0.14.5
 BuildRequires: glibc-devel >= 6:2.4-1
 %if %{with multilib}
+# Formerly known as gcc(multilib)
 BuildRequires: gcc(multilib)
 %ifarch %{x8664}
 BuildRequires: glibc-devel(ix86)
 %endif
+%ifarch aarch64
+BuildRequires: glibc-devel(arm)
 %endif
-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
+%endif
+BuildRequires: gmp-c++-devel >= 4.3.2
+BuildRequires: gmp-devel >= 4.3.2
+BuildRequires: isl-devel >= 0.15
+BuildRequires: java-ecj >= %{ecj_ver}
+BuildRequires: libmpc-devel >= 0.8.1
+BuildRequires: mpfr-devel >= 2.4.2
 %if %{with python}
 BuildRequires: python-devel
 BuildRequires: rpm-pythonprov
 %endif
 BuildRequires: rpmbuild(macros) >= 1.211
-BuildRequires: texinfo >= 4.1
+BuildRequires: texinfo >= 4.7
 BuildRequires: zlib-devel
 %if %{with java}
 %{?with_alsa:BuildRequires:    alsa-lib-devel}
@@ -160,6 +174,7 @@ BuildRequires:      zlib-devel
 BuildRequires: dssi-devel
 BuildRequires: jack-audio-connection-kit-devel
 %endif
+BuildRequires: libtool >= 2:2
 BuildRequires: libxml2-devel >= 1:2.6.8
 BuildRequires: libxslt-devel >= 1.1.11
 BuildRequires: perl-base
@@ -169,22 +184,31 @@ BuildRequires:    sed >= 4.0
 BuildRequires: unzip
 BuildRequires: zip
 %if %{with gtk}
-BuildRequires: cairo-devel >= 0.5.0
-BuildRequires: gtk+2-devel >= 2:2.4.0
-BuildRequires: libart_lgpl-devel
+BuildRequires: cairo-devel >= 1.1.8
+BuildRequires: freetype-devel >= 2
+BuildRequires: gdk-pixbuf2-devel >= 2.0
+BuildRequires: gtk+2-devel >= 2:2.8
+BuildRequires: libart_lgpl-devel >= 2.1
 BuildRequires: pango-devel
+BuildRequires: xorg-lib-libXrandr-devel
+BuildRequires: xorg-lib-libXrender-devel
 BuildRequires: xorg-lib-libXt-devel
 BuildRequires: xorg-lib-libXtst-devel
 %endif
 %if %{with qt}
-BuildRequires: QtGui-devel >= 4.0.1
-BuildRequires: qt4-build >= 4.0.1
+BuildRequires: QtCore-devel >= 4.1.0
+BuildRequires: QtGui-devel >= 4.1.0
+BuildRequires: qt4-build >= 4.1.0
 %endif
 %{?with_mozilla:BuildRequires: xulrunner-devel >= 1.8.1.3-1.20070321.5}
 %endif
 BuildConflicts:        pdksh < 5.2.14-50
 Requires:      binutils >= 3:2.23
+Requires:      gmp >= 4.3.2
+Requires:      isl >= 0.15
 Requires:      libgcc = %{epoch}:%{version}-%{release}
+Requires:      libmpc >= 0.8.1
+Requires:      mpfr >= 2.4.2
 Provides:      cpp = %{epoch}:%{version}-%{release}
 %{?with_ada:Provides:  gcc(ada)}
 Obsoletes:     cpp
@@ -214,7 +238,9 @@ 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      '.*(libcc1plugin|libgo|libxmlj|lib-gnu-awt-xlib|libmpxwrappers)\.so.*'
+# private symbols
+%define                _noautoreq              .*\(GLIBC_PRIVATE\)
 
 %description
 A compiler aimed at integrating all the optimizations and features
@@ -251,13 +277,13 @@ Summary:  GNU Compiler Collection: the C compiler 32-bit support
 Summary(pl.UTF-8):     Kolekcja kompilatorów GNU: obsługa binariów 32-bitowych dla kompilatora C
 License:       GPL v3+
 Group:         Development/Languages
-Requires:      %{name}
+Requires:      %{name} = %{epoch}:%{version}-%{release}
 Requires:      libgcc-multilib = %{epoch}:%{version}-%{release}
-%{?with_multilib:Provides:     gcc(multilib)}
 Obsoletes:     libgcc32
 %ifarch %{x8664}
 Requires:      glibc-devel(ix86)
 %endif
+Provides:      gcc(multilib)
 
 %description multilib
 A compiler aimed at integrating all the optimizations and features
@@ -278,7 +304,7 @@ Summary:    Shared gcc library
 Summary(es.UTF-8):     Biblioteca compartida de gcc
 Summary(pl.UTF-8):     Biblioteka gcc
 Summary(pt_BR.UTF-8):  Biblioteca runtime para o GCC
-License:       GPL v2+ with unlimited link permission
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
 Group:         Libraries
 Obsoletes:     libgcc1
 Obsoletes:     libgcc4
@@ -298,7 +324,7 @@ Biblioteca runtime para o GCC.
 %package -n libgcc-multilib
 Summary:       Shared gcc library - 32-bit version
 Summary(pl.UTF-8):     Biblioteka gcc - wersja 32-bitowa
-License:       GPL v2+ with unlimited link permission
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
 Group:         Libraries
 
 %description -n libgcc-multilib
@@ -310,7 +336,7 @@ Biblioteka dynamiczna gcc - wersja 32-bitowa.
 %package -n libgomp
 Summary:       GNU OpenMP library
 Summary(pl.UTF-8):     Biblioteka GNU OpenMP
-License:       LGPL v2.1+ with unlimited link permission
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
 Group:         Libraries
 
 %description -n libgomp
@@ -319,22 +345,10 @@ GNU OpenMP library.
 %description -n libgomp -l pl.UTF-8
 Biblioteka GNU OpenMP.
 
-%package -n libgomp-multilib
-Summary:       GNU OpenMP library - 32-bit version
-Summary(pl.UTF-8):     Biblioteka GNU OpenMP - wersja 32-bitowa
-License:       LGPL v2.1+ with unlimited link permission
-Group:         Libraries
-
-%description -n libgomp-multilib
-GNU OpenMP library - 32-bit version.
-
-%description -n libgomp-multilib -l pl.UTF-8
-Biblioteka GNU OpenMP - wersja 32-bitowa.
-
 %package -n libgomp-devel
 Summary:       Development files for GNU OpenMP library
 Summary(pl.UTF-8):     Pliki programistyczne biblioteki GNU OpenMP
-License:       LGPL v2.1+ with unlimited link permission
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
 Group:         Development/Libraries
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Requires:      libgomp = %{epoch}:%{version}-%{release}
@@ -345,23 +359,10 @@ Development files for GNU OpenMP library.
 %description -n libgomp-devel -l pl.UTF-8
 Pliki programistyczne biblioteki GNU OpenMP.
 
-%package -n libgomp-multilib-devel
-Summary:       Development files for 32-bit version of GNU OpenMP library
-Summary(pl.UTF-8):     Pliki programistyczne wersji 32-bitowej biblioteki GNU OpenMP
-License:       LGPL v2.1+ with unlimited link permission
-Group:         Development/Libraries
-Requires:      libgomp-devel = %{epoch}:%{version}-%{release}
-
-%description -n libgomp-multilib-devel
-Development files for 32-bit version of GNU OpenMP library.
-
-%description -n libgomp-multilib-devel -l pl.UTF-8
-Pliki programistyczne wersji 32-bitowej biblioteki GNU OpenMP.
-
 %package -n libgomp-static
 Summary:       Static GNU OpenMP library
 Summary(pl.UTF-8):     Statyczna biblioteka GNU OpenMP
-License:       LGPL v2.1+ with unlimited link permission
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
 Group:         Development/Libraries
 Requires:      libgomp-devel = %{epoch}:%{version}-%{release}
 
@@ -371,12 +372,37 @@ Static GNU OpenMP library.
 %description -n libgomp-static -l pl.UTF-8
 Statyczna biblioteka GNU OpenMP.
 
+%package -n libgomp-multilib
+Summary:       GNU OpenMP library - 32-bit version
+Summary(pl.UTF-8):     Biblioteka GNU OpenMP - wersja 32-bitowa
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
+Group:         Libraries
+
+%description -n libgomp-multilib
+GNU OpenMP library - 32-bit version.
+
+%description -n libgomp-multilib -l pl.UTF-8
+Biblioteka GNU OpenMP - wersja 32-bitowa.
+
+%package -n libgomp-multilib-devel
+Summary:       Development files for 32-bit version of GNU OpenMP library
+Summary(pl.UTF-8):     Pliki programistyczne wersji 32-bitowej biblioteki GNU OpenMP
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
+Group:         Development/Libraries
+Requires:      libgomp-devel = %{epoch}:%{version}-%{release}
+
+%description -n libgomp-multilib-devel
+Development files for 32-bit version of GNU OpenMP library.
+
+%description -n libgomp-multilib-devel -l pl.UTF-8
+Pliki programistyczne wersji 32-bitowej biblioteki GNU OpenMP.
+
 %package -n libgomp-multilib-static
 Summary:       Static GNU OpenMP library - 32-bit version
 Summary(pl.UTF-8):     Statyczna biblioteka GNU OpenMP - wersja 32-bitowa
-License:       LGPL v2.1+ with unlimited link permission
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
 Group:         Development/Libraries
-Requires:      libgomp-multilib-devel
+Requires:      libgomp-multilib-devel = %{epoch}:%{version}-%{release}
 
 %description -n libgomp-multilib-static
 Static GNU OpenMP library - 32-bit version.
@@ -384,106 +410,101 @@ 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
-License:       GPL v2+ with unlimited link permission
+%package -n libcilkrts
+Summary:       GCC Cilk Plus language extensions runtime library
+Summary(pl.UTF-8):     Biblioteka uruchomieniowa rozszerzeń Cilk Plus dla GCC
+License:       BSD
 Group:         Libraries
+Requires:      libstdc++ = %{epoch}:%{version}-%{release}
 
-%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 Plus C/C++ language extensions 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.
+%description -n libcilkrts -l pl.UTF-8
+Ten pakiet zawiera bibliotekę uruchomieniową rozszerzeń Cilk Plus dla
+języków C/C++.
 
-%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
-License:       GPL v2+ with unlimited link permission
-Group:         Libraries
+%package -n libcilkrts-devel
+Summary:       GCC development files for Cilk Plus language extensions
+Summary(pl.UTF-8):     Pliki programistyczne GCC dla rozszerzeń Cilk Plus
+License:       BSD
+Group:         Development/Libraries
+Requires:      libcilkrts = %{epoch}:%{version}-%{release}
 
-%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 libcilkrts-devel
+This package contains development files for Cilk Plus C/C++ language
+extensions.
 
-%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-devel -l pl.UTF-8
+Ten pakiet zawiera pliki programistyczne rozszerzeń Cilk Plus dla
+języków C/C++.
 
-%package -n libmudflap-devel
-Summary:       Development files for GCC mudflap libraries
-Summary(pl.UTF-8):     Pliki programistyczne bibliotek GCC mudflap
-License:       GPL v2+ with unlimited link permission
-Group:         Development/Libraries
-Requires:      libmudflap = %{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 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
-License:       GPL v2+ with unlimited link permission
+%package -n libcilkrts-static
+Summary:       GCC Cilk Plus language extensions static library
+Summary(pl.UTF-8):     Biblioteka statyczna rozszerzeń Cilk Plus dla GCC
+License:       BSD
 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.
-
-%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.
-
-%package -n libmudflap-static
-Summary:       Static GCC mudflap libraries
-Summary(pl.UTF-8):     Statyczne biblioteki GCC mudflap
-License:       GPL v2+ with unlimited link permission
+Requires:      libcilkrts-devel = %{epoch}:%{version}-%{release}
+
+%description -n libcilkrts-static
+This package contains Cilk Plus C/C++ language extensions static
+library.
+
+%description -n libcilkrts-static -l pl.UTF-8
+Ten pakiet zawiera bibliotekę statyczną rozszerzeń Cilk Plus dla
+języków C/C++.
+
+%package -n libcilkrts-multilib
+Summary:       GCC Cilk Plus language extensions runtime library - 32-bit version
+Summary(pl.UTF-8):     Biblioteka uruchomieniowa rozszerzeń Cilk Plus dla GCC - wersja 32-bitowa
+License:       BSD
+Group:         Libraries
+Requires:      libstdc++-multilib = %{epoch}:%{version}-%{release}
+
+%description -n libcilkrts-multilib
+This package contains the Cilk Plus C/C++ language extensions runtime
+library in 32-bit version.
+
+%description -n libcilkrts-multilib -l pl.UTF-8
+Ten pakiet zawiera bibliotekę uruchomieniową rozszerzeń Cilk Plus dla
+języków C/C++. W tym pakiecie znajduje się wersja 32-bitowa.
+
+%package -n libcilkrts-multilib-devel
+Summary:       GCC development files for Cilk Plus language extensions - 32-bit version
+Summary(pl.UTF-8):     Pliki programistyczne GCC dla rozszerzeń Cilk Plus - wersja 32-bitowa
+License:       BSD
 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.
-
-%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.
-
-%package -n libmudflap-multilib-static
-Summary:       Static GCC mudflap libraries - 32-bit version
-Summary(pl.UTF-8):     Statyczne biblioteki GCC mudflap - wersje 32-bitowa
-License:       GPL v2+ with unlimited link permission
+Requires:      libcilkrts-devel = %{epoch}:%{version}-%{release}
+Requires:      libcilkrts-multilib = %{epoch}:%{version}-%{release}
+
+%description -n libcilkrts-multilib-devel
+This package contains development files for Cilk Plus C/C++ language
+extensions in 32-bit version.
+
+%description -n libcilkrts-multilib-devel -l pl.UTF-8
+Ten pakiet zawiera pliki programistyczne rozszerzeń Cilk Plus dla
+języków C/C++. W tym pakiecie znajduje się wersja 32-bitowa.
+
+%package -n libcilkrts-multilib-static
+Summary:       GCC Cilk Plus language extensions static library - 32-bit version
+Summary(pl.UTF-8):     Biblioteka statyczna rozszerzeń Cilk Plus dla GCC - wersja 32-bitowa
+License:       BSD
 Group:         Development/Libraries
-Requires:      libmudflap-multilib-devel = %{epoch}:%{version}-%{release}
+Requires:      libcilkrts-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 libcilkrts-multilib-static
+This package contains the Cilk Plus C/C++ language extensions static
+library in 32-bit version.
 
-%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.
+%description -n libcilkrts-multilib-static -l pl.UTF-8
+Ten pakiet zawiera bibliotekę statyczną rozszerzeń Cilk Plus dla
+języków C/C++. W tym pakiecie znajduje się wersja 32-bitowa.
 
 %package ada
-Summary:       Ada support for gcc
-Summary(es.UTF-8):     Soporte de Ada para gcc
-Summary(pl.UTF-8):     Obsługa Ady do gcc
+Summary:       Ada language support for GCC
+Summary(es.UTF-8):     Soporte de Ada para GCC
+Summary(pl.UTF-8):     Obsługa języka Ada do GCC
 Group:         Development/Languages
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Requires:      libgnat = %{epoch}:%{version}-%{release}
@@ -502,8 +523,8 @@ Ten pakiet dodaje eksperymentalne wsparcie dla kompilacji programów w
 Adzie.
 
 %package ada-multilib
-Summary:       Ada 32-bit support for gcc
-Summary(pl.UTF-8):     Obsługa 32-bitowych binariów Ady dla gcc
+Summary:       Ada language 32-bit binaries support for GCC
+Summary(pl.UTF-8):     Obsługa 32-bitowych binariów w języku Ada dla GCC
 Group:         Development/Languages
 Requires:      %{name}-ada = %{epoch}:%{version}-%{release}
 Requires:      libgnat-multilib = %{epoch}:%{version}-%{release}
@@ -514,14 +535,15 @@ programs on 64-bit host.
 
 %description ada-multilib -l pl.UTF-8
 Ten pakiet dodaje eksperymentalną obsługę kompilacji programów
-32-bitowych w Adzie na maszynie 64-bitowej.
+32-bitowych w języku Ada na maszynie 64-bitowej.
 
 %package -n libgnat
 Summary:       Ada standard libraries
 Summary(es.UTF-8):     Bibliotecas estándares de Ada
-Summary(pl.UTF-8):     Biblioteki standardowe dla Ady
-License:       GPL v2+ with linking exception
+Summary(pl.UTF-8):     Biblioteki standardowe Ady
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
 Group:         Libraries
+Requires:      libgcc = %{epoch}:%{version}-%{release}
 Obsoletes:     gnat
 Obsoletes:     libgnat1
 
@@ -537,24 +559,10 @@ ejecutar programas escritos en Ada.
 Ten pakiet zawiera biblioteki potrzebne do uruchamiania programów
 napisanych w Adzie.
 
-%package -n libgnat-multilib
-Summary:       Ada standard libraries - 32-bit version
-Summary(pl.UTF-8):     Biblioteki standardowe dla Ady - wersja 32-bitowa
-License:       GPL v2+ with linking exception
-Group:         Libraries
-
-%description -n libgnat-multilib
-This package contains 32-bit version of shared libraries needed to run
-programs written in Ada.
-
-%description -n libgnat-multilib -l pl.UTF-8
-Ten pakiet zawiera wersje 32-bitowe bibliotek potrzebnych do
-uruchamiania programów napisanych w Adzie.
-
 %package -n libgnat-static
 Summary:       Static Ada standard libraries
 Summary(pl.UTF-8):     Statyczne biblioteki standardowe dla Ady
-License:       GPL v2+ with linking exception
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
 Group:         Development/Libraries
 Obsoletes:     gnat-static
 
@@ -565,10 +573,25 @@ This package contains static libraries for programs written in Ada.
 Ten pakiet zawiera biblioteki statyczne dla programów napisanych w
 Adzie.
 
+%package -n libgnat-multilib
+Summary:       Ada standard libraries - 32-bit version
+Summary(pl.UTF-8):     Biblioteki standardowe dla Ady - wersja 32-bitowa
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
+Group:         Libraries
+Requires:      libgcc-multilib = %{epoch}:%{version}-%{release}
+
+%description -n libgnat-multilib
+This package contains 32-bit version of shared libraries needed to run
+programs written in Ada.
+
+%description -n libgnat-multilib -l pl.UTF-8
+Ten pakiet zawiera wersje 32-bitowe bibliotek potrzebnych do
+uruchamiania programów napisanych w języku Ada.
+
 %package -n libgnat-multilib-static
 Summary:       Static Ada standard libraries - 32-bit version
 Summary(pl.UTF-8):     Statyczne biblioteki standardowe dla Ady - wersje 32-bitowe
-License:       GPL v2+ with linking exception
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
 Group:         Development/Libraries
 
 %description -n libgnat-multilib-static
@@ -580,10 +603,10 @@ Ten pakiet zawiera 32-bitowe wersje bibliotek statycznych dla
 programów napisanych w Adzie.
 
 %package c++
-Summary:       C++ support for gcc
-Summary(es.UTF-8):     Soporte de C++ para gcc
-Summary(pl.UTF-8):     Obsługa C++ dla gcc
-Summary(pt_BR.UTF-8):  Suporte C++ para o gcc
+Summary:       C++ language support for GCC
+Summary(es.UTF-8):     Soporte de C++ para GCC
+Summary(pl.UTF-8):     Obsługa języka C++ dla GCC
+Summary(pt_BR.UTF-8):  Suporte C++ para o GCC
 Group:         Development/Languages
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Obsoletes:     egcc-c++
@@ -616,9 +639,9 @@ C++, dont les modéles et la gestion des exceptions. Il ne comprend pas
 une bibliothéque C++ standard, qui est disponible séparément.
 
 %description c++ -l pl.UTF-8
-Ten pakiet dodaje obsługę C++ do kompilatora gcc. Ma wsparcie dla
-dużej ilości obecnych specyfikacji C++, nie zawiera natomiast
-standardowych bibliotek C++, które są w oddzielnym pakiecie.
+Ten pakiet dodaje obsługę C++ do kompilatora GCC. Wspiera większość
+obecnej specyfikacji C++, nie zawiera natomiast standardowych
+bibliotek C++, które są w oddzielnym pakiecie.
 
 %description c++ -l pt_BR.UTF-8
 Este pacote adiciona suporte C++ para o gcc.
@@ -629,24 +652,26 @@ aykırı durum işleme gibi çoğu güncel C++ tanımlarına uyar. Standart
 C++ kitaplığı bu pakette yer almaz.
 
 %package c++-multilib
-Summary:       C++ 32-bit support for gcc
-Summary(pl.UTF-8):     Obsługa 32-bitowych binariów C++ dla gcc
+Summary:       C++ language 32-bit binaries support for GCC
+Summary(pl.UTF-8):     Obsługa 32-bitowych binariów w języku C++ dla GCC
 Group:         Development/Languages
 Requires:      %{name}-c++ = %{epoch}:%{version}-%{release}
 Requires:      %{name}-multilib = %{epoch}:%{version}-%{release}
 
 %description c++-multilib
-This package adds 32-bit C++ support to the GNU Compiler Collection.
+This package adds 32-bit binaries in C++ language support to the GNU
+Compiler Collection.
 
 %description c++-multilib -l pl.UTF-8
-Ten pakiet dodaje obsługę 32-bitowych binariów C++ do kompilatora gcc.
+Ten pakiet dodaje obsługę 32-bitowych binariów w języku C++ do
+kompilatora GCC.
 
 %package -n libstdc++
 Summary:       GNU C++ library
 Summary(es.UTF-8):     Biblioteca C++ de GNU
-Summary(pl.UTF-8):     Biblioteki GNU C++
+Summary(pl.UTF-8):     Biblioteka GNU C++
 Summary(pt_BR.UTF-8):  Biblioteca C++ GNU
-License:       GPL v2+ with free software exception
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
 Group:         Libraries
 # >= instead of = to allow keeping older libstdc++ (with different soname)
 Requires:      libgcc >= %{epoch}:%{version}-%{release}
@@ -655,8 +680,8 @@ Obsoletes:  libstdc++3
 Obsoletes:     libstdc++4
 
 %description -n libstdc++
-This is the GNU implementation of the standard C++ libraries, along
-with additional GNU tools. This package includes the shared libraries
+This is the GNU implementation of the standard C++ library, along with
+additional GNU tools. This package includes the shared libraries
 necessary to run C++ applications.
 
 %description -n libstdc++ -l de.UTF-8
@@ -675,9 +700,9 @@ des outils GNU supplémentaires. Ce package comprend les librairies
 partagées nécessaires à l'exécution d'application C++.
 
 %description -n libstdc++ -l pl.UTF-8
-Pakiet ten zawiera biblioteki będące implementacją standardowych
-bibliotek C++. Znajdują się w nim biblioteki dynamiczne niezbędne do
-uruchomienia aplikacji napisanych w C++.
+Ten pakiet zawiera bibliotekę będącą implementacją standardowej
+biblioteki C++. Znajduje się w nim biblioteka dynamiczna niezbędne do
+uruchamiania aplikacji napisanych w C++.
 
 %description -n libstdc++ -l pt_BR.UTF-8
 Este pacote é uma implementação da biblioteca padrão C++ v3, um
@@ -687,35 +712,6 @@ subconjunto do padrão ISO 14882.
 Bu paket, standart C++ kitaplıklarının GNU gerçeklemesidir ve C++
 uygulamalarının koşturulması için gerekli kitaplıkları içerir.
 
-%package -n libstdc++-multilib
-Summary:       GNU C++ library - 32-bit version
-Summary(pl.UTF-8):     Biblioteka GNU C++ - wersja 32-bitowa
-License:       GPL v2+ with free software exception
-Group:         Libraries
-# >= instead of = to allow keeping older libstdc++ (with different soname)
-Requires:      libgcc-multilib >= %{epoch}:%{version}-%{release}
-
-%description -n libstdc++-multilib
-This is 32-bit version of the GNU implementation of the standard C++
-library.
-
-%description -n libstdc++-multilib -l pl.UTF-8
-Ten pakiet ten zawiera 32-bitową wersję implementacji GNU biblioteki
-standardowej C++.
-
-%package -n libstdc++-gdb
-Summary:       libstdc++ pretty printers for GDB
-Summary(pl.UTF-8):     Funkcje wypisujące dane libstdc++ dla GDB
-Group:         Development/Debuggers
-
-%description -n libstdc++-gdb
-This package contains Python scripts for GDB pretty printing of the
-libstdc++ types/containers.
-
-%description -n libstdc++-gdb -l pl.UTF-8
-Ten pakiet zawiera skrypty Pythona dla GDB służące do ładnego
-wypisywania typów i kontenerów libstdc++.
-
 %package -n libstdc++-devel
 Summary:       Header files and documentation for C++ development
 Summary(de.UTF-8):     Header-Dateien zur Entwicklung mit C++
@@ -724,7 +720,7 @@ Summary(fr.UTF-8):  Fichiers d'en-tête et biblitothèques pour développer en C+
 Summary(pl.UTF-8):     Pliki nagłówkowe i dokumentacja do biblioteki standardowej C++
 Summary(pt_BR.UTF-8):  Arquivos de inclusão e bibliotecas para o desenvolvimento em C++
 Summary(tr.UTF-8):     C++ ile program geliştirmek için gerekli dosyalar
-License:       GPL v2+ with free software exception
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
 Group:         Development/Libraries
 Requires:      %{name}-c++ = %{epoch}:%{version}-%{release}
 Requires:      glibc-devel
@@ -752,28 +748,11 @@ programowaniu w języku C++ oraz dokumentacja biblioteki standardowej.
 Este pacote inclui os arquivos de inclusão e bibliotecas necessárias
 para desenvolvimento de programas C++.
 
-%package -n libstdc++-multilib-devel
-Summary:       Development files for C++ development - 32-bit version
-Summary(pl.UTF-8):     Pliki programistyczne biblioteki standardowej C++ - wersja 32-bitowa
-License:       GPL v2+ with free software exception
-Group:         Development/Libraries
-Requires:      %{name}-c++-multilib = %{epoch}:%{version}-%{release}
-Requires:      libstdc++-devel = %{epoch}:%{version}-%{release}
-Requires:      libstdc++-multilib = %{epoch}:%{version}-%{release}
-
-%description -n libstdc++-multilib-devel
-This package contains the development files for 32-bit version of the
-GNU implementation of the standard C++ library.
-
-%description -n libstdc++-multilib-devel -l pl.UTF-8
-Ten pakiet zawiera pliki programistyczne 32-bitowej wersji
-implementacji GNU biblioteki standardowej C++.
-
 %package -n libstdc++-static
 Summary:       Static C++ standard library
 Summary(es.UTF-8):     Biblioteca estándar estática de C++
 Summary(pl.UTF-8):     Statyczna biblioteka standardowa C++
-License:       GPL v2+ with free software exception
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
 Group:         Development/Libraries
 Requires:      libstdc++-devel = %{epoch}:%{version}-%{release}
 Obsoletes:     libstdc++4-static
@@ -787,10 +766,43 @@ Biblioteca estándar estática de C++.
 %description -n libstdc++-static -l pl.UTF-8
 Statyczna biblioteka standardowa C++.
 
+%package -n libstdc++-multilib
+Summary:       GNU C++ library - 32-bit version
+Summary(pl.UTF-8):     Biblioteka GNU C++ - wersja 32-bitowa
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
+Group:         Libraries
+# >= instead of = to allow keeping older libstdc++ (with different soname)
+Requires:      libgcc-multilib >= %{epoch}:%{version}-%{release}
+
+%description -n libstdc++-multilib
+This is 32-bit version of the GNU implementation of the standard C++
+library.
+
+%description -n libstdc++-multilib -l pl.UTF-8
+Ten pakiet ten zawiera 32-bitową wersję implementacji GNU biblioteki
+standardowej C++.
+
+%package -n libstdc++-multilib-devel
+Summary:       Development files for C++ development - 32-bit version
+Summary(pl.UTF-8):     Pliki programistyczne biblioteki standardowej C++ - wersja 32-bitowa
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
+Group:         Development/Libraries
+Requires:      %{name}-c++-multilib = %{epoch}:%{version}-%{release}
+Requires:      libstdc++-devel = %{epoch}:%{version}-%{release}
+Requires:      libstdc++-multilib = %{epoch}:%{version}-%{release}
+
+%description -n libstdc++-multilib-devel
+This package contains the development files for 32-bit version of the
+GNU implementation of the standard C++ library.
+
+%description -n libstdc++-multilib-devel -l pl.UTF-8
+Ten pakiet zawiera pliki programistyczne 32-bitowej wersji
+implementacji GNU biblioteki standardowej C++.
+
 %package -n libstdc++-multilib-static
 Summary:       Static C++ standard library - 32-bit version
 Summary(pl.UTF-8):     Statyczna biblioteka standardowa C++ - wersja 32-bitowa
-License:       GPL v2+ with free software exception
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
 Group:         Development/Libraries
 Requires:      libstdc++-multilib-devel = %{epoch}:%{version}-%{release}
 
@@ -800,9 +812,23 @@ Static C++ standard library - 32-bit version.
 %description -n libstdc++-multilib-static -l pl.UTF-8
 Statyczna biblioteka standardowa C++ - wersja 32-bitowa.
 
+%package -n libstdc++-gdb
+Summary:       libstdc++ pretty printers for GDB
+Summary(pl.UTF-8):     Funkcje wypisujące dane libstdc++ dla GDB
+Group:         Development/Debuggers
+
+%description -n libstdc++-gdb
+This package contains Python scripts for GDB pretty printing of the
+libstdc++ types/containers.
+
+%description -n libstdc++-gdb -l pl.UTF-8
+Ten pakiet zawiera skrypty Pythona dla GDB służące do ładnego
+wypisywania typów i kontenerów libstdc++.
+
 %package -n libstdc++-apidocs
 Summary:       C++ standard library API documentation
 Summary(pl.UTF-8):     Dokumentacja API biblioteki standardowej C++
+License:       FDL v1.3 (mainly), GPL v3+ (doxygen generated parts)
 Group:         Documentation
 %if "%{_rpmversion}" >= "5"
 BuildArch:     noarch
@@ -815,9 +841,9 @@ API and internal documentation for C++ standard library.
 Dokumentacja API i wewnętrzna biblioteki standardowej C++.
 
 %package fortran
-Summary:       Fortran 95 support for gcc
-Summary(es.UTF-8):     Soporte de Fortran 95 para gcc
-Summary(pl.UTF-8):     Obsługa Fortranu 95 dla gcc
+Summary:       Fortran 95 language support for GCC
+Summary(es.UTF-8):     Soporte de Fortran 95 para GCC
+Summary(pl.UTF-8):     Obsługa języka Fortran 95 dla GCC
 Summary(pt_BR.UTF-8):  Suporte Fortran 95 para o GCC
 Group:         Development/Languages/Fortran
 Requires:      %{name} = %{epoch}:%{version}-%{release}
@@ -836,15 +862,14 @@ Este paquete añade soporte para compilar programas escritos en Fortran
 95 con el compilador GNU.
 
 %description fortran -l pl.UTF-8
-Ten pakiet dodaje obsługę Fortranu 95 do kompilatora gcc. Jest
-potrzebny do kompilowania programów pisanych w języku Fortran 95.
+Ten pakiet dodaje obsługę języka Fortran 95 do kompilatora GCC.
 
 %description fortran -l pt_BR.UTF-8
 Suporte Fortran 95 para o GCC.
 
 %package fortran-multilib
-Summary:       Fortran 95 32-bit support for gcc
-Summary(pl.UTF-8):     Obsługa binariów 32-bitowych Fortranu 95 dla gcc
+Summary:       Fortran 95 language 32-bit binaries support for GCC
+Summary(pl.UTF-8):     Obsługa binariów 32-bitowych w języku Fortran 95 dla GCC
 Group:         Development/Languages/Fortran
 Requires:      %{name}-fortran = %{epoch}:%{version}-%{release}
 Requires:      libgfortran-multilib = %{epoch}:%{version}-%{release}
@@ -862,8 +887,9 @@ kompilatora gcc.
 Summary:       Fortran 95 Library
 Summary(es.UTF-8):     Biblioteca de Fortran 95
 Summary(pl.UTF-8):     Biblioteka Fortranu 95
-License:       GPL v2+ with unlimited link permission
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
 Group:         Libraries
+Requires:      libgcc = %{epoch}:%{version}-%{release}
 Requires:      libquadmath = %{epoch}:%{version}-%{release}
 Obsoletes:     libg2c
 
@@ -876,24 +902,11 @@ Biblioteca de Fortran 95.
 %description -n libgfortran -l pl.UTF-8
 Biblioteka Fortranu 95.
 
-%package -n libgfortran-multilib
-Summary:       Fortran 95 Library - 32-bit version
-Summary(pl.UTF-8):     Biblioteka Fortranu 95 - wersja 32-bitowa
-License:       GPL v2+ with unlimited link permission
-Group:         Libraries
-Requires:      libquadmath-multilib = %{epoch}:%{version}-%{release}
-
-%description -n libgfortran-multilib
-Fortran 95 Library - 32-bit version.
-
-%description -n libgfortran-multilib -l pl.UTF-8
-Biblioteka Fortranu 95 - wersja 32-bitowa.
-
 %package -n libgfortran-static
 Summary:       Static Fortran 95 Library
 Summary(es.UTF-8):     Bibliotecas estáticas de Fortran 95
 Summary(pl.UTF-8):     Statyczna Biblioteka Fortranu 95
-License:       GPL v2+ with unlimited link permission
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
 Group:         Development/Libraries
 Requires:      libgfortran = %{epoch}:%{version}-%{release}
 Obsoletes:     libg2c-static
@@ -907,10 +920,24 @@ Bibliotecas estáticas de Fortran 95.
 %description -n libgfortran-static -l pl.UTF-8
 Statyczna biblioteka Fortranu 95.
 
+%package -n libgfortran-multilib
+Summary:       Fortran 95 Library - 32-bit version
+Summary(pl.UTF-8):     Biblioteka Fortranu 95 - wersja 32-bitowa
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
+Group:         Libraries
+Requires:      libgcc-multilib = %{epoch}:%{version}-%{release}
+Requires:      libquadmath-multilib = %{epoch}:%{version}-%{release}
+
+%description -n libgfortran-multilib
+Fortran 95 Library - 32-bit version.
+
+%description -n libgfortran-multilib -l pl.UTF-8
+Biblioteka Fortranu 95 - wersja 32-bitowa.
+
 %package -n libgfortran-multilib-static
 Summary:       Static Fortran 95 Library - 32-bit version
 Summary(pl.UTF-8):     Statyczna Biblioteka Fortranu 95 - wersja 32-bitowa
-License:       GPL v2+ with unlimited link permission
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
 Group:         Development/Libraries
 Requires:      libgfortran-multilib = %{epoch}:%{version}-%{release}
 
@@ -923,7 +950,7 @@ Statyczna biblioteka Fortranu 95 - wersja 32-bitowa.
 %package -n libquadmath
 Summary:       GCC __float128 shared support library
 Summary(pl.UTF-8):     Biblioteka współdzielona do obsługi typu __float128
-License:       GPL v2+ with linking exception
+License:       LGPL v2.1+
 Group:         Libraries
 
 %description -n libquadmath
@@ -935,26 +962,10 @@ Ten pakiet zawiera bibliotekę współdzieloną GCC do obsługi operacji
 matematycznych na zmiennych typu __float128 oraz typu REAL*16 w
 Fortranie.
 
-%package -n libquadmath-multilib
-Summary:       GCC __float128 shared support library - 32-bit version
-Summary(pl.UTF-8):     Biblioteka współdzielona GCC do obsługi typu __float128 - wersja 32-bitowa
-License:       GPL v2+ with linking exception
-Group:         Libraries
-
-%description -n libquadmath-multilib
-This package contains 32-bit version of GCC shared support library
-which is needed for __float128 math support and for Fortran REAL*16
-support.
-
-%description -n libquadmath-multilib -l pl.UTF-8
-Ten pakiet zawiera 32-bitową bibliotekę współdzieloną GCC do obsługi
-operacji matematycznych na zmiennych typu __float128 oraz typu REAL*16
-w Fortranie.
-
 %package -n libquadmath-devel
 Summary:       Header files for GCC __float128 support library
 Summary(pl.UTF-8):     Pliki nagłówkowe biblioteka GCC do obsługi typu __float128
-License:       GPL v2+ with linking exception
+License:       LGPL v2.1+
 Group:         Development/Libraries
 Requires:      libquadmath = %{epoch}:%{version}-%{release}
 
@@ -967,41 +978,57 @@ Ten pakiet zawiera pliki nagłówkowe biblioteki GCC do obsługi operacji
 matematycznych na zmiennych typu __float128 oraz typu REAL*16 w
 Fortranie.
 
-%package -n libquadmath-multilib-devel
-Summary:       Development files for 32-bit GCC __float128 support library
-Summary(pl.UTF-8):     Pliki programistyczne 32-bitowej biblioteki do obsługi typu __float128
-License:       GPL v2+ with linking exception
+%package -n libquadmath-static
+Summary:       Static GCC __float128 support library
+Summary(pl.UTF-8):     Biblioteka statyczna GCC do obsługi typu __float128
+License:       LGPL v2.1+
 Group:         Development/Libraries
 Requires:      libquadmath-devel = %{epoch}:%{version}-%{release}
-Requires:      libquadmath-multilib = %{epoch}:%{version}-%{release}
 
-%description -n libquadmath-multilib-devel
-This package contains development files for 32-bit GCC support library
-which is needed for __float128 math support and for Fortran REAL*16
-support.
+%description -n libquadmath-static
+Static GCC __float128 support library.
 
-%description -n libquadmath-multilib-devel -l pl.UTF-8
-Ten pakiet zawiera pliki programistyczne 32-bitowej biblioteki GCC do
-obsługi operacji matematycznych na zmiennych typu __float128 oraz typu
-REAL*16 w Fortranie.
+%description -n libquadmath-static -l pl.UTF-8
+Biblioteka statyczna GCC do obsługi typu __float128.
 
-%package -n libquadmath-static
-Summary:       Static GCC __float128 support library
-Summary(pl.UTF-8):     Biblioteka statyczna GCC do obsługi typu __float128
-License:       GPL v2+ with linking exception
+%package -n libquadmath-multilib
+Summary:       GCC __float128 shared support library - 32-bit version
+Summary(pl.UTF-8):     Biblioteka współdzielona GCC do obsługi typu __float128 - wersja 32-bitowa
+License:       LGPL v2.1+
+Group:         Libraries
+
+%description -n libquadmath-multilib
+This package contains 32-bit version of GCC shared support library
+which is needed for __float128 math support and for Fortran REAL*16
+support.
+
+%description -n libquadmath-multilib -l pl.UTF-8
+Ten pakiet zawiera 32-bitową bibliotekę współdzieloną GCC do obsługi
+operacji matematycznych na zmiennych typu __float128 oraz typu REAL*16
+w Fortranie.
+
+%package -n libquadmath-multilib-devel
+Summary:       Development files for 32-bit GCC __float128 support library
+Summary(pl.UTF-8):     Pliki programistyczne 32-bitowej biblioteki do obsługi typu __float128
+License:       LGPL v2.1+
 Group:         Development/Libraries
 Requires:      libquadmath-devel = %{epoch}:%{version}-%{release}
+Requires:      libquadmath-multilib = %{epoch}:%{version}-%{release}
 
-%description -n libquadmath-static
-Static GCC __float128 support library.
+%description -n libquadmath-multilib-devel
+This package contains development files for 32-bit GCC support library
+which is needed for __float128 math support and for Fortran REAL*16
+support.
 
-%description -n libquadmath-static -l pl.UTF-8
-Biblioteka statyczna GCC do obsługi typu __float128.
+%description -n libquadmath-multilib-devel -l pl.UTF-8
+Ten pakiet zawiera pliki programistyczne 32-bitowej biblioteki GCC do
+obsługi operacji matematycznych na zmiennych typu __float128 oraz typu
+REAL*16 w Fortranie.
 
 %package -n libquadmath-multilib-static
 Summary:       Static GCC __float128 support library - 32-bit version
 Summary(pl.UTF-8):     32-bitowa biblioteka statyczna GCC do obsługi typu __float128
-License:       GPL v2+ with linking exception
+License:       LGPL v2.1+
 Group:         Development/Libraries
 Requires:      libquadmath-multilib-devel = %{epoch}:%{version}-%{release}
 
@@ -1012,15 +1039,15 @@ Static GCC __float128 support library - 32-bit version.
 32-bitowa biblioteka statyczna GCC do obsługi typu __float128.
 
 %package java
-Summary:       Java support for gcc
-Summary(es.UTF-8):     Soporte de Java para gcc
-Summary(pl.UTF-8):     Obsługa Javy dla gcc
+Summary:       Java language support for GCC
+Summary(es.UTF-8):     Soporte de Java para GCC
+Summary(pl.UTF-8):     Obsługa języka Java dla GCC
 Group:         Development/Languages/Java
 Requires:      %{name} = %{epoch}:%{version}-%{release}
+Requires:      java-ecj >= %{ecj_ver}
 Requires:      libgcj-devel = %{epoch}:%{version}-%{release}
 Provides:      gcc-java-tools
 Provides:      gcj = %{epoch}:%{version}-%{release}
-Obsoletes:     eclipse-ecj
 Obsoletes:     gcc-java-tools
 Obsoletes:     java-gnu-classpath-tools
 
@@ -1059,11 +1086,22 @@ generujący z niego bazy danych.
 %package -n libgcj
 Summary:       Java Class Libraries
 Summary(es.UTF-8):     Bibliotecas de clases de Java
-Summary(pl.UTF-8):     Biblioteki Klas Javy
+Summary(pl.UTF-8):     Biblioteki klas Javy
 License:       GPL v2+ with limited linking exception
 Group:         Libraries
 Requires:      jpackage-utils
 Requires:      libstdc++ = %{epoch}:%{version}-%{release}
+Requires:      libxml2 >= 1:2.6.8
+Requires:      libxslt >= 1.1.11
+%if %{with gtk}
+Requires:      cairo >= 1.1.8
+Requires:      gtk+2 >= 2:2.8
+Requires:      libart_lgpl >= 2.1
+%endif
+%if %{with qt}
+Requires:      QtCore >= 4.1.0
+Requires:      QtGui >= 4.1.0
+%endif
 Provides:      java(ClassDataVersion) = %{_classdataversion}
 Obsoletes:     libgcj3
 
@@ -1074,12 +1112,12 @@ Java Class Libraries.
 Bibliotecas de clases de Java.
 
 %description -n libgcj -l pl.UTF-8
-Biblioteki Klas Javy.
+Biblioteki klas Javy.
 
 %package -n libgcj-devel
 Summary:       Development files for Java Class Libraries
 Summary(es.UTF-8):     Ficheros de desarrollo para las bibliotecas de clases de Java
-Summary(pl.UTF-8):     Pliki nagłówkowe dla Bibliotek Klas Javy
+Summary(pl.UTF-8):     Pliki nagłówkowe bibliotek klas Javy
 License:       GPL v2+ with limited linking exception
 Group:         Development/Libraries
 Requires:      libgcj = %{epoch}:%{version}-%{release}
@@ -1094,12 +1132,12 @@ Development files for Java Class Libraries.
 Ficheros de desarrollo para las bibliotecas de clases de Java.
 
 %description -n libgcj-devel -l pl.UTF-8
-Pliki nagłówkowe dla Bibliotek Klas Javy.
+Pliki nagłówkowe bibliotek klas Javy.
 
 %package -n libgcj-static
 Summary:       Static Java Class Libraries
 Summary(es.UTF-8):     Bibliotecas estáticas de clases de Java
-Summary(pl.UTF-8):     Statyczne Biblioteki Klas Javy
+Summary(pl.UTF-8):     Statyczne biblioteki klas Javy
 License:       GPL v2+ with limited linking exception
 Group:         Development/Libraries
 Requires:      libgcj-devel = %{epoch}:%{version}-%{release}
@@ -1111,12 +1149,12 @@ Static Java Class Libraries.
 Bibliotecas estáticas de clases de Java.
 
 %description -n libgcj-static -l pl.UTF-8
-Statyczne Biblioteki Klas Javy.
+Statyczne biblioteki klas Javy.
 
 %package -n libffi
 Summary:       Foreign Function Interface library
 Summary(es.UTF-8):     Biblioteca de interfaz de funciones ajenas
-Summary(pl.UTF-8):     Biblioteka zewnętrznych wywołań funkcji
+Summary(pl.UTF-8):     Biblioteka wywołań funkcji obcych
 License:       BSD-like
 Group:         Libraries
 
@@ -1133,28 +1171,10 @@ programador llame una función cualquiera especificada por una
 descripción de interfaz de llamada en el tiempo de ejecución.
 
 %description -n libffi -l pl.UTF-8
-Biblioteka libffi dostarcza przenośnego, wysokopoziomowego
-międzymordzia do różnych konwencji wywołań funkcji. Pozwala to
-programiście wywoływać dowolne funkcje podając konwencję wywołania w
-czasie wykonania.
-
-%package -n libffi-multilib
-Summary:       Foreign Function Interface library - 32-bit version
-Summary(pl.UTF-8):     Biblioteka zewnętrznych wywołań funkcji - wersja 32-bitowa
-License:       BSD-like
-Group:         Libraries
-
-%description -n libffi-multilib
-The libffi library provides a portable, high level programming
-interface to various calling conventions. This allows a programmer to
-call any function specified by a call interface description at run
-time. This package contains 32-bit version of the library.
-
-%description -n libffi-multilib -l pl.UTF-8
-Biblioteka libffi dostarcza przenośnego, wysokopoziomowego
-międzymordzia do różnych konwencji wywołań funkcji. Pozwala to
-programiście wywoływać dowolne funkcje podając konwencję wywołania w
-czasie wykonania. Ten pakiet zawiera wersję 32-bitową biblioteki.
+Biblioteka libffi dostarcza przenośny, wysokopoziomowy interfejs do
+różnych konwencji wywołań funkcji. Pozwala to programiście wywołać
+dowolną funkcję podaną przez opis interfejsu wywołania w czasie
+działania programu.
 
 %package -n libffi-devel
 Summary:       Development files for Foreign Function Interface library
@@ -1174,21 +1194,6 @@ Ficheros de desarrollo para libffi.
 %description -n libffi-devel -l pl.UTF-8
 Pliki nagłówkowe biblioteki libffi.
 
-%package -n libffi-multilib-devel
-Summary:       Development files for 32-bit version of Foreign Function Interface library
-Summary(pl.UTF-8):     Pliki programistyczne 32-bitowej wersji biblioteki libffi
-License:       BSD-like
-Group:         Development/Libraries
-Requires:      libffi-devel = %{epoch}:%{version}-%{release}
-Requires:      libffi-multilib = %{epoch}:%{version}-%{release}
-
-%description -n libffi-multilib-devel
-Development files for 32-bit version of Foreign Function Interface
-library.
-
-%description -n libffi-multilib-devel -l pl.UTF-8
-Pliki programistyczne 32-bitowej wersji biblioteki libffi.
-
 %package -n libffi-static
 Summary:       Static Foreign Function Interface library
 Summary(es.UTF-8):     Biblioteca libffi estática
@@ -1206,6 +1211,39 @@ Biblioteca libffi estática.
 %description -n libffi-static -l pl.UTF-8
 Statyczna biblioteka libffi.
 
+%package -n libffi-multilib
+Summary:       Foreign Function Interface library - 32-bit version
+Summary(pl.UTF-8):     Biblioteka wywołań funkcji obcych - wersja 32-bitowa
+License:       BSD-like
+Group:         Libraries
+
+%description -n libffi-multilib
+The libffi library provides a portable, high level programming
+interface to various calling conventions. This allows a programmer to
+call any function specified by a call interface description at run
+time. This package contains 32-bit version of the library.
+
+%description -n libffi-multilib -l pl.UTF-8
+Biblioteka libffi dostarcza przenośny, wysokopoziomowy interfejs do
+różnych konwencji wywołań funkcji. Pozwala to programiście wywołać
+dowolną funkcję podaną przez opis interfejsu wywołania w czasie
+działania programu. Ten pakiet zawiera wersję 32-bitową biblioteki.
+
+%package -n libffi-multilib-devel
+Summary:       Development files for 32-bit version of Foreign Function Interface library
+Summary(pl.UTF-8):     Pliki programistyczne 32-bitowej wersji biblioteki libffi
+License:       BSD-like
+Group:         Development/Libraries
+Requires:      libffi-devel = %{epoch}:%{version}-%{release}
+Requires:      libffi-multilib = %{epoch}:%{version}-%{release}
+
+%description -n libffi-multilib-devel
+Development files for 32-bit version of Foreign Function Interface
+library.
+
+%description -n libffi-multilib-devel -l pl.UTF-8
+Pliki programistyczne 32-bitowej wersji biblioteki libffi.
+
 %package -n libffi-multilib-static
 Summary:       Static Foreign Function Interface library - 32-bit version
 Summary(pl.UTF-8):     Statyczna biblioteka libffi - wersja 32-bitowa
@@ -1220,12 +1258,12 @@ Static Foreign Function Interface library - 32-bit version.
 Statyczna biblioteka libffi - wersja 32-bitowa.
 
 %package objc
-Summary:       Objective C support for gcc
-Summary(de.UTF-8):     Objektive C-Unterstützung für gcc
-Summary(es.UTF-8):     Soporte de Objective C para gcc
-Summary(fr.UTF-8):     Gestion d'Objective C pour gcc
-Summary(pl.UTF-8):     Obsługa obiektowego C dla kompilatora gcc
-Summary(tr.UTF-8):     gcc için Objective C desteği
+Summary:       Objective C language support for GCC
+Summary(de.UTF-8):     Objektive C-Unterstützung für GCC
+Summary(es.UTF-8):     Soporte de Objective C para GCC
+Summary(fr.UTF-8):     Gestion d'Objective C pour GCC
+Summary(pl.UTF-8):     Obsługa obiektowego C (Objective C) dla kompilatora GCC
+Summary(tr.UTF-8):     GCC için Objective C desteği
 Group:         Development/Languages
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Requires:      libobjc = %{epoch}:%{version}-%{release}
@@ -1258,9 +1296,9 @@ langage C, principalement utilisé sur les systèmes NeXTSTEP. Ce
 package n'inclue pas la bibliothéque Objective C standard.
 
 %description objc -l pl.UTF-8
-Ten pakiet dodaje obsługę obiektowego C do kompilatora gcc. Obiektowe
-C (objc) jest zorientowaną obiektowo pochodną języka C, używaną
-głównie w systemach używających NeXTSTEP. W pakiecie nie ma
+Ten pakiet dodaje obsługę obiektowego C do kompilatora GCC. Obiektowe
+C (Objective C, objc) jest zorientowaną obiektowo pochodną języka C,
+używaną głównie w systemach używających NeXTSTEP. W pakiecie nie ma
 standardowej biblioteki objc (która znajduje się w osobnym pakiecie).
 
 %description objc -l tr.UTF-8
@@ -1270,8 +1308,8 @@ sistemlerde yaygın olarak kullanılır. Standart Objective C nesne
 kitaplığı bu pakette yer almaz.
 
 %package objc-multilib
-Summary:       32-bit Objective C support for gcc
-Summary(pl.UTF-8):     Obsługa 32-bitowych binariów Objective C dla kompilatora gcc
+Summary:       Objective C language 32-bit binaries support for GCC
+Summary(pl.UTF-8):     Obsługa 32-bitowych binariów w języku Objective C dla kompilatora GCC
 Group:         Development/Languages
 Requires:      %{name}-multilib = %{epoch}:%{version}-%{release}
 Requires:      libobjc-multilib = %{epoch}:%{version}-%{release}
@@ -1282,11 +1320,11 @@ Collection.
 
 %description objc-multilib -l pl.UTF-8
 Ten pakiet dodaje obsługę 32-bitowych binariów Objective C do
-kompilatora gcc.
+kompilatora GCC.
 
 %package objc++
-Summary:       Objective C++ support for gcc
-Summary(pl.UTF-8):     Obsługa języka Objective C++ dla gcc
+Summary:       Objective C++ support for GCC
+Summary(pl.UTF-8):     Obsługa języka Objective C++ dla GCC
 Group:         Development/Languages
 Requires:      %{name}-c++ = %{epoch}:%{version}-%{release}
 Requires:      %{name}-objc = %{epoch}:%{version}-%{release}
@@ -1302,9 +1340,10 @@ GNU Compiler Collection.
 %package -n libobjc
 Summary:       Objective C Library
 Summary(es.UTF-8):     Biblioteca de Objective C
-Summary(pl.UTF-8):     Biblioteka Obiektowego C
-License:       GPL v2+ with linking exception
+Summary(pl.UTF-8):     Biblioteka obiektowego C (Objective C)
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
 Group:         Libraries
+Requires:      libgcc = %{epoch}:%{version}-%{release}
 Obsoletes:     libobjc1
 
 %description -n libobjc
@@ -1314,25 +1353,13 @@ Objective C Library.
 Bibliotecas de Objective C.
 
 %description -n libobjc -l pl.UTF-8
-Biblioteka Obiektowego C.
-
-%package -n libobjc-multilib
-Summary:       Objective C Library - 32-bit version
-Summary(pl.UTF-8):     Biblioteka Obiektowego C - wersja 32-bitowa
-License:       GPL v2+ with linking exception
-Group:         Libraries
-
-%description -n libobjc-multilib
-Objective C Library - 32-bit version.
-
-%description -n libobjc-multilib -l pl.UTF-8
-Biblioteka Obiektowego C - wersja 32-bitowa.
+Biblioteka obiektowego C (Objective C).
 
 %package -n libobjc-static
 Summary:       Static Objective C Library
 Summary(es.UTF-8):     Bibliotecas estáticas de Objective C
-Summary(pl.UTF-8):     Statyczna Biblioteka Obiektowego C
-License:       GPL v2+ with linking exception
+Summary(pl.UTF-8):     Statyczna biblioteka obiektowego C (Objective C)
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
 Group:         Development/Libraries
 Requires:      libobjc = %{epoch}:%{version}-%{release}
 
@@ -1343,12 +1370,25 @@ Static Objective C Library.
 Bibliotecas estáticas de Objective C.
 
 %description -n libobjc-static -l pl.UTF-8
-Statyczna biblioteka Obiektowego C.
+Statyczna biblioteka obiektowego C (Objective C).
+
+%package -n libobjc-multilib
+Summary:       Objective C Library - 32-bit version
+Summary(pl.UTF-8):     Biblioteka obiektowego C (Objective C) - wersja 32-bitowa
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
+Group:         Libraries
+Requires:      libgcc-multilib = %{epoch}:%{version}-%{release}
+
+%description -n libobjc-multilib
+Objective C Library - 32-bit version.
+
+%description -n libobjc-multilib -l pl.UTF-8
+Biblioteka obiektowego C (Objective C) - wersja 32-bitowa.
 
 %package -n libobjc-multilib-static
 Summary:       Static Objective C Library - 32-bit version
-Summary(pl.UTF-8):     Statyczna Biblioteka Obiektowego C - wersja 32-bitowa
-License:       GPL v2+ with linking exception
+Summary(pl.UTF-8):     Statyczna biblioteka obiektowego C (Objective C) - wersja 32-bitowa
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
 Group:         Development/Libraries
 Requires:      libobjc-multilib = %{epoch}:%{version}-%{release}
 
@@ -1356,11 +1396,11 @@ Requires:       libobjc-multilib = %{epoch}:%{version}-%{release}
 Static Objective C Library - 32-bit version.
 
 %description -n libobjc-multilib-static -l pl.UTF-8
-Statyczna biblioteki Obiektowego C - wersja 32-bitowa.
+Statyczna biblioteka obiektowego C (Objective C) - wersja 32-bitowa.
 
 %package go
-Summary:       Go language support for gcc
-Summary(pl.UTF-8):     Obsługa języka Go dla kompilatora gcc
+Summary:       Go language support for GCC
+Summary(pl.UTF-8):     Obsługa języka Go dla kompilatora GCC
 License:       GPL v3+ (gcc), BSD (Go-specific part)
 Group:         Development/Languages
 Requires:      %{name} = %{epoch}:%{version}-%{release}
@@ -1370,11 +1410,11 @@ Requires:       libgo-devel = %{epoch}:%{version}-%{release}
 This package adds Go language support to the GNU Compiler Collection.
 
 %description go -l pl.UTF-8
-Ten pakiet dodaje obsługę języka Go do kompilatora gcc.
+Ten pakiet dodaje obsługę języka Go do kompilatora GCC.
 
 %package go-multilib
-Summary:       32-bit Go language support for gcc
-Summary(pl.UTF-8):     Obsługa 32-bitowych binariów języka Go dla kompilatora gcc
+Summary:       Go language 32-bit binaries support for GCC
+Summary(pl.UTF-8):     Obsługa 32-bitowych binariów języka Go dla kompilatora GCC
 License:       GPL v3+ (gcc), BSD (Go-specific part)
 Group:         Development/Languages
 Requires:      %{name} = %{epoch}:%{version}-%{release}
@@ -1386,14 +1426,14 @@ Collection.
 
 %description go-multilib -l pl.UTF-8
 Ten pakiet dodaje obsługę 32-bitowych binariów języka Go do
-kompilatora gcc.
+kompilatora GCC.
 
 %package -n libgo
 Summary:       Go language library
 Summary(pl.UTF-8):     Biblioteka języka Go
 License:       BSD
 Group:         Libraries
-Requires:      libgcc >= %{epoch}:%{version}-%{release}
+Requires:      libgcc = %{epoch}:%{version}-%{release}
 
 %description -n libgo
 Go language library.
@@ -1401,19 +1441,6 @@ Go language library.
 %description -n libgo -l pl.UTF-8
 Biblioteka języka Go.
 
-%package -n libgo-multilib
-Summary:       Go language library - 32-bit version
-Summary(pl.UTF-8):     Biblioteka języka Go - wersja 32-bitowa
-License:       BSD
-Group:         Libraries
-Requires:      libgcc-multilib >= %{epoch}:%{version}-%{release}
-
-%description -n libgo-multilib
-Go language library - 32-bit version.
-
-%description -n libgo-multilib -l pl.UTF-8
-Biblioteka języka Go - wersja 32-bitowa.
-
 %package -n libgo-devel
 Summary:       Development files for Go language library
 Summary(pl.UTF-8):     Pliki programistyczne biblioteki języka Go
@@ -1428,6 +1455,32 @@ Development files for Go language library.
 %description -n libgo-devel -l pl.UTF-8
 Pliki programistyczne biblioteki języka Go.
 
+%package -n libgo-static
+Summary:       Static Go language library
+Summary(pl.UTF-8):     Statyczna biblioteka języka Go
+License:       BSD
+Group:         Development/Libraries
+Requires:      libgo-devel = %{epoch}:%{version}-%{release}
+
+%description -n libgo-static
+Static Go language library.
+
+%description -n libgo-static -l pl.UTF-8
+Statyczna biblioteka języka Go.
+
+%package -n libgo-multilib
+Summary:       Go language library - 32-bit version
+Summary(pl.UTF-8):     Biblioteka języka Go - wersja 32-bitowa
+License:       BSD
+Group:         Libraries
+Requires:      libgcc-multilib = %{epoch}:%{version}-%{release}
+
+%description -n libgo-multilib
+Go language library - 32-bit version.
+
+%description -n libgo-multilib -l pl.UTF-8
+Biblioteka języka Go - wersja 32-bitowa.
+
 %package -n libgo-multilib-devel
 Summary:       Development files for Go language library - 32-bit version
 Summary(pl.UTF-8):     Pliki programistyczne biblioteki języka Go - wersja 32-bitowa
@@ -1442,19 +1495,6 @@ Development files for Go language library - 32-bit version.
 %description -n libgo-multilib-devel -l pl.UTF-8
 Pliki programistyczne biblioteki języka Go - wersja 32-bitowa.
 
-%package -n libgo-static
-Summary:       Static Go language library
-Summary(pl.UTF-8):     Statyczna biblioteka języka Go
-License:       BSD
-Group:         Development/Libraries
-Requires:      libgo-devel = %{epoch}:%{version}-%{release}
-
-%description -n libgo-static
-Static Go language library.
-
-%description -n libgo-static -l pl.UTF-8
-Statyczna biblioteka języka Go.
-
 %package -n libgo-multilib-static
 Summary:       Static Go language library - 32-bit version
 Summary(pl.UTF-8):     Statyczna biblioteka języka Go - wersja 32-bitowa
@@ -1471,21 +1511,51 @@ 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
+License:       BSD-like or MIT
 Group:         Libraries
+Requires:      libstdc++ = %{epoch}:%{version}-%{release}
 
 %description -n libasan
 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.
+Ten pakiet zawiera bibliotekę Address Sanitizer, służącą 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
+License:       BSD-like or MIT
+Group:         Development/Libraries
+Requires:      libasan = %{epoch}:%{version}-%{release}
+
+%description -n libasan-devel
+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-static
+Summary:       The Address Sanitizer static library
+Summary(pl.UTF-8):     Statyczna biblioteka Address Sanitizer
+License:       BSD-like or MIT
+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
 Summary:       The Address Sanitizer library - 32-bit version
 Summary(pl.UTF-8):     Biblioteka Address Sanitizer do kontroli adresów - wersja 32-bitowa
+License:       BSD-like or MIT
 Group:         Libraries
+Requires:      libstdc++-multilib = %{epoch}:%{version}-%{release}
 
 %description -n libasan-multilib
 This package contains 32-bit version of the Address Sanitizer library
@@ -1496,23 +1566,12 @@ 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}
-
-%description -n libasan-devel
-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
+License:       BSD-like or MIT
 Group:         Development/Libraries
+Requires:      libasan-devel = %{epoch}:%{version}-%{release}
 Requires:      libasan-multilib = %{epoch}:%{version}-%{release}
 
 %description -n libasan-multilib-devel
@@ -1523,21 +1582,10 @@ Address Sanitizer library.
 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
+License:       BSD-like or MIT
 Group:         Development/Libraries
 Requires:      libasan-multilib-devel = %{epoch}:%{version}-%{release}
 
@@ -1549,10 +1597,54 @@ library.
 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 wycieków
+License:       BSD-like or MIT
+Group:         Libraries
+Requires:      libstdc++ = %{epoch}:%{version}-%{release}
+
+%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
+wyciekó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
+License:       BSD-like or MIT
+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
+License:       BSD-like or MIT
+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
+License:       BSD-like or MIT
 Group:         Libraries
+Requires:      libstdc++ = %{epoch}:%{version}-%{release}
 
 %description -n libtsan
 This package contains the Thread Sanitizer library which is used for
@@ -1565,6 +1657,7 @@ 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
+License:       BSD-like or MIT
 Group:         Development/Libraries
 Requires:      libtsan = %{epoch}:%{version}-%{release}
 
@@ -1577,6 +1670,7 @@ 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
+License:       BSD-like or MIT
 Group:         Development/Libraries
 Requires:      libtsan-devel = %{epoch}:%{version}-%{release}
 
@@ -1586,9 +1680,197 @@ 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 nieokreślonych zachowań
+License:       BSD-like or MIT
+Group:         Libraries
+Requires:      libstdc++ = %{epoch}:%{version}-%{release}
+
+%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 nieokreślonych zachowań 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
+License:       BSD-like or MIT
+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-static
+Summary:       The Undefined Behavior Sanitizer static library
+Summary(pl.UTF-8):     Statyczna biblioteka Undefined Behavior Sanitizer
+License:       BSD-like or MIT
+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
+Summary:       The Undefined Behavior Sanitizer library - 32-bit version
+Summary(pl.UTF-8):     Biblioteka Undefined Behavior Sanitizer do kontroli nieokreślonych zachowań - wersja 32-bitowa
+License:       BSD-like or MIT
+Group:         Libraries
+Requires:      libstdc++-multilib = %{epoch}:%{version}-%{release}
+
+%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 nieokreślonych zachowań w programach
+kompilowanych z opcją -fsanitize=undefined.
+
+%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
+License:       BSD-like or MIT
+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-multilib-static
+Summary:       The Undefined Behavior Sanitizer static library - 32-bit version
+Summary(pl.UTF-8):     Statyczna biblioteka Undefined Behavior Sanitizer - wersja 32-bitowa
+License:       BSD-like or MIT
+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 libvtv
+Summary:       The Virtual Table Verification library
+Summary(pl.UTF-8):     Biblioteka Virtual Table Verification do weryfikacji tablicy wirtualnej
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
+Group:         Libraries
+URL:           https://gcc.gnu.org/wiki/vtv
+Requires:      libgcc = %{epoch}:%{version}-%{release}
+
+%description -n libvtv
+This package contains the Virtual Table Verification library which
+is used for -fvtable-verify=... instrumented programs.
+
+%description -n libvtv -l pl.UTF-8
+Ten pakiet zawiera bibliotekę Virtual Table Verification, służącą do
+weryfikacji tablicy wirtualnej w programach kompilowanych z opcją
+-fvtable-verify=....
+
+%package -n libvtv-devel
+Summary:       Development files for the Virtual Table Verification library
+Summary(pl.UTF-8):     Pliki programistyczne biblioteki Virtual Table Verification
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
+Group:         Development/Libraries
+URL:           https://gcc.gnu.org/wiki/vtv
+Requires:      libvtv = %{epoch}:%{version}-%{release}
+
+%description -n libvtv-devel
+This package contains development files for the Virtual Table
+Verification library.
+
+%description -n libvtv-devel -l pl.UTF-8
+Ten pakiet zawiera pliki programistyczne biblioteki Vitual Table
+Verification.
+
+%package -n libvtv-static
+Summary:       The Virtual Table Verification static library
+Summary(pl.UTF-8):     Statyczna biblioteka Virtual Table Verification
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
+Group:         Development/Libraries
+URL:           https://gcc.gnu.org/wiki/vtv
+Requires:      libvtv-devel = %{epoch}:%{version}-%{release}
+
+%description -n libvtv-static
+This package contains Virtual Table Verification static library.
+
+%description -n libvtv-static -l pl.UTF-8
+Ten pakiet zawiera statyczną bibliotekę Virtual Table Verification.
+
+%package -n libvtv-multilib
+Summary:       The Virtual Table Verification library - 32-bit version
+Summary(pl.UTF-8):     Biblioteka Virtual Table Verification do weryfikacji tablicy wirtualnej - wersja 32-bitowa
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
+Group:         Libraries
+URL:           https://gcc.gnu.org/wiki/vtv
+Requires:      libgcc-multilib = %{epoch}:%{version}-%{release}
+
+%description -n libvtv-multilib
+This package contains 32-bit version of the Virtual Table Verification
+library which is used for -fvtable-verify=... instrumented programs.
+
+%description -n libvtv-multilib -l pl.UTF-8
+Ten pakiet zawiera 32-bitową wersję biblioteki Virtual Table
+Verification, służącej do weryfikacji tablicy wirtualnej w programach
+kompilowanych z opcją -fvtable-verify=....
+
+%package -n libvtv-multilib-devel
+Summary:       Development files for the Virtual Table Verification library - 32-bit version
+Summary(pl.UTF-8):     Pliki programistyczne biblioteki Virtual Table Verification - wersja 32-bitowa
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
+Group:         Development/Libraries
+URL:           https://gcc.gnu.org/wiki/vtv
+Requires:      libvtv-multilib = %{epoch}:%{version}-%{release}
+
+%description -n libvtv-multilib-devel
+This package contains the development files for 32-bit version of the
+Virtual Table Verification library.
+
+%description -n libvtv-multilib-devel -l pl.UTF-8
+Ten pakiet zawiera pliki programistyczne 32-bitowej wersji biblioteki
+Virtual Table Verification.
+
+%package -n libvtv-multilib-static
+Summary:       The Virtual Table Verification static library - 32-bit version
+Summary(pl.UTF-8):     Statyczna biblioteka Virtual Table Verification - wersja 32-bitowa
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
+Group:         Development/Libraries
+URL:           https://gcc.gnu.org/wiki/vtv
+Requires:      libvtv-multilib-devel = %{epoch}:%{version}-%{release}
+
+%description -n libvtv-multilib-static
+This package contains 32-bit version of the Virtual Table Verification
+library.
+
+%description -n libvtv-multilib-static -l pl.UTF-8
+Ten pakiet zawiera 32-bitową wersję statycznej biblioteki Virtual
+Table Verification.
+
 %package -n libatomic
 Summary:       The GNU Atomic library
 Summary(pl.UTF-8):     Biblioteka GNU Atomic
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
 Group:         Libraries
 
 %description -n libatomic
@@ -1599,9 +1881,36 @@ library for atomic operations not supported by hardware.
 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-devel
+Summary:       Development files for the GNU Atomic library
+Summary(pl.UTF-8):     Pliki programistyczne biblioteki GNU Atomic
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
+Group:         Development/Libraries
+Requires:      libatomic = %{epoch}:%{version}-%{release}
+
+%description -n libatomic-devel
+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-static
+Summary:       The GNU Atomic static library
+Summary(pl.UTF-8):     Statyczna biblioteka GNU Atomic
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
+Group:         Development/Libraries
+Requires:      libatomic-devel = %{epoch}:%{version}-%{release}
+
+%description -n libatomic-static
+This package contains GNU Atomic static library.
+
+%description -n libatomic-static
+Ten pakiet zawiera statyczną bibliotekę GNU Atomic.
+
 %package -n libatomic-multilib
 Summary:       The GNU Atomic library - 32-bit version
 Summary(pl.UTF-8):     Biblioteka GNU Atomic - wersja 32-bitowa
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
 Group:         Libraries
 
 %description -n libatomic-multilib
@@ -1614,21 +1923,10 @@ 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 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
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
 Group:         Development/Libraries
 Requires:      libatomic-multilib = %{epoch}:%{version}-%{release}
 
@@ -1640,52 +1938,167 @@ GNU Atomic library.
 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 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
+License:       GPL v3+ with GCC Runtime Library Exception v3.1
 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
-library.
+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.
 
+%package gdb-plugin
+Summary:       GCC plugin for GDB
+Summary(pl.UTF-8):     Wtyczka GCC dla GDB
+Group:         Development/Debuggers
+Requires:      %{name} = %{epoch}:%{version}-%{release}
+
+%description gdb-plugin
+This package contains GCC plugin for GDB C expression evaluation.
+
+%description gdb-plugin -l pl.UTF-8
+Ten pakiet zawiera wtyczkę GCC do obliczania wyrażeń języka C w GDB.
+
+%package plugin-devel
+Summary:       Support for compiling GCC plugins
+Summary(pl.UTF-8):     Obsługa kompilowania wtyczek GCC
+Group:         Development/Languages
+Requires:      %{name} = %{epoch}:%{version}-%{release}
+Requires:      gmp-devel >= 4.3.2
+Requires:      libmpc-devel >= 0.8.1
+Requires:      mpfr-devel >= 2.4.2
+
+%description plugin-devel
+This package contains header files and other support files for
+compiling GCC plugins. The GCC plugin ABI is currently not stable, so
+plugins must be rebuilt any time GCC is updated.
+
+%description plugin-devel -l pl.UTF-8
+Ten pakiet zawiera pliki nagłówkowe oraz inne pozwalające na
+kompilowanie wtyczek GCC. ABI wtyczek GCC nie jest obecnie stabilne,
+więc wtyczki muszą być przebudowywane przy każdej aktualizacji GCC.
+
+# Packages with epoch 0
+# DO NOT MOVE THESE PACKAGES AROUND
+
+%package -n libmpx
+Summary:       GCC Memory Protection Extensions language extensions runtime library
+Summary(pl.UTF-8):     Biblioteka uruchomieniowa rozszerzeń Memory Protection Extensions dla GCC
+Epoch:         0
+License:       BSD
+Group:         Libraries
+Requires:      libstdc++ = 6:%{version}-%{release}
+
+%description -n libmpx
+This package contains the Memory Protection Extensions C language
+extensions runtime library.
+
+%description -n libmpx -l pl.UTF-8
+Ten pakiet zawiera bibliotekę uruchomieniową rozszerzeń Memory
+Protection Extensions dla języka C.
+
+%package -n libmpx-devel
+Summary:       GCC development files for Memory Protection Extensions language extensions
+Summary(pl.UTF-8):     Pliki programistyczne GCC dla rozszerzeń Memory Protection Extensions
+Epoch:         0
+License:       BSD
+Group:         Development/Libraries
+Requires:      libmpx = %{version}-%{release}
+
+%description -n libmpx-devel
+This package contains development files for Memory Protection
+Extensions C language extensions.
+
+%description -n libmpx-devel -l pl.UTF-8
+Ten pakiet zawiera pliki programistyczne rozszerzeń Memory Protection
+Extensions dla języka C.
+
+%package -n libmpx-static
+Summary:       GCC Memory Protection Extensions language extensions static library
+Summary(pl.UTF-8):     Biblioteka statyczna rozszerzeń Memory Protection Extensions dla GCC
+Epoch:         0
+License:       BSD
+Group:         Development/Libraries
+Requires:      libmpx-devel = %{version}-%{release}
+
+%description -n libmpx-static
+This package contains Memory Protection Extensions C language
+extensions static library.
+
+%description -n libmpx-static -l pl.UTF-8
+Ten pakiet zawiera bibliotekę statyczną rozszerzeń Memory Protection
+Extensions dla języka C.
+
+%package -n libmpx-multilib
+Summary:       GCC Memory Protection Extensions language extensions runtime library - 32-bit version
+Summary(pl.UTF-8):     Biblioteka uruchomieniowa rozszerzeń Memory Protection Extensions dla GCC - wersja 32-bitowa
+Epoch:         0
+License:       BSD
+Group:         Libraries
+Requires:      libstdc++-multilib = %{version}-%{release}
+
+%description -n libmpx-multilib
+This package contains the Memory Protection Extensions C language
+extensions runtime library in 32-bit version.
+
+%description -n libmpx-multilib -l pl.UTF-8
+Ten pakiet zawiera bibliotekę uruchomieniową rozszerzeń Memory
+Protection Extensions dla języka C. W tym pakiecie znajduje się wersja
+32-bitowa.
+
+%package -n libmpx-multilib-devel
+Summary:       GCC development files for Memory Protection Extensions language extensions - 32-bit version
+Summary(pl.UTF-8):     Pliki programistyczne GCC dla rozszerzeń Memory Protection Extensions - wersja 32-bitowa
+Epoch:         0
+License:       BSD
+Group:         Development/Libraries
+Requires:      libmpx-devel = %{version}-%{release}
+Requires:      libmpx-multilib = %{version}-%{release}
+
+%description -n libmpx-multilib-devel
+This package contains development files for Memory Protection
+Extensions C language extensions in 32-bit version.
+
+%description -n libmpx-multilib-devel -l pl.UTF-8
+Ten pakiet zawiera pliki programistyczne rozszerzeń Memory Protection
+Extensions dla języka C. W tym pakiecie znajduje się wersja 32-bitowa.
+
+%package -n libmpx-multilib-static
+Summary:       GCC Memory Protection Extensions language extensions static library - 32-bit version
+Summary(pl.UTF-8):     Biblioteka statyczna rozszerzeń Memory Protection Extensions dla GCC - wersja 32-bitowa
+Epoch:         0
+License:       BSD
+Group:         Development/Libraries
+Requires:      libmpx-multilib-devel = %{version}-%{release}
+
+%description -n libmpx-multilib-static
+This package contains the Memory Protection Extensions C language
+extensions static library in 32-bit version.
+
+%description -n libmpx-multilib-static -l pl.UTF-8
+Ten pakiet zawiera bibliotekę statyczną rozszerzeń Memory Protection
+Extensions dla języka C. W tym pakiecie znajduje się wersja 32-bitowa.
+
 %prep
 %setup -q
+#%patch100 -p0
 %patch0 -p1
-%patch1 -p1
 %patch2 -p1
 %patch3 -p1
-%patch4 -p0
+
+%patch7 -p0
 %if %{with qt}
-%patch5 -p1
+%patch8 -p1
 %endif
 %if %{with gcc_libffi}
-%patch6 -p0
+%patch11 -p0
 %endif
-%patch100 -p0
-
-mv ChangeLog ChangeLog.general
 
-%if %{with java}
-# see contrib/download_ecj
-cp -p %{SOURCE2} ecj.jar
-%endif
+%{__mv} ChangeLog ChangeLog.general
 
 # override snapshot version.
 echo %{version} > gcc/BASE-VER
@@ -1729,12 +2142,13 @@ TEXCONFIG=false \
 %endif
        %{?with_fortran:--enable-cmath} \
        --enable-decimal-float \
+       --enable-gnu-indirect-function \
        --enable-gnu-unique-object \
        --enable-initfini-array \
+       --disable-isl-version-check \
        --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 \
@@ -1745,14 +2159,20 @@ TEXCONFIG=false \
        --enable-shared \
        --enable-threads=posix \
        --disable-werror \
-       --with-cloog \
+%ifarch %{x8664}
+       --with-arch-32=x86-64 \
+%endif
        --with-demangler-in-ld \
+       --with-ecj-jar=%{_javadir}/ecj.jar \
        --with-gnu-as \
        --with-gnu-ld \
        --with-linker-hash-style=gnu \
        --with-long-double-128 \
-       --with-ppl \
-       --disable-ppl-version-check \
+%if %{with multilib}
+%ifarch %{x8664}
+       --with-multilib-list=m32,m64 \
+%endif
+%endif
        --with-slibdir=%{_slibdir} \
 %ifnarch ia64
        --without-system-libunwind \
@@ -1770,6 +2190,7 @@ TEXCONFIG=false \
        --enable-libstdcxx-visibility \
        --enable-symvers=gnu%{?with_symvers:-versioned-namespace} \
        --with-gxx-include-dir=%{_includedir}/c++/%{version} \
+       %{?with_vtv:--enable-vtable-verify} \
 %endif
 %if %{with java}
        %{!?with_alsa:--disable-alsa} \
@@ -1781,16 +2202,17 @@ TEXCONFIG=false \
 %endif
        --enable-jni \
        --enable-libgcj \
-       --enable-libgcj-multifile \
        --enable-libgcj-database \
+       --enable-libgcj-multifile \
        --disable-libjava-multilib \
        %{?with_mozilla:--enable-plugin} \
        --enable-static-libjava \
        --enable-xmlj \
 %endif
-       --with-pkgversion="TLD-Linux" \
-       --with-bugurl="http://www.tld-linux.org" \
-       %{_target_platform}
+       --with-pkgversion="PLD-Linux" \
+       --with-bugurl="http://bugs.pld-linux.org" \
+       --host=%{_target_platform} \
+       --build=%{_target_platform}
 
 cd ..
 
@@ -1837,28 +2259,28 @@ ln -sf gcc $RPM_BUILD_ROOT%{_bindir}/cc
 echo ".so man1/gcc.1" > $RPM_BUILD_ROOT%{_mandir}/man1/cc.1
 
 libssp=$(cd $RPM_BUILD_ROOT%{_libdir}; echo libssp.so.*.*.*)
-mv $RPM_BUILD_ROOT%{_libdir}/libssp.so.* $RPM_BUILD_ROOT%{_slibdir}
+%{__mv} $RPM_BUILD_ROOT%{_libdir}/libssp.so.* $RPM_BUILD_ROOT%{_slibdir}
 ln -sf %{_slibdir}/$libssp $RPM_BUILD_ROOT%{_libdir}/libssp.so
 
 libitm=$(cd $RPM_BUILD_ROOT%{_libdir}; echo libitm.so.*.*.*)
-mv $RPM_BUILD_ROOT%{_libdir}/libitm.so.* $RPM_BUILD_ROOT%{_slibdir}
+%{__mv} $RPM_BUILD_ROOT%{_libdir}/libitm.so.* $RPM_BUILD_ROOT%{_slibdir}
 ln -sf %{_slibdir}/$libitm $RPM_BUILD_ROOT%{_libdir}/libitm.so
 
 libgomp=$(cd $RPM_BUILD_ROOT%{_libdir}; echo libgomp.so.*.*.*)
-mv $RPM_BUILD_ROOT%{_libdir}/libgomp.so.* $RPM_BUILD_ROOT%{_slibdir}
+%{__mv} $RPM_BUILD_ROOT%{_libdir}/libgomp.so.* $RPM_BUILD_ROOT%{_slibdir}
 ln -sf %{_slibdir}/$libgomp $RPM_BUILD_ROOT%{_libdir}/libgomp.so
 
 %if %{with multilib}
 libssp=$(cd $RPM_BUILD_ROOT%{_libdir32}; echo libssp.so.*.*.*)
-mv $RPM_BUILD_ROOT%{_libdir32}/libssp.so.* $RPM_BUILD_ROOT%{_slibdir32}
+%{__mv} $RPM_BUILD_ROOT%{_libdir32}/libssp.so.* $RPM_BUILD_ROOT%{_slibdir32}
 ln -sf %{_slibdir32}/$libssp $RPM_BUILD_ROOT%{_libdir32}/libssp.so
 
 libitm=$(cd $RPM_BUILD_ROOT%{_libdir32}; echo libitm.so.*.*.*)
-mv $RPM_BUILD_ROOT%{_libdir32}/libitm.so.* $RPM_BUILD_ROOT%{_slibdir32}
+%{__mv} $RPM_BUILD_ROOT%{_libdir32}/libitm.so.* $RPM_BUILD_ROOT%{_slibdir32}
 ln -sf %{_slibdir32}/$libitm $RPM_BUILD_ROOT%{_libdir32}/libitm.so
 
 libgomp=$(cd $RPM_BUILD_ROOT%{_libdir32}; echo libgomp.so.*.*.*)
-mv $RPM_BUILD_ROOT%{_libdir32}/libgomp.so.* $RPM_BUILD_ROOT%{_slibdir32}
+%{__mv} $RPM_BUILD_ROOT%{_libdir32}/libgomp.so.* $RPM_BUILD_ROOT%{_slibdir32}
 ln -sf %{_slibdir32}/$libgomp $RPM_BUILD_ROOT%{_libdir32}/libgomp.so
 %endif
 
@@ -1869,7 +2291,7 @@ echo ".so man1/gfortran.1" > $RPM_BUILD_ROOT%{_mandir}/man1/g95.1
 
 %if %{with ada}
 # move ada shared libraries to proper place...
-mv -f  $RPM_BUILD_ROOT%{gcclibdir}/adalib/*.so.1 \
+%{__mv}        $RPM_BUILD_ROOT%{gcclibdir}/adalib/*.so.1 \
        $RPM_BUILD_ROOT%{_libdir}
 # check if symlink to be made is valid
 test -f        $RPM_BUILD_ROOT%{_libdir}/libgnat-%{major_ver}.so.1
@@ -1878,7 +2300,7 @@ ln -sf    libgnarl-%{major_ver}.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnarl-%{major_ver
 ln -sf libgnat-%{major_ver}.so $RPM_BUILD_ROOT%{_libdir}/libgnat.so
 ln -sf libgnarl-%{major_ver}.so $RPM_BUILD_ROOT%{_libdir}/libgnarl.so
 %if %{with multilib}
-mv -f  $RPM_BUILD_ROOT%{gcclibdir}/32/adalib/*.so.1 \
+%{__mv}        $RPM_BUILD_ROOT%{gcclibdir}/32/adalib/*.so.1 \
        $RPM_BUILD_ROOT%{_libdir32}
 # check if symlink to be made is valid
 test -f        $RPM_BUILD_ROOT%{_libdir32}/libgnat-%{major_ver}.so.1
@@ -1922,13 +2344,13 @@ cp -f libobjc/README gcc/objc/README.libobjc
 # avoid -L poisoning in *.la - there should be only -L%{_libdir}/gcc/%{_target_platform}/%{version}
 # normalize libdir, to avoid propagation of unnecessary RPATHs by libtool
 for f in libitm.la libssp.la libssp_nonshared.la \
-       %{?with_cxx:libstdc++.la libsupc++.la} \
+       %{?with_cxx:libstdc++.la libstdc++fs.la libsupc++.la} \
        %{?with_fortran:libgfortran.la libquadmath.la} \
        %{?with_gomp:libgomp.la} \
-       %{?with_asan:libasan.la} \
-       %{?with_tsan:libtsan.la} \
+       %{?with_Xsan:libasan.la libubsan.la} \
+       %{?with_lsan_m0:liblsan.la} \
+       %{?with_tsan_m0:libtsan.la} \
        %{?with_atomic:libatomic.la} \
-       %{?with_mudflap:libmudflap.la libmudflapth.la} \
 %if %{with java}
        %{?with_gcc_libffi:libffi.la} \
        libgcj.la libgcj-tools.la libgij.la \
@@ -1942,22 +2364,27 @@ for f in libitm.la libssp.la libssp_nonshared.la \
 %endif
        %{?with_objc:libobjc.la};
 do
-       %{__perl} %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/$f %{_libdir} > $RPM_BUILD_ROOT%{_libdir}/$f.fixed
-       mv $RPM_BUILD_ROOT%{_libdir}/$f{.fixed,}
+       file="$RPM_BUILD_ROOT%{_libdir}/$f"
+       %{__perl} %{SOURCE1} "$file" %{_libdir} >"${file}.fixed"
+       %{__mv} "${file}.fixed" "$file"
+
+       # normalize /lib/../lib/ path (libjawt.la)
+       sed -i -e 's#/%{_lib}/\.\./%{_lib}/#/%{_lib}/#g' "$file"
 done
 %if %{with multilib}
 for f in libitm.la libssp.la libssp_nonshared.la \
-       %{?with_cxx:libstdc++.la libsupc++.la} \
+       %{?with_cxx:libstdc++.la libstdc++fs.la libsupc++.la} \
        %{?with_fortran:libgfortran.la libquadmath.la} \
        %{?with_gomp:libgomp.la} \
-       %{?with_asan:libasan.la} \
+       %{?with_Xsan:libasan.la libubsan.la} \
+       %{?with_lsan_m1:liblsan.la} \
+       %{?with_tsan_m1:libtsan.la} \
        %{?with_atomic:libatomic.la} \
-       %{?with_mudflap:libmudflap.la libmudflapth.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
-       mv $RPM_BUILD_ROOT%{_libdir32}/$f{.fixed,}
+       %{__mv} $RPM_BUILD_ROOT%{_libdir32}/$f{.fixed,}
 done
 %endif
 
@@ -1966,25 +2393,28 @@ cp -p $RPM_BUILD_ROOT%{gcclibdir}/include-fixed/syslimits.h $RPM_BUILD_ROOT%{gcc
 %{__rm} -r $RPM_BUILD_ROOT%{gcclibdir}/install-tools
 %{__rm} -r $RPM_BUILD_ROOT%{gcclibdir}/include-fixed
 
-# plugin, .la not needed
-%{__rm} $RPM_BUILD_ROOT%{gcclibdir}/liblto_plugin.la
-# already packaged in binutils-devel
-%{__rm} $RPM_BUILD_ROOT%{_libdir}/libiberty.a
+# plugins, .la not needed
+%{__rm} $RPM_BUILD_ROOT%{gcclibdir}/liblto_plugin.la \
+       $RPM_BUILD_ROOT%{_libdir}/libcc1.la
+
+%if %{without lsan_m0} && %{without lsan_m2}
+%{__rm} $RPM_BUILD_ROOT%{gcclibdir}/include/sanitizer/lsan_interface.h
+%endif
 
 %if %{with python}
-for LIB in lib lib64; do
-       LIBPATH="$RPM_BUILD_ROOT%{_datadir}/gdb/auto-load%{_prefix}/$LIB"
+for LIBDIR in %{_libdir} %{?with_multilib:%{_libdir32}} ; do
+       LIBPATH="$RPM_BUILD_ROOT%{_datadir}/gdb/auto-load$LIBDIR"
        install -d $LIBPATH
        # basename is being run only for the native (non-biarch) file.
        sed -e 's,@pythondir@,%{_datadir}/gdb,' \
-         -e 's,@toolexeclibdir@,%{_prefix}/'"$LIB," \
+         -e "s,@toolexeclibdir@,$LIBDIR," \
          < libstdc++-v3/python/hook.in \
          > $LIBPATH/$(basename $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libstdc++.so.*.*.*)-gdb.py
 done
 install -d $RPM_BUILD_ROOT%{py_sitescriptdir}
-mv $RPM_BUILD_ROOT%{_datadir}/gcc-%{version}/python/libstdcxx $RPM_BUILD_ROOT%{py_sitescriptdir}
+%{__mv} $RPM_BUILD_ROOT%{_datadir}/gcc-%{version}/python/libstdcxx $RPM_BUILD_ROOT%{py_sitescriptdir}
 %if %{with java}
-mv $RPM_BUILD_ROOT%{_datadir}/gcc-%{version}/python/libjava $RPM_BUILD_ROOT%{py_sitescriptdir}
+%{__mv} $RPM_BUILD_ROOT%{_datadir}/gcc-%{version}/python/libjava $RPM_BUILD_ROOT%{py_sitescriptdir}
 %{__sed} -i -e '1s,#!/usr/bin/env python,#!/usr/bin/python,' $RPM_BUILD_ROOT%{_bindir}/aot-compile
 %endif
 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
@@ -2065,6 +2495,16 @@ rm -rf $RPM_BUILD_ROOT
 %postun        -n libffi-devel -p /sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
 
+%post  -n libgomp-devel -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%postun        -n libgomp-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
@@ -2073,10 +2513,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
@@ -2095,6 +2531,10 @@ rm -rf $RPM_BUILD_ROOT
 %postun        -p /sbin/ldconfig -n libffi
 %post  -p /sbin/ldconfig -n libffi-multilib
 %postun        -p /sbin/ldconfig -n libffi-multilib
+%post  -p /sbin/ldconfig -n libmpx
+%postun        -p /sbin/ldconfig -n libmpx
+%post  -p /sbin/ldconfig -n libmpx-multilib
+%postun        -p /sbin/ldconfig -n libmpx-multilib
 %post  -p /sbin/ldconfig -n libobjc
 %postun        -p /sbin/ldconfig -n libobjc
 %post  -p /sbin/ldconfig -n libobjc-multilib
@@ -2111,12 +2551,24 @@ 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 libvtv
+%postun -p /sbin/ldconfig -n libvtv
+%post   -p /sbin/ldconfig -n libvtv-multilib
+%postun -p /sbin/ldconfig -n libvtv-multilib
 %post  -p /sbin/ldconfig -n libatomic
 %postun        -p /sbin/ldconfig -n libatomic
 %post  -p /sbin/ldconfig -n libatomic-multilib
 %postun        -p /sbin/ldconfig -n libatomic-multilib
+%post  -p /sbin/ldconfig gdb-plugin
+%postun        -p /sbin/ldconfig gdb-plugin
 
 %files -f gcc.lang
 %defattr(644,root,root,755)
@@ -2132,6 +2584,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/gcc-ranlib
 #%attr(755,root,root) %{_bindir}/gccbug
 %attr(755,root,root) %{_bindir}/gcov
+%attr(755,root,root) %{_bindir}/gcov-tool
 %{_mandir}/man1/cc.1*
 %{_mandir}/man1/cpp.1*
 %{_mandir}/man1/gcc.1*
@@ -2149,11 +2602,11 @@ 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
 %{_libdir}/libssp_nonshared.a
-%dir %{_libdir}/gcc
 %dir %{_libdir}/gcc/%{_target_platform}
 %dir %{gcclibdir}
 %{gcclibdir}/libgcc.a
@@ -2161,13 +2614,15 @@ rm -rf $RPM_BUILD_ROOT
 %{gcclibdir}/libgcov.a
 %{gcclibdir}/specs
 %{gcclibdir}/crt*.o
+%{?with_vtv:%{gcclibdir}/vtv_*.o}
 %attr(755,root,root) %{gcclibdir}/cc1
 %attr(755,root,root) %{gcclibdir}/collect2
 %attr(755,root,root) %{gcclibdir}/lto-wrapper
 %attr(755,root,root) %{gcclibdir}/lto1
 %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
@@ -2175,6 +2630,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
@@ -2185,28 +2641,52 @@ 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/avx512bwintrin.h
+%{gcclibdir}/include/avx512cdintrin.h
+%{gcclibdir}/include/avx512dqintrin.h
+%{gcclibdir}/include/avx512erintrin.h
+%{gcclibdir}/include/avx512fintrin.h
+%{gcclibdir}/include/avx512ifmaintrin.h
+%{gcclibdir}/include/avx512ifmavlintrin.h
+%{gcclibdir}/include/avx512pfintrin.h
+%{gcclibdir}/include/avx512vbmiintrin.h
+%{gcclibdir}/include/avx512vbmivlintrin.h
+%{gcclibdir}/include/avx512vlbwintrin.h
+%{gcclibdir}/include/avx512vldqintrin.h
+%{gcclibdir}/include/avx512vlintrin.h
+%{gcclibdir}/include/avxintrin.h
 %{gcclibdir}/include/bmi2intrin.h
+%{gcclibdir}/include/bmiintrin.h
 %{gcclibdir}/include/bmmintrin.h
+%{gcclibdir}/include/clflushoptintrin.h
+%{gcclibdir}/include/clwbintrin.h
+%{gcclibdir}/include/clzerointrin.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/mwaitxintrin.h
+%{gcclibdir}/include/pkuintrin.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
@@ -2214,13 +2694,10 @@ 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/xsavecintrin.h
 %{gcclibdir}/include/xsaveintrin.h
 %{gcclibdir}/include/xsaveoptintrin.h
+%{gcclibdir}/include/xsavesintrin.h
 %{gcclibdir}/include/xtestintrin.h
 %endif
 %ifarch arm
@@ -2236,6 +2713,7 @@ rm -rf $RPM_BUILD_ROOT
 %ifarch mips
 %{gcclibdir}/include/loongson.h
 %endif
+%{?with_vtv:%{gcclibdir}/include/vtv_*.h}
 
 %if %{with multilib}
 %files multilib
@@ -2243,9 +2721,12 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_slibdir32}/libgcc_s.so
 %dir %{gcclibdir}/32
 %{gcclibdir}/32/crt*.o
+%{?with_vtv:%{gcclibdir}/32/vtv_*.o}
 %{gcclibdir}/32/libgcc.a
 %{gcclibdir}/32/libgcc_eh.a
 %{gcclibdir}/32/libgcov.a
+%{_libdir32}/libitm.spec
+%{_libdir32}/libsanitizer.spec
 %attr(755,root,root) %{_libdir32}/libitm.so
 %attr(755,root,root) %{_libdir32}/libssp.so
 %{_libdir32}/libitm.la
@@ -2258,6 +2739,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -n libgcc
 %defattr(644,root,root,755)
+%doc COPYING.RUNTIME libgcc/ChangeLog
 %attr(755,root,root) %{_slibdir}/libgcc_s.so.1
 %attr(755,root,root) %{_slibdir}/libitm.so.*.*.*
 %attr(755,root,root) %{_slibdir}/libssp.so.*.*.*
@@ -2280,13 +2762,6 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_slibdir}/libgomp.so.*.*.*
 %attr(755,root,root) %ghost %{_slibdir}/libgomp.so.1
 
-%if %{with multilib}
-%files -n libgomp-multilib
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_slibdir32}/libgomp.so.*.*.*
-%attr(755,root,root) %ghost %{_slibdir32}/libgomp.so.1
-%endif
-
 %files -n libgomp-devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libgomp.so
@@ -2294,72 +2769,112 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libgomp.spec
 %{gcclibdir}/finclude
 %{gcclibdir}/include/omp.h
+%{gcclibdir}/include/openacc.h
 %{_infodir}/libgomp.info*
 
+%files -n libgomp-static
+%defattr(644,root,root,755)
+%{_libdir}/libgomp.a
+
 %if %{with multilib}
+%files -n libgomp-multilib
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_slibdir32}/libgomp.so.*.*.*
+%attr(755,root,root) %ghost %{_slibdir32}/libgomp.so.1
+
 %files -n libgomp-multilib-devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir32}/libgomp.so
 %{_libdir32}/libgomp.la
 %{_libdir32}/libgomp.spec
+%{gcclibdir}/32/finclude
+
+%files -n libgomp-multilib-static
+%defattr(644,root,root,755)
+%{_libdir32}/libgomp.a
+%endif
 %endif
 
-%files -n libgomp-static
+%if %{with cilkrts}
+%files -n libcilkrts
 %defattr(644,root,root,755)
-%{_libdir}/libgomp.a
+%doc libcilkrts/{ChangeLog,README}
+%attr(755,root,root) %{_libdir}/libcilkrts.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libcilkrts.so.5
+
+%files -n libcilkrts-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libcilkrts.so
+%{_libdir}/libcilkrts.la
+%{_libdir}/libcilkrts.spec
+%{gcclibdir}/include/cilk
+
+%files -n libcilkrts-static
+%defattr(644,root,root,755)
+%{_libdir}/libcilkrts.a
+
+%if %{with multilib}
+%files -n libcilkrts-multilib
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir32}/libcilkrts.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir32}/libcilkrts.so.5
+
+%files -n libcilkrts-multilib-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir32}/libcilkrts.so
+%{_libdir32}/libcilkrts.la
+%{_libdir32}/libcilkrts.spec
 
-%if %{with multilib}
-%files -n libgomp-multilib-static
+%files -n libcilkrts-multilib-static
 %defattr(644,root,root,755)
-%{_libdir32}/libgomp.a
+%{_libdir32}/libcilkrts.a
 %endif
 %endif
 
-%if %{with mudflap}
-%files -n libmudflap
+# see libmpx/configure.tgt for supported architectures
+%ifarch %{x8664} %{ix86}
+%files -n libmpx
 %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
+%doc libmpx/ChangeLog
+%attr(755,root,root) %{_libdir}/libmpx.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libmpx.so.2
+%attr(755,root,root) %{_libdir}/libmpxwrappers.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libmpxwrappers.so.2
 
-%if %{with multilib}
-%files -n libmudflap-multilib
+%files -n libmpx-devel
 %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
-%endif
+%attr(755,root,root) %{_libdir}/libmpx.so
+%attr(755,root,root) %{_libdir}/libmpxwrappers.so
+%{_libdir}/libmpx.la
+%{_libdir}/libmpxwrappers.la
+%{_libdir}/libmpx.spec
 
-%files -n libmudflap-devel
+%files -n libmpx-static
 %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
+%{_libdir}/libmpx.a
+%{_libdir}/libmpxwrappers.a
+%endif
 
 %if %{with multilib}
-%files -n libmudflap-multilib-devel
+%files -n libmpx-multilib
 %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
-%endif
+%attr(755,root,root) %{_libdir32}/libmpx.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir32}/libmpx.so.2
+%attr(755,root,root) %{_libdir32}/libmpxwrappers.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir32}/libmpxwrappers.so.2
 
-%files -n libmudflap-static
+%files -n libmpx-multilib-devel
 %defattr(644,root,root,755)
-%{_libdir}/libmudflap.a
-%{_libdir}/libmudflapth.a
+%attr(755,root,root) %{_libdir32}/libmpx.so
+%attr(755,root,root) %{_libdir32}/libmpxwrappers.so
+%{_libdir32}/libmpx.la
+%{_libdir32}/libmpxwrappers.la
+%{_libdir32}/libmpx.spec
 
-%if %{with multilib}
-%files -n libmudflap-multilib-static
+%files -n libmpx-multilib-static
 %defattr(644,root,root,755)
-%{_libdir32}/libmudflap.a
-%{_libdir32}/libmudflapth.a
-%endif
+%{_libdir32}/libmpx.a
+%{_libdir32}/libmpxwrappers.a
 %endif
 
 %if %{with ada}
@@ -2399,6 +2914,7 @@ rm -rf $RPM_BUILD_ROOT
 %{gcclibdir}/32/adalib/libgmem.a
 %endif
 %endif
+%endif
 
 %files -n libgnat
 %defattr(644,root,root,755)
@@ -2407,6 +2923,11 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/libgnat-*.so.1
 %attr(755,root,root) %{_libdir}/libgnat.so.1
 
+%files -n libgnat-static
+%defattr(644,root,root,755)
+%{gcclibdir}/adalib/libgnarl.a
+%{gcclibdir}/adalib/libgnat.a
+
 %if %{with multilib}
 %files -n libgnat-multilib
 %defattr(644,root,root,755)
@@ -2414,20 +2935,12 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir32}/libgnarl.so.1
 %attr(755,root,root) %{_libdir32}/libgnat-*.so.1
 %attr(755,root,root) %{_libdir32}/libgnat.so.1
-%endif
 
-%files -n libgnat-static
-%defattr(644,root,root,755)
-%{gcclibdir}/adalib/libgnarl.a
-%{gcclibdir}/adalib/libgnat.a
-
-%if %{with multilib}
 %files -n libgnat-multilib-static
 %defattr(644,root,root,755)
 %{gcclibdir}/32/adalib/libgnarl.a
 %{gcclibdir}/32/adalib/libgnat.a
 %endif
-%endif
 
 %if %{with cxx}
 %files c++
@@ -2455,32 +2968,15 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/libstdc++.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.%{cxx_sover}
 
-%if %{with multilib}
-%files -n libstdc++-multilib
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir32}/libstdc++.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir32}/libstdc++.so.%{cxx_sover}
-%endif
-
-%if %{with python}
-%files -n libstdc++-gdb
-%defattr(644,root,root,755)
-%dir %{py_sitescriptdir}/libstdcxx
-%{py_sitescriptdir}/libstdcxx/*.py[co]
-%dir %{py_sitescriptdir}/libstdcxx/v6
-%{py_sitescriptdir}/libstdcxx/v6/*.py[co]
-%{_datadir}/gdb/auto-load/usr/%{_lib}/libstdc++.so.%{cxx_sover}.*.*-gdb.py
-%if %{with multilib}
-%{_datadir}/gdb/auto-load/usr/lib/libstdc++.so.%{cxx_sover}.*.*-gdb.py
-%endif
-%endif
-
 %files -n libstdc++-devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libstdc++.so
 %{_libdir}/libstdc++.la
+%{_libdir}/libstdc++fs.a
+%{_libdir}/libstdc++fs.la
 %dir %{_includedir}/c++
 %{_includedir}/c++/%{version}
+%{_includedir}/expc++.h
 %{_includedir}/extc++.h
 %{_includedir}/stdc++.h
 %{_includedir}/stdtr1c++.h
@@ -2493,27 +2989,45 @@ rm -rf $RPM_BUILD_ROOT
 %exclude %{_includedir}/c++/%{version}/sun
 %endif
 
-%if %{with apidocs}
-%files -n libstdc++-apidocs
+%files -n libstdc++-static
 %defattr(644,root,root,755)
-%doc libstdc++-v3/doc/html/*
-%endif
+%{_libdir}/libstdc++.a
 
 %if %{with multilib}
+%files -n libstdc++-multilib
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir32}/libstdc++.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir32}/libstdc++.so.%{cxx_sover}
+
 %files -n libstdc++-multilib-devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir32}/libstdc++.so
 %{_libdir32}/libstdc++.la
-%endif
+%{_libdir32}/libstdc++fs.a
+%{_libdir32}/libstdc++fs.la
 
-%files -n libstdc++-static
+%files -n libstdc++-multilib-static
 %defattr(644,root,root,755)
-%{_libdir}/libstdc++.a
+%{_libdir32}/libstdc++.a
+%endif
 
+%if %{with python}
+%files -n libstdc++-gdb
+%defattr(644,root,root,755)
+%dir %{py_sitescriptdir}/libstdcxx
+%{py_sitescriptdir}/libstdcxx/*.py[co]
+%dir %{py_sitescriptdir}/libstdcxx/v6
+%{py_sitescriptdir}/libstdcxx/v6/*.py[co]
+%{_datadir}/gdb/auto-load%{_libdir}/libstdc++.so.%{cxx_sover}.*.*-gdb.py
 %if %{with multilib}
-%files -n libstdc++-multilib-static
+%{_datadir}/gdb/auto-load%{_libdir32}/libstdc++.so.%{cxx_sover}.*.*-gdb.py
+%endif
+%endif
+
+%if %{with apidocs}
+%files -n libstdc++-apidocs
 %defattr(644,root,root,755)
-%{_libdir32}/libstdc++.a
+%doc libstdc++-v3/doc/html/*
 %endif
 %endif
 
@@ -2530,8 +3044,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libgfortran.la
 %{gcclibdir}/libcaf_single.a
 %{gcclibdir}/libcaf_single.la
-%{gcclibdir}/libgfortranbegin.la
-%{gcclibdir}/libgfortranbegin.a
+#%{gcclibdir}/libgfortranbegin.la
+#%{gcclibdir}/libgfortranbegin.a
 %{_infodir}/gfortran.info*
 %{_mandir}/man1/g95.1*
 %{_mandir}/man1/gfortran.1*
@@ -2544,8 +3058,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir32}/libgfortran.la
 %{gcclibdir}/32/libcaf_single.a
 %{gcclibdir}/32/libcaf_single.la
-%{gcclibdir}/32/libgfortranbegin.la
-%{gcclibdir}/32/libgfortranbegin.a
+#%{gcclibdir}/32/libgfortranbegin.la
+#%{gcclibdir}/32/libgfortranbegin.a
 %endif
 
 %files -n libgfortran
@@ -2554,18 +3068,16 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/libgfortran.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libgfortran.so.3
 
+%files -n libgfortran-static
+%defattr(644,root,root,755)
+%{_libdir}/libgfortran.a
+
 %if %{with multilib}
 %files -n libgfortran-multilib
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir32}/libgfortran.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir32}/libgfortran.so.3
-%endif
-
-%files -n libgfortran-static
-%defattr(644,root,root,755)
-%{_libdir}/libgfortran.a
 
-%if %{with multilib}
 %files -n libgfortran-multilib-static
 %defattr(644,root,root,755)
 %{_libdir32}/libgfortran.a
@@ -2576,13 +3088,6 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/libquadmath.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libquadmath.so.0
 
-%if %{with multilib}
-%files -n libquadmath-multilib
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir32}/libquadmath.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir32}/libquadmath.so.0
-%endif
-
 %files -n libquadmath-devel
 %defattr(644,root,root,755)
 %{gcclibdir}/include/quadmath.h
@@ -2591,18 +3096,21 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libquadmath.la
 %{_infodir}/libquadmath.info*
 
+%files -n libquadmath-static
+%defattr(644,root,root,755)
+%{_libdir}/libquadmath.a
+
 %if %{with multilib}
+%files -n libquadmath-multilib
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir32}/libquadmath.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir32}/libquadmath.so.0
+
 %files -n libquadmath-multilib-devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir32}/libquadmath.so
 %{_libdir32}/libquadmath.la
-%endif
-
-%files -n libquadmath-static
-%defattr(644,root,root,755)
-%{_libdir}/libquadmath.a
 
-%if %{with multilib}
 %files -n libquadmath-multilib-static
 %defattr(644,root,root,755)
 %{_libdir32}/libquadmath.a
@@ -2695,7 +3203,6 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/%{gcjdbexecdir}/libxmlj.so*
 %{_libdir}/logging.properties
 %{_javadir}/libgcj*.jar
-%{_javadir}/ecj.jar
 %{_mandir}/man1/gij.1*
 
 %files -n libgcj-devel
@@ -2753,13 +3260,6 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/libffi.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libffi.so.4
 
-%if %{with multilib}
-%files -n libffi-multilib
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir32}/libffi.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir32}/libffi.so.4
-%endif
-
 %files -n libffi-devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libffi.so
@@ -2770,19 +3270,22 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/ffi*.3*
 %{_infodir}/libffi.info*
 
+%files -n libffi-static
+%defattr(644,root,root,755)
+%{_libdir}/libffi.a
+
 %if %{with multilib}
+%files -n libffi-multilib
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir32}/libffi.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir32}/libffi.so.4
+
 %files -n libffi-multilib-devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir32}/libffi.so
 %{_libdir32}/libffi.la
 %{_pkgconfigdir32}/libffi.pc
-%endif
-
-%files -n libffi-static
-%defattr(644,root,root,755)
-%{_libdir}/libffi.a
 
-%if %{with multilib}
 %files -n libffi-multilib-static
 %defattr(644,root,root,755)
 %{_libdir32}/libffi.a
@@ -2798,19 +3301,20 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libobjc.la
 %{gcclibdir}/include/objc
 
-%if %{with objcxx}
-%files objc++
-%defattr(644,root,root,755)
-%doc gcc/objcp/ChangeLog
-%attr(755,root,root) %{gcclibdir}/cc1objplus
-%endif
-
 %if %{with multilib}
 %files objc-multilib
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir32}/libobjc.so
 %{_libdir32}/libobjc.la
 %endif
+%endif
+
+%if %{with objcxx}
+%files objc++
+%defattr(644,root,root,755)
+%doc gcc/objcp/ChangeLog
+%attr(755,root,root) %{gcclibdir}/cc1objplus
+%endif
 
 %files -n libobjc
 %defattr(644,root,root,755)
@@ -2818,32 +3322,34 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/libobjc.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libobjc.so.4
 
+%files -n libobjc-static
+%defattr(644,root,root,755)
+%{_libdir}/libobjc.a
+
 %if %{with multilib}
 %files -n libobjc-multilib
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir32}/libobjc.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir32}/libobjc.so.4
-%endif
-
-%files -n libobjc-static
-%defattr(644,root,root,755)
-%{_libdir}/libobjc.a
 
-%if %{with multilib}
 %files -n libobjc-multilib-static
 %defattr(644,root,root,755)
 %{_libdir32}/libobjc.a
 %endif
-%endif
 
 %if %{with go}
 %files go
 %defattr(644,root,root,755)
 %doc gcc/go/gofrontend/{LICENSE,PATENTS,README}
 %attr(755,root,root) %{_bindir}/gccgo
+%attr(755,root,root) %{_bindir}/go
+%attr(755,root,root) %{_bindir}/gofmt
+%attr(755,root,root) %{gcclibdir}/cgo
 %attr(755,root,root) %{gcclibdir}/go1
 %dir %{_libdir}/go
 %{_libdir}/go/%{version}
+%{_mandir}/man1/go.1*
+%{_mandir}/man1/gofmt.1*
 %{_mandir}/man1/gccgo.1*
 %{_infodir}/gccgo.info*
 
@@ -2858,80 +3364,94 @@ 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
-
-%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
-%endif
+%attr(755,root,root) %ghost %{_libdir}/libgo.so.9
 
 %files -n libgo-devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libgo.so
 %{_libdir}/libgo.la
 %{_libdir}/libgobegin.a
+%{_libdir}/libgolibbegin.a
+%{_libdir}/libnetgo.a
+
+%files -n libgo-static
+%defattr(644,root,root,755)
+%{_libdir}/libgo.a
 
 %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.9
+
 %files -n libgo-multilib-devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir32}/libgo.so
 %{_libdir32}/libgo.la
 %{_libdir32}/libgobegin.a
-%endif
+%{_libdir32}/libgolibbegin.a
+%{_libdir32}/libnetgo.a
 
-%files -n libgo-static
-%defattr(644,root,root,755)
-%{_libdir}/libgo.a
-
-%if %{with multilib}
 %files -n libgo-multilib-static
 %defattr(644,root,root,755)
 %{_libdir32}/libgo.a
 %endif
 %endif
 
-%if %{with asan}
+%if %{with Xsan}
 %files -n libasan
 %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
-
-%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
-%endif
+%attr(755,root,root) %ghost %{_libdir}/libasan.so.3
 
 %files -n libasan-devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libasan.so
 %{_libdir}/libasan_preinit.o
 %{_libdir}/libasan.la
+%{gcclibdir}/include/sanitizer/asan_interface.h
+
+%files -n libasan-static
+%defattr(644,root,root,755)
+%{_libdir}/libasan.a
 
 %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.3
+
 %files -n libasan-multilib-devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir32}/libasan.so
 %{_libdir32}/libasan_preinit.o
 %{_libdir32}/libasan.la
-%endif
-
-%files -n libasan-static
-%defattr(644,root,root,755)
-%{_libdir}/libasan.a
 
-%if %{with multilib}
 %files -n libasan-multilib-static
 %defattr(644,root,root,755)
 %{_libdir32}/libasan.a
 %endif
 %endif
 
-%if %{with tsan}
+%if %{with lsan_m0}
+%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_m0}
 %files -n libtsan
 %defattr(644,root,root,755)
 %doc libsanitizer/ChangeLog* libsanitizer/LICENSE.TXT
@@ -2948,6 +3468,71 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libtsan.a
 %endif
 
+%if %{with Xsan}
+%files -n libubsan
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libubsan.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libubsan.so.0
+
+%files -n libubsan-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libubsan.so
+%{_libdir}/libubsan.la
+
+%files -n libubsan-static
+%defattr(644,root,root,755)
+%{_libdir}/libubsan.a
+
+%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
+
+%files -n libubsan-multilib-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir32}/libubsan.so
+%{_libdir32}/libubsan.la
+
+%files -n libubsan-multilib-static
+%defattr(644,root,root,755)
+%{_libdir32}/libubsan.a
+%endif
+%endif
+
+%if %{with vtv}
+%files -n libvtv
+%defattr(644,root,root,755)
+%doc libvtv/ChangeLog
+%attr(755,root,root) %{_libdir}/libvtv.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libvtv.so.0
+
+%files -n libvtv-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libvtv.so
+%{_libdir}/libvtv.la
+
+%files -n libvtv-static
+%defattr(644,root,root,755)
+%{_libdir}/libvtv.a
+
+%if %{with multilib}
+%files -n libvtv-multilib
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir32}/libvtv.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir32}/libvtv.so.0
+
+%files -n libvtv-multilib-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir32}/libvtv.so
+%{_libdir32}/libvtv.la
+
+%files -n libvtv-multilib-static
+%defattr(644,root,root,755)
+%{_libdir32}/libvtv.a
+%endif
+%endif
+
 %if %{with atomic}
 %files -n libatomic
 %defattr(644,root,root,755)
@@ -2955,32 +3540,45 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/libatomic.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libatomic.so.1
 
-%if %{with multilib}
-%files -n libatomic-multilib
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir32}/libatomic.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir32}/libatomic.so.1
-%endif
-
 %files -n libatomic-devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libatomic.so
 %{_libdir}/libatomic.la
 
+%files -n libatomic-static
+%defattr(644,root,root,755)
+%{_libdir}/libatomic.a
+
 %if %{with multilib}
+%files -n libatomic-multilib
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir32}/libatomic.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir32}/libatomic.so.1
+
 %files -n libatomic-multilib-devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir32}/libatomic.so
 %{_libdir32}/libatomic.la
-%endif
-
-%files -n libatomic-static
-%defattr(644,root,root,755)
-%{_libdir}/libatomic.a
 
-%if %{with multilib}
 %files -n libatomic-multilib-static
 %defattr(644,root,root,755)
 %{_libdir32}/libatomic.a
 %endif
 %endif
+
+%files gdb-plugin
+%defattr(644,root,root,755)
+%doc libcc1/ChangeLog*
+%attr(755,root,root) %{_libdir}/libcc1.so
+%attr(755,root,root) %{_libdir}/libcc1.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libcc1.so.0
+%attr(755,root,root) %{gcclibdir}/plugin/libcc1plugin.so.*
+
+%files plugin-devel
+%defattr(644,root,root,755)
+%dir %{gcclibdir}/plugin
+%{gcclibdir}/plugin/gengtype
+%{gcclibdir}/plugin/gtype.state
+%{gcclibdir}/plugin/include
+%attr(755,root,root) %{gcclibdir}/plugin/libcc1plugin.la
+%attr(755,root,root) %{gcclibdir}/plugin/libcc1plugin.so