]> TLD Linux GIT Repositories - packages/gcc.git/commitdiff
- merged 6.3.0 from PLD
authorMarcin Krol <hawk@tld-linux.org>
Mon, 3 Apr 2017 11:54:34 +0000 (11:54 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Mon, 3 Apr 2017 11:54:34 +0000 (11:54 +0000)
branch.sh [new file with mode: 0755]
gcc-ada-link.patch
gcc-ada-x32.patch [new file with mode: 0644]
gcc-branch.diff [deleted file]
gcc-cloog.patch [deleted file]
gcc-info.patch
gcc-nodebug.patch
gcc-optimize-la.pl
gcc.spec

diff --git a/branch.sh b/branch.sh
new file mode 100755 (executable)
index 0000000..c476b96
--- /dev/null
+++ b/branch.sh
@@ -0,0 +1,30 @@
+#!/bin/sh
+set -e
+package=gcc
+svn=svn://gcc.gnu.org/svn/$package
+branch=branches/$package-6-branch
+tag=tags/${package}_6_3_0_release
+out=$package-branch.diff
+
+# use filterdiff, etc to exclude bad chunks from diff
+filter() {
+       # remove revno's for smaller diffs
+       sed -e 's,^\([-+]\{3\} .*\)\t(revision [0-9]\+)$,\1,'
+}
+
+old=$svn/$tag
+new=$svn/$branch
+echo >&2 "Running diff: $old -> $new"
+LC_ALL=C svn diff -x --ignore-eol-style --force --old=$old --new=$new > $out.svn.tmp
+filter < $out.svn.tmp > $out.tmp
+rm -f $out.svn.tmp
+
+if cmp -s $out{,.tmp}; then
+       echo >&2 "No new diffs..."
+       rm -f $out.tmp
+       exit 0
+fi
+mv -f $out{.tmp,}
+
+../md5 $package.spec
+../dropin $out
index 7583d8c95d4c092ac839d1b444a2033f10c0ee11..240790ad474bb6000d076441070696e12534c37a 100644 (file)
  unsigned char __gnat_objlist_file_supported = 1;
  const char *__gnat_object_library_extension = ".a";
  unsigned char __gnat_separate_run_path_options = 0;
  unsigned char __gnat_objlist_file_supported = 1;
  const char *__gnat_object_library_extension = ".a";
  unsigned char __gnat_separate_run_path_options = 0;
---- a/gcc/ada/gcc-interface/Make-lang.in       2004-09-01 12:46:47.000000000 +0200
-+++ b/gcc/ada/gcc-interface/Make-lang.in       2004-09-26 12:21:15.135188144 +0200
-@@ -625,7 +625,7 @@ ada.tags: force
- ada/doctools/xgnatugn$(build_exeext): ada/xgnatugn.adb
-       -$(MKDIR) ada/doctools
-       $(CP) $^ ada/doctools
--      cd ada/doctools && gnatmake -q xgnatugn
-+      cd ada/doctools && gnatmake -q xgnatugn -aO../rts
- # Note that doc/gnat_ugn.texi and doc/projects.texi do not depend on
- # xgnatugn being built so we can distribute a pregenerated doc/gnat_ugn.info
 --- a/gcc/ada/gcc-interface/Makefile.in        2005-05-26 10:48:40.000000000 +0000
 +++ b/gcc/ada/gcc-interface/Makefile.in        2005-05-26 10:59:25.000000000 +0000
 @@ -126,7 +126,7 @@
 --- a/gcc/ada/gcc-interface/Makefile.in        2005-05-26 10:48:40.000000000 +0000
 +++ b/gcc/ada/gcc-interface/Makefile.in        2005-05-26 10:59:25.000000000 +0000
 @@ -126,7 +126,7 @@
  shext  =
  hyphen = -
  
  shext  =
  hyphen = -
  
-@@ -193,7 +193,7 @@
+@@ -210,7 +210,7 @@
  # Link flags used to build gnat tools.  By default we prefer to statically
  # link with libgcc to avoid a dependency on shared libgcc (which is tricky
  # to deal with as it may conflict with the libgcc provided by the system).
  # Link flags used to build gnat tools.  By default we prefer to statically
  # link with libgcc to avoid a dependency on shared libgcc (which is tricky
  # to deal with as it may conflict with the libgcc provided by the system).
--GCC_LINK_FLAGS=-static-libgcc
-+GCC_LINK_FLAGS=
+-GCC_LINK_FLAGS=-static-libstdc++ -static-libgcc
++GCC_LINK_FLAGS=-static-libstdc++
  
  # End of variables for you to override.
  
  
  # End of variables for you to override.
  
@@ -55,9 +44,9 @@
        cd $(RTSDIR); $(LN_S) libgnat$(hyphen)$(LIBRARY_VERSION)$(soext) \
                libgnat$(soext)
        cd $(RTSDIR); $(LN_S) libgnarl$(hyphen)$(LIBRARY_VERSION)$(soext) \
        cd $(RTSDIR); $(LN_S) libgnat$(hyphen)$(LIBRARY_VERSION)$(soext) \
                libgnat$(soext)
        cd $(RTSDIR); $(LN_S) libgnarl$(hyphen)$(LIBRARY_VERSION)$(soext) \
---- a/gcc/ada/gcc-interface/Makefile.in~       2011-03-27 13:01:06.697666231 +0200
-+++ b/gcc/ada/gcc-interface/Makefile.in        2011-03-27 13:08:55.725801177 +0200
-@@ -2612,14 +2612,14 @@
+--- a/gcc/ada/gcc-interface/Makefile.in~       2014-07-16 18:43:51.000000000 +0200
++++ b/gcc/ada/gcc-interface/Makefile.in        2014-07-16 18:46:09.555516586 +0200
+@@ -2811,14 +2811,14 @@
               gnatlib
        $(RM) $(RTSDIR)/libgna*$(soext)
        cd $(RTSDIR); `echo "$(GCC_FOR_TARGET)" \
               gnatlib
        $(RM) $(RTSDIR)/libgna*$(soext)
        cd $(RTSDIR); `echo "$(GCC_FOR_TARGET)" \
@@ -74,4 +63,3 @@
                $(PICFLAG_FOR_TARGET) \
                -o libgnarl$(hyphen)$(LIBRARY_VERSION)$(soext) \
                $(GNATRTL_TASKING_OBJS) \
                $(PICFLAG_FOR_TARGET) \
                -o libgnarl$(hyphen)$(LIBRARY_VERSION)$(soext) \
                $(GNATRTL_TASKING_OBJS) \
-
diff --git a/gcc-ada-x32.patch b/gcc-ada-x32.patch
new file mode 100644 (file)
index 0000000..27e7e7d
--- /dev/null
@@ -0,0 +1,20 @@
+Based on patch from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56030
+Blocking bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54040 has been fixed
+
+--- gcc-4.9.2/gcc/ada/gcc-interface/Makefile.in~       2014-12-27 17:19:06.000000000 +0000
++++ gcc-4.9.2/gcc/ada/gcc-interface/Makefile.in        2014-12-27 18:11:33.908691021 +0000
+@@ -355,6 +355,14 @@
+   else
+     ifeq ($(strip $(MULTISUBDIR)),/x32)
+       target_cpu:=x32
++    else
++      ifeq ($(strip $(MULTISUBDIR)),/64)
++        target_cpu:=x86_64
++      else
++        ifneq ($(findstring gnux32,$(target_os)),)
++          target_cpu:=x32
++        endif
++      endif
+     endif
+   endif
+ endif
diff --git a/gcc-branch.diff b/gcc-branch.diff
deleted file mode 100644 (file)
index bc6fa31..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-Index: gcc/ChangeLog
-===================================================================
---- gcc/ChangeLog      (.../tags/gcc_4_8_5_release)    (revision 226547)
-+++ gcc/ChangeLog      (.../branches/gcc-4_8-branch)   (revision 226547)
-@@ -1,3 +1,9 @@
-+2015-06-23  Ludovic Courtès  <ludo@gnu.org>
-+
-+      PR 65711
-+      * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Move
-+      '-dynamic-linker' within %{!shared: ...}.
-+
- 2015-06-23  Release Manager
-       * GCC 4.8.5 released.
-Index: gcc/config/arm/linux-elf.h
-===================================================================
---- gcc/config/arm/linux-elf.h (.../tags/gcc_4_8_5_release)    (revision 226547)
-+++ gcc/config/arm/linux-elf.h (.../branches/gcc-4_8-branch)   (revision 226547)
-@@ -65,7 +65,7 @@
-    %{symbolic:-Bsymbolic} \
-    %{!static: \
-      %{rdynamic:-export-dynamic} \
--     -dynamic-linker " GNU_USER_DYNAMIC_LINKER "} \
-+     %{!shared:-dynamic-linker " GNU_USER_DYNAMIC_LINKER "}} \
-    -X \
-    %{mbig-endian:-EB} %{mlittle-endian:-EL}" \
-    SUBTARGET_EXTRA_LINK_SPEC
diff --git a/gcc-cloog.patch b/gcc-cloog.patch
deleted file mode 100644 (file)
index a14f471..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
---- gcc-4.7.1/config/cloog.m4.orig     2011-03-02 04:48:36.000000000 +0100
-+++ gcc-4.7.1/config/cloog.m4  2012-07-06 18:44:25.045888239 +0200
-@@ -207,8 +207,8 @@
- m4_define([_CLOOG_CHECK_CT_PROG],[AC_LANG_PROGRAM(
-   [#include "cloog/cloog.h"],
-   [#if CLOOG_VERSION_MAJOR != $1 \
--    || CLOOG_VERSION_MINOR != $2 \
--    || CLOOG_VERSION_REVISION < $3
-+    || CLOOG_VERSION_MINOR < $2 \
-+    || (CLOOG_VERSION_MINOR == $2 && CLOOG_VERSION_REVISION < $3)
-     choke me
-    #endif])])
---- gcc-4.7.1/configure.orig   2012-02-02 11:20:32.000000000 +0100
-+++ gcc-4.7.1/configure        2012-07-06 19:07:17.112497327 +0200
-@@ -5973,8 +5973,8 @@
- main ()
- {
- #if CLOOG_VERSION_MAJOR != 0 \
--    || CLOOG_VERSION_MINOR != 17 \
--    || CLOOG_VERSION_REVISION < 0
-+    || CLOOG_VERSION_MINOR < 17 \
-+    || (CLOOG_VERSION_MINOR == 17 && CLOOG_VERSION_REVISION < 0)
-     choke me
-    #endif
-   ;
index e5db5bc68267f465cff4ceaa9d75cd9af5e853af..e47bdf68c898701d39fa105b9e4789cfcd1ec78c 100644 (file)
@@ -28,7 +28,7 @@
  
 --- a/gcc/doc/gcc.texi 2004-07-22 22:12:20.000000000 +0200
 +++ b/gcc/doc/gcc.texi 2004-09-26 10:58:58.218713528 +0200
  
 --- a/gcc/doc/gcc.texi 2004-07-22 22:12:20.000000000 +0200
 +++ b/gcc/doc/gcc.texi 2004-09-26 10:58:58.218713528 +0200
-@@ -62,10 +62,10 @@
+@@ -62,12 +62,12 @@
       funds for GNU development.
  @end copying
  @ifnottex
       funds for GNU development.
  @end copying
  @ifnottex
 -* gcc: (gcc).                  The GNU Compiler Collection.
 -* g++: (gcc).                  The GNU C++ compiler.
 -* gcov: (gcc) Gcov.            @command{gcov}---a test coverage program.
 -* gcc: (gcc).                  The GNU Compiler Collection.
 -* g++: (gcc).                  The GNU C++ compiler.
 -* gcov: (gcc) Gcov.            @command{gcov}---a test coverage program.
+-* gcov-tool: (gcc) Gcov-tool.  @command{gcov-tool}---an offline gcda profile processing program.
 +* gcc: (gcc).                         The GNU Compiler Collection
 +* g++: (gcc).                         The GNU C++ compiler
 +* gcov: (gcc) Gcov.                   @command{gcov}---a test coverage program
 +* gcc: (gcc).                         The GNU Compiler Collection
 +* g++: (gcc).                         The GNU C++ compiler
 +* gcov: (gcc) Gcov.                   @command{gcov}---a test coverage program
++* gcov-tool: (gcc) Gcov-tool.         @command{gcov-tool}---an offline gcda profile processing program
  @end direntry
  This file documents the use of the GNU compilers.
  @end direntry
  This file documents the use of the GNU compilers.
+ @sp 1
 --- a/gcc/doc/gccint.texi      2004-05-24 00:54:29.000000000 +0200
 +++ b/gcc/doc/gccint.texi      2004-09-26 10:58:58.222712920 +0200
 @@ -46,9 +46,9 @@
 --- a/gcc/doc/gccint.texi      2004-05-24 00:54:29.000000000 +0200
 +++ b/gcc/doc/gccint.texi      2004-09-26 10:58:58.222712920 +0200
 @@ -46,9 +46,9 @@
  @macro syntax{element}
 --- a/gcc/ada/gnat_ugn.texi    2005-12-06 23:45:52.983574000 +0100
 +++ b/gcc/ada/gnat_ugn.texi    2005-12-11 02:35:45.580878360 +0100
  @macro syntax{element}
 --- a/gcc/ada/gnat_ugn.texi    2005-12-06 23:45:52.983574000 +0100
 +++ b/gcc/ada/gnat_ugn.texi    2005-12-11 02:35:45.580878360 +0100
-@@ -109,9 +109,9 @@
- @settitle @value{EDITION} User's Guide @value{TITLESUFFIX}
--@dircategory GNU Ada tools
+@@ -10,7 +10,7 @@
+ @paragraphindent 0
+ @exampleindent 4
+ @finalout
+-@dircategory GNU Ada Tools 
 +@dircategory Programming Languages:
  @direntry
 +@dircategory Programming Languages:
  @direntry
--* @value{EDITION} User's Guide: (gnat_ugn). @value{PLATFORM}
-+* GNAT User's Guide (gnat_ugn_unw).     GNAT User's Guide
+ * gnat_ugn: (gnat_ugn.info). gnat_ugn
  @end direntry
  @end direntry
- @include gcc-common.texi
 --- a/gcc/fortran/gfortran.texi        2004-09-16 15:13:39.000000000 +0200
 +++ b/gcc/fortran/gfortran.texi        2004-09-26 11:05:50.258074024 +0200
 @@ -62,9 +62,9 @@
 --- a/gcc/fortran/gfortran.texi        2004-09-16 15:13:39.000000000 +0200
 +++ b/gcc/fortran/gfortran.texi        2004-09-26 11:05:50.258074024 +0200
 @@ -62,9 +62,9 @@
@@ -99,9 +99,9 @@
  @end direntry
  This file documents the use and the internals of
  the GNU Fortran compiler, (@command{gfortran}).
  @end direntry
  This file documents the use and the internals of
  the GNU Fortran compiler, (@command{gfortran}).
---- a/gcc/java/gcj.texi        2006-07-02 15:30:47.000000000 +0200
-+++ b/gcc/java/gcj.texi        2006-07-02 21:15:25.663463500 +0200
-@@ -53,29 +53,22 @@
+--- gcc-4.9.2/gcc/java/gcj.texi.orig   2014-01-02 22:25:41.000000000 +0100
++++ gcc-4.9.2/gcc/java/gcj.texi        2015-01-13 20:25:09.094821767 +0100
+@@ -53,29 +53,21 @@
  
  @ifinfo
  @format
  
  @ifinfo
  @format
 +* Gcj: (gcj).                         Ahead-of-time compiler for the Java language
  @end direntry
  
 +* Gcj: (gcj).                         Ahead-of-time compiler for the Java language
  @end direntry
  
- @dircategory Individual utilities
+-@dircategory Individual utilities
 +@dircategory Programming tools:
  @direntry
 -* jcf-dump: (gcj)Invoking jcf-dump.
 +@dircategory Programming tools:
  @direntry
 -* jcf-dump: (gcj)Invoking jcf-dump.
  @end direntry
  @end format
  
  @end direntry
  @end format
  
-@@ -108,33 +101,31 @@
+@@ -108,33 +100,31 @@
  @file{.class} files.
  
  @menu
  @file{.class} files.
  
  @menu
  @chapter Invoking gcj
  
  @c man title gcj Ahead-of-time compiler for the Java language
  @chapter Invoking gcj
  
  @c man title gcj Ahead-of-time compiler for the Java language
-@@ -678,8 +669,8 @@
+@@ -685,8 +675,8 @@
  @code{-findirect-dispatch} then add them to the system-wide
  classmap.db file using @code{gcj-dbtool}, they will be automatically
  loaded by the @code{libgcj} system classloader.  This is the new,
  @code{-findirect-dispatch} then add them to the system-wide
  classmap.db file using @code{gcj-dbtool}, they will be automatically
  loaded by the @code{libgcj} system classloader.  This is the new,
  
  @item
  The old classname-to-library lookup mechanism is still supported
  
  @item
  The old classname-to-library lookup mechanism is still supported
-@@ -726,7 +717,7 @@
+@@ -733,7 +723,7 @@
  @end itemize
  
  
  @end itemize
  
  
  @chapter Invoking jcf-dump
  
  @c man title jcf-dump print information about Java class files
  @chapter Invoking jcf-dump
  
  @c man title jcf-dump print information about Java class files
-@@ -786,7 +777,7 @@
+@@ -793,7 +783,7 @@
  
  @c man end
  
  
  @c man end
  
  @chapter Invoking gij
  
  @c man title gij GNU interpreter for Java bytecode
  @chapter Invoking gij
  
  @c man title gij GNU interpreter for Java bytecode
-@@ -915,7 +906,7 @@
+@@ -922,7 +912,7 @@
  
  @c man end
  
  
  @c man end
  
  @chapter Invoking gcj-dbtool.
  
  @c man title gcj-dbtool Manipulate class file mapping databases for libgcj
  @chapter Invoking gcj-dbtool.
  
  @c man title gcj-dbtool Manipulate class file mapping databases for libgcj
-@@ -1006,7 +997,7 @@
+@@ -1013,7 +1003,7 @@
  
  @c man end
  
  
  @c man end
  
  @chapter Invoking jv-convert
  
  @c man title jv-convert Convert file from one encoding to another
  @chapter Invoking jv-convert
  
  @c man title jv-convert Convert file from one encoding to another
-@@ -1065,7 +1056,7 @@
+@@ -1072,7 +1062,7 @@
  
  @c man end
  
  
  @c man end
  
  @chapter Invoking grmic
  
  @c man title grmic Generate stubs for Remote Method Invocation
  @chapter Invoking grmic
  
  @c man title grmic Generate stubs for Remote Method Invocation
-@@ -1144,7 +1135,7 @@
+@@ -1151,7 +1141,7 @@
  @c man end
  
  
  @c man end
  
  
  @chapter Invoking gc-analyze
  
  @c man title gc-analyze Analyze Garbage Collector (GC) memory dumps
  @chapter Invoking gc-analyze
  
  @c man title gc-analyze Analyze Garbage Collector (GC) memory dumps
-@@ -1227,7 +1218,7 @@
+@@ -1234,7 +1224,7 @@
  
  @c man end
  
  
  @c man end
  
  @chapter Invoking aot-compile
  
  @c man title aot-compile Compile bytecode to native and generate databases
  @chapter Invoking aot-compile
  
  @c man title aot-compile Compile bytecode to native and generate databases
-@@ -1285,7 +1276,7 @@
+@@ -1292,7 +1282,7 @@
  
  @c man end
  
  
  @c man end
  
  @c man title rebuild-gcj-db Merge the per-solib databases made by aot-compile into one system-wide database.
 --- a/gcc/ada/gnat_rm.texi     2005-11-30 12:12:06.000000000 +0100
 +++ b/gcc/ada/gnat_rm.texi     2005-12-11 02:36:14.863426736 +0100
  @c man title rebuild-gcj-db Merge the per-solib databases made by aot-compile into one system-wide database.
 --- a/gcc/ada/gnat_rm.texi     2005-11-30 12:12:06.000000000 +0100
 +++ b/gcc/ada/gnat_rm.texi     2005-12-11 02:36:14.863426736 +0100
-@@ -26,9 +26,9 @@
- @include gcc-common.texi
--@dircategory GNU Ada tools
+@@ -26,7 +26,7 @@
+ @paragraphindent 0
+ @exampleindent 4
+ @finalout
+-@dircategory GNU Ada Tools 
 +@dircategory Programming Languages:
  @direntry
 +@dircategory Programming Languages:
  @direntry
--* GNAT Reference Manual: (gnat_rm).  Reference Manual for GNU Ada tools.
-+* GNAT Reference Manual: (gnat_rm).   Reference Manual for GNU Ada tools
+ * gnat_rm: (gnat_rm.info). gnat_rm
  @end direntry
  @end direntry
- @copying
 --- a/gcc/doc/install.texi     2005-11-30 12:02:42.000000000 +0100
 +++ b/gcc/doc/install.texi     2005-12-11 02:44:22.598279768 +0100
 @@ -87,9 +87,9 @@
 --- a/gcc/doc/install.texi     2005-11-30 12:02:42.000000000 +0100
 +++ b/gcc/doc/install.texi     2005-12-11 02:44:22.598279768 +0100
 @@ -87,9 +87,9 @@
 -@dircategory GNU Libraries
 +@dircategory Libraries:
  @direntry
 -@dircategory GNU Libraries
 +@dircategory Libraries:
  @direntry
--* libgomp: (libgomp).                    GNU OpenMP runtime library
-+* libgomp: (libgomp).                 GNU OpenMP runtime library
+-* libgomp: (libgomp).          GNU Offloading and Multi Processing Runtime Library.
++* libgomp: (libgomp).                 GNU Offloading and Multi Processing Runtime Library
  @end direntry
  
  This manual documents the GNU implementation of the OpenMP API for 
  @end direntry
  
  This manual documents the GNU implementation of the OpenMP API for 
  @end direntry
  
  This manual documents the GCC Quad-Precision Math Library API.
  @end direntry
  
  This manual documents the GCC Quad-Precision Math Library API.
+--- gcc-4.9.2/libffi/doc/libffi.texi.orig      2014-02-13 17:18:13.000000000 +0100
++++ gcc-4.9.2/libffi/doc/libffi.texi   2015-01-13 20:19:48.088168568 +0100
+@@ -31,9 +31,9 @@
+ @end quotation
+ @end copying
+-@dircategory Development
++@dircategory Libraries:
+ @direntry
+-* libffi: (libffi).             Portable foreign-function interface library.
++* libffi: (libffi).                   Portable foreign-function interface library
+ @end direntry
+ @titlepage
+--- gcc-4.9.2/libjava/classpath/doc/cp-hacking.texinfo.orig    2010-10-12 17:55:12.000000000 +0200
++++ gcc-4.9.2/libjava/classpath/doc/cp-hacking.texinfo 2015-01-13 20:20:39.751499738 +0100
+@@ -14,9 +14,9 @@
+ Copyright (C) 1998,1999,2000,2001,2002,2003,2004,2005,2007,2009 Free Software Foundation, Inc.
+ @ifnotplaintext
+-@dircategory GNU Libraries
++@dircategory Libraries:
+ @direntry
+-* Classpath Hacking: (cp-hacking).  GNU Classpath Hacker's Guide
++* Classpath Hacking: (cp-hacking).    GNU Classpath Hacker's Guide
+ @end direntry
+ @end ifnotplaintext
+ @end ifinfo
+--- gcc-4.9.2/libjava/classpath/doc/cp-vmintegration.texinfo.orig      2008-06-28 15:29:13.000000000 +0200
++++ gcc-4.9.2/libjava/classpath/doc/cp-vmintegration.texinfo   2015-01-13 20:21:24.928164508 +0100
+@@ -15,9 +15,9 @@
+ Copyright (C) 1998-2002, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
+ @ifnotplaintext
+-@dircategory GNU Libraries
++@dircategory Libraries:
+ @direntry
+-* VM Integration: (cp-vmintegration).  GNU Classpath VM Integration Guide
++* VM Integration: (cp-vmintegration). GNU Classpath VM Integration Guide
+ @end direntry
+ @end ifnotplaintext
+ @end ifinfo
+--- gcc-4.9.2/libiberty/libiberty.texi.orig    2015-01-13 20:22:23.151495398 +0100
++++ gcc-4.9.2/libiberty/libiberty.texi 2015-01-13 20:22:25.921495282 +0100
+@@ -11,10 +11,9 @@
+ @finalout
+ @c %**end of header
+-@dircategory GNU libraries
++@dircategory Libraries:
+ @direntry
+-* Libiberty: (libiberty).          Library of utility functions which
+-                                   are missing or broken on some systems.
++* Libiberty: (libiberty).             Library of utility functions which are missing or broken on some systems
+ @end direntry
+ @macro libib
+--- gcc-4.9.2/gcc/fortran/gfc-internals.texi.orig      2014-01-02 22:25:41.000000000 +0100
++++ gcc-4.9.2/gcc/fortran/gfc-internals.texi   2015-01-13 20:23:53.034825013 +0100
+@@ -53,9 +53,9 @@
+ @end copying
+ @ifinfo
+-@dircategory Software development
++@dircategory Programming Languages:
+ @direntry
+-* gfortran: (gfortran).                  The GNU Fortran Compiler.
++* gfortran: (gfortran).                       The GNU Fortran Compiler
+ @end direntry
+ This file documents the internals of the GNU Fortran
+ compiler, (@command{gfortran}).
index da72de92f76306476f19bbcd3c7744d1287a5e40..4707f5bfd14b70ef3f7980e423f05ed93c768177 100644 (file)
@@ -9,41 +9,24 @@
  BOOT_CFLAGS = -O $(CFLAGS)
  # These exists to be overridden by the t-* files, respectively.
  T_CFLAGS =
  BOOT_CFLAGS = -O $(CFLAGS)
  # These exists to be overridden by the t-* files, respectively.
  T_CFLAGS =
-@@ -105,11 +105,11 @@
+@@ -105,12 +105,12 @@ TEXI2PDF = texi2pdf
  GNATBIND_FLAGS = -static -x
  ADA_CFLAGS =
  ADAFLAGS = -W -Wall -gnatpg -gnata
 -FORCE_DEBUG_ADAFLAGS = -g
 +FORCE_DEBUG_ADAFLAGS =
  GNATBIND_FLAGS = -static -x
  ADA_CFLAGS =
  ADAFLAGS = -W -Wall -gnatpg -gnata
 -FORCE_DEBUG_ADAFLAGS = -g
 +FORCE_DEBUG_ADAFLAGS =
+ NO_INLINE_ADAFLAGS = -fno-inline
  NO_SIBLING_ADAFLAGS = -fno-optimize-sibling-calls
  NO_REORDER_ADAFLAGS = -fno-toplevel-reorder
  GNATLIBFLAGS = -W -Wall -gnatpg -nostdinc
 -GNATLIBCFLAGS = -g -O2
 +GNATLIBCFLAGS = -O2
  NO_SIBLING_ADAFLAGS = -fno-optimize-sibling-calls
  NO_REORDER_ADAFLAGS = -fno-toplevel-reorder
  GNATLIBFLAGS = -W -Wall -gnatpg -nostdinc
 -GNATLIBCFLAGS = -g -O2
 +GNATLIBCFLAGS = -O2
- PICFLAG_FOR_TARGET = @PICFLAG_FOR_TARGET@
  # Pretend that _Unwind_GetIPInfo is available for the target by default.  This
  # Pretend that _Unwind_GetIPInfo is available for the target by default.  This
-@@ -2755,7 +2755,7 @@
-       cd $(RTSDIR) && \
-       ../../gnatsym -s SYMVEC_$$$$.opt \
-       $(LIBGNAT_OBJS) $(GNATRTL_NONTASKING_OBJS) && \
--      ../../xgcc -g -B../../ -shared -shared-libgcc \
-+      ../../xgcc -B../../ -shared -shared-libgcc \
-          -o libgnat$(hyphen)$(LIBRARY_VERSION)$(soext) libgnat.a \
-          sys\$$library:trace.exe \
-          --for-linker=/noinform \
-@@ -2764,7 +2764,7 @@
-       cd $(RTSDIR) && \
-       ../../gnatsym -s SYMVEC_$$$$.opt \
-       $(GNATRTL_TASKING_OBJS) && \
--      ../../xgcc -g -B../../ -shared -shared-libgcc \
-+      ../../xgcc -B../../ -shared -shared-libgcc \
-          -o libgnarl$(hyphen)$(LIBRARY_VERSION)$(soext) \
-          libgnarl.a libgnat$(hyphen)$(LIBRARY_VERSION)$(soext) \
-          sys\$$library:trace.exe \
+ # should be autodetected during the configuration of libada and passed down to
+ # here, but we need something for --disable-libada and hope for the best.
 --- gcc-4.7.1/libada/Makefile.in.orig  2012-06-12 17:12:37.000000000 +0200
 +++ gcc-4.7.1/libada/Makefile.in       2012-07-12 18:27:53.482408144 +0200
 --- gcc-4.7.1/libada/Makefile.in.orig  2012-06-12 17:12:37.000000000 +0200
 +++ gcc-4.7.1/libada/Makefile.in       2012-07-12 18:27:53.482408144 +0200
-@@ -59,7 +59,7 @@
+@@ -59,7 +59,7 @@ LDFLAGS=
  CFLAGS=-g
  PICFLAG = @PICFLAG@
  GNATLIBFLAGS= -W -Wall -gnatpg -nostdinc
  CFLAGS=-g
  PICFLAG = @PICFLAG@
  GNATLIBFLAGS= -W -Wall -gnatpg -nostdinc
 --- gcc-4.7.1/libffi/Makefile.am.orig  2012-02-27 11:00:12.000000000 +0100
 +++ gcc-4.7.1/libffi/Makefile.am       2012-07-12 18:28:20.115740360 +0200
 @@ -168,7 +168,7 @@
 --- gcc-4.7.1/libffi/Makefile.am.orig  2012-02-27 11:00:12.000000000 +0100
 +++ gcc-4.7.1/libffi/Makefile.am       2012-07-12 18:28:20.115740360 +0200
 @@ -168,7 +168,7 @@
- libffi_convenience_la_SOURCES = $(libffi_la_SOURCES)
- nodist_libffi_convenience_la_SOURCES = $(nodist_libffi_la_SOURCES)
--AM_CFLAGS = -Wall -g -fexceptions
-+AM_CFLAGS = -Wall -fexceptions
  
  LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
  
  
  LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
  
+-AM_CFLAGS = -Wall -g -fexceptions
++AM_CFLAGS = -Wall -fexceptions
+ if FFI_DEBUG
+ # Build debug. Define FFI_DEBUG on the commandline so that, when building with
+ # MSVC, it can link against the debug CRT.
 --- gcc-4.7.1/libffi/Makefile.in.orig  2012-06-14 10:48:08.000000000 +0200
 +++ gcc-4.7.1/libffi/Makefile.in       2012-07-12 18:28:35.029073067 +0200
 --- gcc-4.7.1/libffi/Makefile.in.orig  2012-06-14 10:48:08.000000000 +0200
 +++ gcc-4.7.1/libffi/Makefile.in       2012-07-12 18:28:35.029073067 +0200
-@@ -475,7 +475,7 @@
-       $(am__append_24) $(am__append_25)
- libffi_convenience_la_SOURCES = $(libffi_la_SOURCES)
+@@ -486,7 +486,7 @@ libffi_convenience_la_LIBADD = $(libffi_
+ libffi_convenience_la_DEPENDENCIES = $(libffi_la_DEPENDENCIES)
  nodist_libffi_convenience_la_SOURCES = $(nodist_libffi_la_SOURCES)
  nodist_libffi_convenience_la_SOURCES = $(nodist_libffi_la_SOURCES)
--AM_CFLAGS = -Wall -g -fexceptions
-+AM_CFLAGS = -Wall -fexceptions
  LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
  LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
- libffi_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` $(LTLDFLAGS) $(AM_LTLDFLAGS)
- AM_CPPFLAGS = -I. -I$(top_srcdir)/include -Iinclude -I$(top_srcdir)/src
+-AM_CFLAGS = -Wall -g -fexceptions $(am__append_2)
++AM_CFLAGS = -Wall -fexceptions $(am__append_2)
+ @LIBAT_BUILD_VERSIONED_SHLIB_FALSE@libffi_version_script = 
+ @LIBAT_BUILD_VERSIONED_SHLIB_GNU_TRUE@@LIBAT_BUILD_VERSIONED_SHLIB_TRUE@libffi_version_script = -Wl,--version-script,libffi.map
+ @LIBAT_BUILD_VERSIONED_SHLIB_SUN_TRUE@@LIBAT_BUILD_VERSIONED_SHLIB_TRUE@libffi_version_script = -Wl,-M,libffi.map-sun
 --- gcc-4.7.1/libgcc/Makefile.in.orig  2012-05-24 16:59:38.000000000 +0200
 +++ gcc-4.7.1/libgcc/Makefile.in       2012-07-12 18:28:59.042405393 +0200
 @@ -221,7 +221,7 @@
 --- gcc-4.7.1/libgcc/Makefile.in.orig  2012-05-24 16:59:38.000000000 +0200
 +++ gcc-4.7.1/libgcc/Makefile.in       2012-07-12 18:28:59.042405393 +0200
 @@ -221,7 +221,7 @@
index 56245293f22177a2bc683148b0201e914b9fb88e..39c4eac8ec560d40b2e25ec956796246608b2fa6 100644 (file)
@@ -16,11 +16,13 @@ close(F);
 
 foreach (@lines)
 {
 
 foreach (@lines)
 {
-    if (/(^dependency_libs='(.*)')/)
+    if (/(^dependency_libs='(.*)')[\ \t]*$/)
     {
     {
-       @libs = split(/[\ \t\n]+/, trim($2));
-       @L = grep(/^-L.*gcc\/.*\/\d\.\d\.\d(\/32)*$/, @libs);
-       @l = grep(/^-l.*/, @libs);
+       my $trimmed = trim($2);
+       $trimmed =~ y/'//d;
+       @libs = split(/[\ \t\n]+/, $trimmed);
+       @L = grep(/^-L.*gcc\/.*\/\d\.\d\.\d(\/(32|64|x32|nof))*$/, @libs);
+       @l = grep(/^(-l.*|\/.*\.la$)/, @libs);
        $opt_L = join(' ', @L);
        $opt_l = join(' ', @l);
        print("dependency_libs='");
        $opt_L = join(' ', @L);
        $opt_l = join(' ', @l);
        print("dependency_libs='");
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: 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:
 # 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
 # - 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:
 #
 # Conditional build:
 # - languages:
 %bcond_without objcxx          # build without Objective-C++ support
 # - features:
 %bcond_without gomp            # build without OpenMP support
 %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 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
                                # 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    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
 # - other:
 %bcond_without bootstrap       # omit 3-stage bootstrap
 %bcond_with    tests           # torture gcc
 %undefine      with_multilib
 %endif
 
 %undefine      with_multilib
 %endif
 
-%ifnarch %{ix86} %{x8664}
-%undefine      with_atomic
+# setup internal semi-bconds based on bconds and architecture
+%if %{with multilib}
 %endif
 %endif
-
-%ifnarch %{ix86} %{x8664}
-%undefine      with_asan
+%ifarch %{ix86} %{x8664}
+# library for atomic operations not supported by hardware
+%define                with_atomic     1
 %endif
 %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
 
 %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
 # 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
 
 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}
 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
 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
 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
 # 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
 Patch0:                %{name}-info.patch
-Patch1:                %{name}-cloog.patch
 Patch2:                %{name}-nodebug.patch
 Patch3:                %{name}-ada-link.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
 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: 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: 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
 %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}
 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
 BuildRequires: gcc(multilib)
 %ifarch %{x8664}
 BuildRequires: glibc-devel(ix86)
 %endif
+%ifarch aarch64
+BuildRequires: glibc-devel(arm)
 %endif
 %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
 %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}
 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: 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
 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: 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: 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: 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
 %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:      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
 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}
 
 # 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
 
 %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
 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}
 Requires:      libgcc-multilib = %{epoch}:%{version}-%{release}
-%{?with_multilib:Provides:     gcc(multilib)}
 Obsoletes:     libgcc32
 %ifarch %{x8664}
 Requires:      glibc-devel(ix86)
 %endif
 Obsoletes:     libgcc32
 %ifarch %{x8664}
 Requires:      glibc-devel(ix86)
 %endif
+Provides:      gcc(multilib)
 
 %description multilib
 A compiler aimed at integrating all the optimizations and features
 
 %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
 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
 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
 %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
 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
 %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
 Group:         Libraries
 
 %description -n libgomp
@@ -319,22 +345,10 @@ GNU OpenMP library.
 %description -n libgomp -l pl.UTF-8
 Biblioteka GNU OpenMP.
 
 %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
 %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}
 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.
 
 %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
 %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}
 
 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.
 
 %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
 %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
 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.
 
 %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.
 
 %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
 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
 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
 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
 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
 
 %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}
 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
 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}
 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
 
 %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
 
 %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
 Group:         Libraries
+Requires:      libgcc = %{epoch}:%{version}-%{release}
 Obsoletes:     gnat
 Obsoletes:     libgnat1
 
 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.
 
 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
 %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
 
 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.
 
 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
 %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
 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++
 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++
 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
 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.
 
 %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
 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
 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
 
 %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
 
 %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
 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}
 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++
 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
 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
 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
 
 %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.
 
 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++
 %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
 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
 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++.
 
 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++
 %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
 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++.
 
 %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
 %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}
 
 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.
 
 %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++
 %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
 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
 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}
 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
 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
 
 %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}
 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
 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
 Group:         Libraries
+Requires:      libgcc = %{epoch}:%{version}-%{release}
 Requires:      libquadmath = %{epoch}:%{version}-%{release}
 Obsoletes:     libg2c
 
 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.
 
 %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
 %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
 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.
 
 %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
 %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}
 
 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
 %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
 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.
 
 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
 %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}
 
 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.
 
 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}
 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}
 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
 
 %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}
 
 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
 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}
 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}
 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
 
 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
 %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}
 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
 
 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
 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
 
 %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}
 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
 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
 
 %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}
 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
 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
 
 %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
 
 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
 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
 
 %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.
 
 %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
 %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.
 
 %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
 %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
 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}
 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
 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
 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
 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}
 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
 
 %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++
 
 %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}
 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
 %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
 Group:         Libraries
+Requires:      libgcc = %{epoch}:%{version}-%{release}
 Obsoletes:     libobjc1
 
 %description -n libobjc
 Obsoletes:     libobjc1
 
 %description -n libobjc
@@ -1314,25 +1353,13 @@ Objective C Library.
 Bibliotecas de Objective C.
 
 %description -n libobjc -l pl.UTF-8
 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
 
 %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}
 
 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
 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
 
 %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}
 
 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
 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
 
 %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}
 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
 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
 
 %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}
 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
 
 %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
 
 %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.
 
 %description -n libgo
 Go language library.
@@ -1401,19 +1441,6 @@ Go language library.
 %description -n libgo -l pl.UTF-8
 Biblioteka języka Go.
 
 %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
 %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.
 
 %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
 %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.
 
 %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
 %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
 %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
 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
 
 %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
 
 %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
 Group:         Libraries
+Requires:      libstdc++-multilib = %{epoch}:%{version}-%{release}
 
 %description -n libasan-multilib
 This package contains 32-bit version of the Address Sanitizer library
 
 %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.
 
 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
 %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
 Group:         Development/Libraries
+Requires:      libasan-devel = %{epoch}:%{version}-%{release}
 Requires:      libasan-multilib = %{epoch}:%{version}-%{release}
 
 %description -n libasan-multilib-devel
 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.
 
 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
 %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}
 
 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.
 
 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
 %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
 Group:         Libraries
+Requires:      libstdc++ = %{epoch}:%{version}-%{release}
 
 %description -n libtsan
 This package contains the Thread Sanitizer library which is used for
 
 %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
 %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}
 
 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
 %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}
 
 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.
 
 %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
 %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
 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.
 
 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
 %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
 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.
 
 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
 %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}
 
 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.
 
 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
 %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
 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.
 
 
 %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
 %prep
 %setup -q
+#%patch100 -p0
 %patch0 -p1
 %patch0 -p1
-%patch1 -p1
 %patch2 -p1
 %patch3 -p1
 %patch2 -p1
 %patch3 -p1
-%patch4 -p0
+
+%patch7 -p0
 %if %{with qt}
 %if %{with qt}
-%patch5 -p1
+%patch8 -p1
 %endif
 %if %{with gcc_libffi}
 %endif
 %if %{with gcc_libffi}
-%patch6 -p0
+%patch11 -p0
 %endif
 %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
 
 # override snapshot version.
 echo %{version} > gcc/BASE-VER
@@ -1729,12 +2142,13 @@ TEXCONFIG=false \
 %endif
        %{?with_fortran:--enable-cmath} \
        --enable-decimal-float \
 %endif
        %{?with_fortran:--enable-cmath} \
        --enable-decimal-float \
+       --enable-gnu-indirect-function \
        --enable-gnu-unique-object \
        --enable-initfini-array \
        --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 \
        --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 \
        --enable-linker-build-id \
        --enable-linux-futex \
        --enable-long-long \
@@ -1745,14 +2159,20 @@ TEXCONFIG=false \
        --enable-shared \
        --enable-threads=posix \
        --disable-werror \
        --enable-shared \
        --enable-threads=posix \
        --disable-werror \
-       --with-cloog \
+%ifarch %{x8664}
+       --with-arch-32=x86-64 \
+%endif
        --with-demangler-in-ld \
        --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-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 \
        --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} \
        --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} \
 %endif
 %if %{with java}
        %{!?with_alsa:--disable-alsa} \
@@ -1781,16 +2202,17 @@ TEXCONFIG=false \
 %endif
        --enable-jni \
        --enable-libgcj \
 %endif
        --enable-jni \
        --enable-libgcj \
-       --enable-libgcj-multifile \
        --enable-libgcj-database \
        --enable-libgcj-database \
+       --enable-libgcj-multifile \
        --disable-libjava-multilib \
        %{?with_mozilla:--enable-plugin} \
        --enable-static-libjava \
        --enable-xmlj \
 %endif
        --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 ..
 
 
 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.*.*.*)
 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.*.*.*)
 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.*.*.*)
 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.*.*.*)
 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.*.*.*)
 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.*.*.*)
 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
 
 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...
 
 %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
        $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}
 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
        $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 \
 # 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_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_atomic:libatomic.la} \
-       %{?with_mudflap:libmudflap.la libmudflapth.la} \
 %if %{with java}
        %{?with_gcc_libffi:libffi.la} \
        libgcj.la libgcj-tools.la libgij.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
 %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 \
 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_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_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
        %{?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
 
 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
 
 %{__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}
 
 %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,' \
        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}
          < 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}
 %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}
 %{__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}
 
 %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
 %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
 %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
 %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
 %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
 %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
 %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 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 -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)
 
 %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}/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*
 %{_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}/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
 %{_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
 %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
 %{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*
 %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
+%dir %{gcclibdir}/include/sanitizer
+%{gcclibdir}/include/sanitizer/common_interface_defs.h
 %dir %{gcclibdir}/include/ssp
 %{gcclibdir}/include/ssp/*.h
 %{gcclibdir}/include/float.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/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
 %{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/unwind.h
 %{gcclibdir}/include/varargs.h
 %ifarch %{ix86} %{x8664}
+%{gcclibdir}/include/adxintrin.h
 %{gcclibdir}/include/ammintrin.h
 %{gcclibdir}/include/ammintrin.h
-%{gcclibdir}/include/avxintrin.h
 %{gcclibdir}/include/avx2intrin.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/bmi2intrin.h
+%{gcclibdir}/include/bmiintrin.h
 %{gcclibdir}/include/bmmintrin.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/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/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/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/mmintrin.h
+%{gcclibdir}/include/mm_malloc.h
 %{gcclibdir}/include/nmmintrin.h
 %{gcclibdir}/include/nmmintrin.h
-%{gcclibdir}/include/popcntintrin.h
+%{gcclibdir}/include/mwaitxintrin.h
+%{gcclibdir}/include/pkuintrin.h
 %{gcclibdir}/include/pmmintrin.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
 %{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/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/xsaveintrin.h
 %{gcclibdir}/include/xsaveoptintrin.h
+%{gcclibdir}/include/xsavesintrin.h
 %{gcclibdir}/include/xtestintrin.h
 %endif
 %ifarch arm
 %{gcclibdir}/include/xtestintrin.h
 %endif
 %ifarch arm
@@ -2236,6 +2713,7 @@ rm -rf $RPM_BUILD_ROOT
 %ifarch mips
 %{gcclibdir}/include/loongson.h
 %endif
 %ifarch mips
 %{gcclibdir}/include/loongson.h
 %endif
+%{?with_vtv:%{gcclibdir}/include/vtv_*.h}
 
 %if %{with multilib}
 %files multilib
 
 %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
 %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
 %{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
 %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)
 
 %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.*.*.*
 %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
 
 %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
 %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
 %{_libdir}/libgomp.spec
 %{gcclibdir}/finclude
 %{gcclibdir}/include/omp.h
+%{gcclibdir}/include/openacc.h
 %{_infodir}/libgomp.info*
 
 %{_infodir}/libgomp.info*
 
+%files -n libgomp-static
+%defattr(644,root,root,755)
+%{_libdir}/libgomp.a
+
 %if %{with multilib}
 %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
 %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
 
 %endif
 
-%files -n libgomp-static
+%if %{with cilkrts}
+%files -n libcilkrts
 %defattr(644,root,root,755)
 %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)
 %defattr(644,root,root,755)
-%{_libdir32}/libgomp.a
+%{_libdir32}/libcilkrts.a
 %endif
 %endif
 
 %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)
 %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)
 %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)
 %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}
 
 %if %{with multilib}
-%files -n libmudflap-multilib-devel
+%files -n libmpx-multilib
 %defattr(644,root,root,755)
 %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)
 %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)
 %defattr(644,root,root,755)
-%{_libdir32}/libmudflap.a
-%{_libdir32}/libmudflapth.a
-%endif
+%{_libdir32}/libmpx.a
+%{_libdir32}/libmpxwrappers.a
 %endif
 
 %if %{with ada}
 %endif
 
 %if %{with ada}
@@ -2399,6 +2914,7 @@ rm -rf $RPM_BUILD_ROOT
 %{gcclibdir}/32/adalib/libgmem.a
 %endif
 %endif
 %{gcclibdir}/32/adalib/libgmem.a
 %endif
 %endif
+%endif
 
 %files -n libgnat
 %defattr(644,root,root,755)
 
 %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
 
 %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)
 %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
 %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
 %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++
 
 %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}
 
 %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
 %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}
 %dir %{_includedir}/c++
 %{_includedir}/c++/%{version}
+%{_includedir}/expc++.h
 %{_includedir}/extc++.h
 %{_includedir}/stdc++.h
 %{_includedir}/stdtr1c++.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
 
 %exclude %{_includedir}/c++/%{version}/sun
 %endif
 
-%if %{with apidocs}
-%files -n libstdc++-apidocs
+%files -n libstdc++-static
 %defattr(644,root,root,755)
 %defattr(644,root,root,755)
-%doc libstdc++-v3/doc/html/*
-%endif
+%{_libdir}/libstdc++.a
 
 %if %{with multilib}
 
 %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
 %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)
 %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}
 %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)
 %defattr(644,root,root,755)
-%{_libdir32}/libstdc++.a
+%doc libstdc++-v3/doc/html/*
 %endif
 %endif
 
 %endif
 %endif
 
@@ -2530,8 +3044,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libgfortran.la
 %{gcclibdir}/libcaf_single.a
 %{gcclibdir}/libcaf_single.la
 %{_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*
 %{_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
 %{_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
 %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
 
 %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
 %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
 %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
 
 %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
 %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*
 
 %{_libdir}/libquadmath.la
 %{_infodir}/libquadmath.info*
 
+%files -n libquadmath-static
+%defattr(644,root,root,755)
+%{_libdir}/libquadmath.a
+
 %if %{with multilib}
 %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
 %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
 %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
 %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
 %{_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
 
 %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
 %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*
 
 %{_mandir}/man3/ffi*.3*
 %{_infodir}/libffi.info*
 
+%files -n libffi-static
+%defattr(644,root,root,755)
+%{_libdir}/libffi.a
+
 %if %{with multilib}
 %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
 %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
 %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
 
 %{_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
 %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)
 
 %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
 
 %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
 %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
 %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
 
 %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}
 %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*
 
 %{_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.*.*.*
 %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
 
 %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}
 
 %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
 %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
 
 %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.*.*.*
 %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
 
 %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}
 
 %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
 %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
 
 %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
 %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
 
 %{_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)
 %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
 
 %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-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}
 %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
 %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 -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