From e14f97005a3d22e658d01d0fc8899f5bda1982ca Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 31 2016 08:06:22 +0000 Subject: import devtoolset-4-gcc-5.3.1-6.1.el7 --- diff --git a/.devtoolset-4-gcc.metadata b/.devtoolset-4-gcc.metadata index 59715fa..e7c89b3 100644 --- a/.devtoolset-4-gcc.metadata +++ b/.devtoolset-4-gcc.metadata @@ -1,4 +1,4 @@ 7f4348418dc3efefd357b32a2b5c8010211ab284 SOURCES/doxygen-1.8.0.src.tar.gz -84f20f8ae52afc3a404c83671b1d0be2d08ad8f4 SOURCES/gcc-5.2.1-20150902.tar.bz2 +2b75e91f3a19e466580b04b057ec7ad251333221 SOURCES/gcc-5.3.1-20160406.tar.bz2 b09e25df265c97ed54002cd811d227a9a26c5f9c SOURCES/isl-0.14.tar.bz2 5ef03ca7aee134fe7dfecb6c9d048799f0810278 SOURCES/mpc-0.8.1.tar.gz diff --git a/.gitignore b/.gitignore index d985a27..735efe6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ SOURCES/doxygen-1.8.0.src.tar.gz -SOURCES/gcc-5.2.1-20150902.tar.bz2 +SOURCES/gcc-5.3.1-20160406.tar.bz2 SOURCES/isl-0.14.tar.bz2 SOURCES/mpc-0.8.1.tar.gz diff --git a/SOURCES/gcc5-isl-dl.patch b/SOURCES/gcc5-isl-dl.patch index 104296f..1322cd2 100644 --- a/SOURCES/gcc5-isl-dl.patch +++ b/SOURCES/gcc5-isl-dl.patch @@ -1,6 +1,6 @@ ---- gcc/Makefile.in.jj 2012-12-13 17:09:20.000000000 +0100 -+++ gcc/Makefile.in 2012-12-14 11:45:22.585670055 +0100 -@@ -1006,7 +1006,7 @@ BUILD_LIBDEPS= $(BUILD_LIBIBERTY) +--- gcc/Makefile.in.jj 2015-06-06 10:00:25.000000000 +0200 ++++ gcc/Makefile.in 2015-11-04 14:56:02.643536437 +0100 +@@ -1013,7 +1013,7 @@ BUILD_LIBDEPS= $(BUILD_LIBIBERTY) # and the system's installed libraries. LIBS = @LIBS@ libcommon.a $(CPPLIB) $(LIBINTL) $(LIBICONV) $(LIBBACKTRACE) \ $(LIBIBERTY) $(LIBDECNUMBER) $(HOST_LIBS) @@ -9,7 +9,7 @@ $(ZLIB) # Any system libraries needed just for GNAT. SYSLIBS = @GNAT_LIBEXC@ -@@ -2050,6 +2050,15 @@ $(out_object_file): $(out_file) +@@ -2058,6 +2058,15 @@ $(out_object_file): $(out_file) $(common_out_object_file): $(common_out_file) $(COMPILE) $< $(POSTCOMPILE) @@ -25,9 +25,9 @@ # # Generate header and source files from the machine description, # and compile them. ---- gcc/graphite-poly.h.jj 2012-12-13 11:31:27.000000000 +0100 -+++ gcc/graphite-poly.h 2012-12-14 13:41:41.970800726 +0100 -@@ -22,6 +22,478 @@ along with GCC; see the file COPYING3. +--- gcc/graphite-poly.h.jj 2015-11-04 14:15:36.000000000 +0100 ++++ gcc/graphite-poly.h 2015-11-04 14:59:46.066375844 +0100 +@@ -22,6 +22,489 @@ along with GCC; see the file COPYING3. #ifndef GCC_GRAPHITE_POLY_H #define GCC_GRAPHITE_POLY_H @@ -39,12 +39,19 @@ +#include +#include +#include ++#include +#include +#ifdef HAVE_ISL_SCHED_CONSTRAINTS_COMPUTE_SCHEDULE +#define DYNSYM_ZERO_DISTANCE DYNSYM (isl_band_member_is_coincident) +#else +#define DYNSYM_ZERO_DISTANCE DYNSYM (isl_band_member_is_zero_distance) +#endif ++#ifdef HAVE_ISL_OPTIONS_SET_SCHEDULE_SERIALIZE_SCCS ++#define DYNSYM_SCHEDULE_FUSE DYNSYM (isl_options_set_schedule_serialize_sccs) ++#else ++#define DYNSYM_SCHEDULE_FUSE DYNSYM (isl_options_set_schedule_fuse) ++#endif ++ +#define DYNSYMS \ + DYNSYM (isl_aff_add_coefficient_si); \ + DYNSYM (isl_aff_free); \ @@ -108,7 +115,7 @@ + DYNSYM (isl_map_set_tuple_id); \ + DYNSYM (isl_map_universe); \ + DYNSYM (isl_options_set_on_error); \ -+ DYNSYM (isl_options_set_schedule_fuse); \ ++ DYNSYM_SCHEDULE_FUSE; \ + DYNSYM (isl_options_set_schedule_max_constant_term); \ + DYNSYM (isl_options_set_schedule_maximize_band_depth); \ + DYNSYM (isl_printer_free); \ @@ -343,7 +350,11 @@ +#define isl_map_set_tuple_id (*isl_pointers__.p_isl_map_set_tuple_id) +#define isl_map_universe (*isl_pointers__.p_isl_map_universe) +#define isl_options_set_on_error (*isl_pointers__.p_isl_options_set_on_error) ++#ifdef HAVE_ISL_OPTIONS_SET_SCHEDULE_SERIALIZE_SCCS ++#define isl_options_set_schedule_serialize_sccs (*isl_pointers__.p_isl_options_set_schedule_serialize_sccs) ++#else +#define isl_options_set_schedule_fuse (*isl_pointers__.p_isl_options_set_schedule_fuse) ++#endif +#define isl_options_set_schedule_max_constant_term (*isl_pointers__.p_isl_options_set_schedule_max_constant_term) +#define isl_options_set_schedule_maximize_band_depth (*isl_pointers__.p_isl_options_set_schedule_maximize_band_depth) +#define isl_printer_free (*isl_pointers__.p_isl_printer_free) @@ -503,12 +514,12 @@ +#define isl_val_neg (*isl_pointers__.p_isl_val_neg) +#define isl_val_sub (*isl_pointers__.p_isl_val_sub) + - typedef struct poly_dr *poly_dr_p; - - typedef struct poly_bb *poly_bb_p; ---- gcc/graphite.c.jj 2012-12-13 11:31:00.000000000 +0100 -+++ gcc/graphite.c 2012-12-14 13:40:44.155136961 +0100 -@@ -90,6 +90,34 @@ along with GCC; see the file COPYING3. + #ifndef HAVE_ISL_OPTIONS_SET_SCHEDULE_SERIALIZE_SCCS + # define isl_stat int + # define isl_stat_ok 0 +--- gcc/graphite.c.jj 2015-11-04 14:15:32.000000000 +0100 ++++ gcc/graphite.c 2015-11-04 14:56:02.645536409 +0100 +@@ -91,6 +91,34 @@ along with GCC; see the file COPYING3. #include "graphite-isl-ast-to-gimple.h" #include "graphite-sese-to-poly.h" @@ -543,7 +554,7 @@ /* Print global statistics to FILE. */ static void -@@ -285,6 +313,15 @@ graphite_transform_loops (void) +@@ -286,6 +314,15 @@ graphite_transform_loops (void) if (parallelized_function_p (cfun->decl)) return; diff --git a/SOURCES/gcc5-libstdc++-compat.patch b/SOURCES/gcc5-libstdc++-compat.patch index ec632e5..726a276 100644 --- a/SOURCES/gcc5-libstdc++-compat.patch +++ b/SOURCES/gcc5-libstdc++-compat.patch @@ -3115,7 +3115,7 @@ +#include "../c++11/ios.cc" --- libstdc++-v3/src/nonshared11/cow-shim_facets.cc.jj 2015-09-02 20:01:03.173393798 +0200 +++ libstdc++-v3/src/nonshared11/cow-shim_facets.cc 2015-09-02 20:01:03.173393798 +0200 -@@ -0,0 +1,172 @@ +@@ -0,0 +1,170 @@ +// Copyright (C) 2012-2015 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free @@ -3171,8 +3171,6 @@ +asm (".hidden _ZNKSt13__facet_shims12_GLOBAL__N_114money_put_shimIwE6do_putESt19ostreambuf_iteratorIwSt11char_traitsIwEEbRSt8ios_basewRKSbIwS5_SaIwEE"); +asm (".hidden _ZNKSt6locale5facet11_M_cow_shimEPKNS_2idE"); +asm (".hidden _ZNKSt6locale5facet19_M_remove_referenceEv"); -+asm (".hidden _ZNSbIwSt11char_traitsIwESaIwEE4_Rep10_M_disposeERKS1_.part.2"); -+asm (".hidden _ZNSs4_Rep10_M_disposeERKSaIcE.part.1"); +asm (".hidden _ZNSt13__facet_shims10__time_getIcEESt19istreambuf_iteratorIT_St11char_traitsIS2_EESt17integral_constantIbLb0EEPKNSt6locale5facetES5_S5_RSt8ios_baseRSt12_Ios_IostateP2tmc"); +asm (".hidden _ZNSt13__facet_shims10__time_getIwEESt19istreambuf_iteratorIT_St11char_traitsIS2_EESt17integral_constantIbLb0EEPKNSt6locale5facetES5_S5_RSt8ios_baseRSt12_Ios_IostateP2tmc"); +asm (".hidden _ZNSt13__facet_shims11__money_getIcEESt19istreambuf_iteratorIT_St11char_traitsIS2_EESt17integral_constantIbLb0EEPKNSt6locale5facetES5_S5_bRSt8ios_baseRSt12_Ios_IostatePePNS_12__any_stringE"); @@ -3700,7 +3698,7 @@ +#include "../c++11/compatibility-c++0x.cc" --- libstdc++-v3/src/nonshared11/cxx11-shim_facets.cc.jj 2015-09-02 20:01:03.175393770 +0200 +++ libstdc++-v3/src/nonshared11/cxx11-shim_facets.cc 2015-09-02 20:01:03.175393770 +0200 -@@ -0,0 +1,172 @@ +@@ -0,0 +1,170 @@ +// Copyright (C) 2012-2015 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free @@ -3826,8 +3824,6 @@ +asm (".hidden _ZNSt13__facet_shims23__moneypunct_fill_cacheIcLb1EEEvSt17integral_constantIbLb1EEPKNSt6locale5facetEPSt18__moneypunct_cacheIT_XT0_EE"); +asm (".hidden _ZNSt13__facet_shims23__moneypunct_fill_cacheIwLb0EEEvSt17integral_constantIbLb1EEPKNSt6locale5facetEPSt18__moneypunct_cacheIT_XT0_EE"); +asm (".hidden _ZNSt13__facet_shims23__moneypunct_fill_cacheIwLb1EEEvSt17integral_constantIbLb1EEPKNSt6locale5facetEPSt18__moneypunct_cacheIT_XT0_EE"); -+asm (".hidden _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag.isra.44"); -+asm (".hidden _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag.isra.51"); +asm (".hidden _ZTINSt13__facet_shims12_GLOBAL__N_112collate_shimIcEE"); +asm (".hidden _ZTINSt13__facet_shims12_GLOBAL__N_112collate_shimIwEE"); +asm (".hidden _ZTINSt13__facet_shims12_GLOBAL__N_113messages_shimIcEE"); diff --git a/SOURCES/gcc5-libstdc++-docs.patch b/SOURCES/gcc5-libstdc++-docs.patch index 14b2573..eecd4af 100644 --- a/SOURCES/gcc5-libstdc++-docs.patch +++ b/SOURCES/gcc5-libstdc++-docs.patch @@ -4,7 +4,7 @@ FSF

-+ Release 5.2.1 ++ Release 5.3.1 +

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation @@ -18,7 +18,7 @@ - The API documentation, rendered into HTML, can be viewed online: + The API documentation, rendered into HTML, can be viewed here: