Browse Source

gcc disable problematic patches

Signed-off-by: basebuilder_pel7ppc64bebuilder0 <basebuilder@powerel.org>
master
basebuilder_pel7ppc64bebuilder0 6 years ago
parent
commit
52b1ff35a5
  1. 45
      SPECS/gcc.spec

45
SPECS/gcc.spec

@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
%global _performance_build 1
%global multilib_64_archs sparc64 s390x x86_64
%ifarch %{ix86} x86_64 ia64 ppc ppc64 ppc64le ppc64p7 alpha aarch64
%global build_ada 1
%global build_ada 0
%else
%global build_ada 0
%endif
@ -315,7 +315,8 @@ Patch1406: gcc48-rh1535655-6.patch @@ -315,7 +315,8 @@ Patch1406: gcc48-rh1535655-6.patch
%global gcc_target_platform ppc64-%{_vendor}-%{_target_os}
%endif
%ifnarch sparcv9 ppc ppc64p7
%global gcc_target_platform %{_target_platform}
#%global gcc_target_platform %{_target_platform}
%global gcc_target_platform ppc64-powerel-%{_target_os}
%endif

%description
@ -962,7 +963,7 @@ package or when debugging this package. @@ -962,7 +963,7 @@ package or when debugging this package.
%patch3 -p0 -b .rh330771~
%patch4 -p0 -b .i386-libgomp~
%patch5 -p0 -b .sparc-config-detection~
%patch6 -p0 -b .libgomp-omp_h-multilib~
#%patch6 -p0 -b .libgomp-omp_h-multilib~
%patch7 -p0 -b .libtool-no-rpath~
%if %{build_cloog}
%patch8 -p0 -b .cloog-dl~
@ -973,7 +974,7 @@ package or when debugging this package. @@ -973,7 +974,7 @@ package or when debugging this package.
%patch11 -p0 -b .libstdc++-docs~
%endif
%patch12 -p0 -b .no-add-needed~
%patch13 -p0 -b .pr56564~
#%patch13 -p0 -b .pr56564~
%if 0%{?fedora} >= 20 || 0%{?rhel} >= 7
%patch14 -p0 -b .color-auto~
%endif
@ -985,8 +986,8 @@ rm -f libgo/go/crypto/elliptic/p224{,_test}.go @@ -985,8 +986,8 @@ rm -f libgo/go/crypto/elliptic/p224{,_test}.go
%patch18 -p0 -b .aarch64-ada~
%endif
%patch19 -p0 -b .aarch64-async-unw-tables~
%patch20 -p0 -b .aarch64-unwind-opt~
%patch21 -p0 -b .rh1243366~
#%patch20 -p0 -b .aarch64-unwind-opt~
#%patch21 -p0 -b .rh1243366~
%patch22 -p0 -b .rh1180633~
%patch23 -p0 -b .rh1278872~
%patch24 -p0 -b .pr67281~
@ -995,14 +996,14 @@ rm -f libgo/go/crypto/elliptic/p224{,_test}.go @@ -995,14 +996,14 @@ rm -f libgo/go/crypto/elliptic/p224{,_test}.go
%patch27 -p0 -b .pr53477~
touch -r %{PATCH27} libstdc++-v3/python/libstdcxx/v6/printers.py
%patch28 -p0 -b .rh1296211~
%patch29 -p0 -b .rh1304449~
%patch30 -p0 -b .s390-z13~
#%patch29 -p0 -b .rh1304449~
#%patch30 -p0 -b .s390-z13~
%patch31 -p0 -b .rh1312850~
%patch32 -p0 -b .pr65142~
%patch33 -p0 -b .pr52714~
%patch34 -p0 -b .rh1344807~
%patch35 -p0 -b .libgomp-20160715~
%patch36 -p0 -b .pr63293~
#%patch35 -p0 -b .libgomp-20160715~
#%patch36 -p0 -b .pr63293~
%patch37 -p0 -b .pr72863~
%patch38 -p0 -b .pr78064~
%patch39 -p0 -b .pr62258~
@ -1020,8 +1021,8 @@ touch -r %{PATCH27} libstdc++-v3/python/libstdcxx/v6/printers.py @@ -1020,8 +1021,8 @@ touch -r %{PATCH27} libstdc++-v3/python/libstdcxx/v6/printers.py
%patch51 -p0 -b .rh1457969~
%patch52 -p0 -b .pr69644~
%patch53 -p0 -b .rh1487434~
%patch54 -p0 -b .rh1468546~
%patch55 -p0 -b .rh1469384~
#%patch54 -p0 -b .rh1468546~
#%patch55 -p0 -b .rh1469384~
%patch56 -p0 -b .rh1491395~
%patch57 -p0 -b .rh1482762~
%patch58 -p0 -b .pr77375~
@ -1085,10 +1086,10 @@ rm libjava/testsuite/libjava.lang/PR35020* @@ -1085,10 +1086,10 @@ rm libjava/testsuite/libjava.lang/PR35020*

tar xzf %{SOURCE4}

%patch1000 -p0 -b .fastjar-0.97-segfault~
#%patch1000 -p0 -b .fastjar-0.97-segfault~
%patch1001 -p0 -b .fastjar-0.97-len1~
%patch1002 -p0 -b .fastjar-0.97-filename0~
%patch1003 -p0 -b .fastjar-CVE-2010-0831~
#%patch1003 -p0 -b .fastjar-CVE-2010-0831~
%patch1004 -p0 -b .fastjar-man~
%patch1005 -p0 -b .fastjar-0.97-aarch64-config~
%patch1006 -p0 -b .fastjar-0.97-ppc64le-config~
@ -1112,26 +1113,26 @@ tar xjf %{SOURCE10} @@ -1112,26 +1113,26 @@ tar xjf %{SOURCE10}
%patch1308 -p1 -b .stack-clash-8~
%patch1309 -p1 -b .stack-clash-9~
%patch1310 -p1 -b .stack-clash-10~
%patch1311 -p1 -b .stack-clash-11~
#%patch1311 -p1 -b .stack-clash-11~
%patch1312 -p1 -b .stack-clash-12~
%patch1313 -p1 -b .stack-clash-13~
%patch1314 -p1 -b .stack-clash-14~
%patch1315 -p1 -b .stack-clash-15~
%patch1316 -p1 -b .stack-clash-16~
#%patch1316 -p1 -b .stack-clash-16~
%patch1317 -p1 -b .stack-clash-17~
%patch1318 -p1 -b .stack-clash-18~
%patch1319 -p1 -b .stack-clash-19~
#%patch1318 -p1 -b .stack-clash-18~
#%patch1319 -p1 -b .stack-clash-19~
%patch1320 -p1 -b .stack-clash-20~
%patch1321 -p1 -b .stack-clash-21~
%patch1322 -p1 -b .stack-clash-22~
%patch1323 -p1 -b .stack-clash-23~

%patch1401 -p1 -b .retpolines-1~
%patch1402 -p1 -b .retpolines-2~
%patch1403 -p1 -b .retpolines-3~
%patch1404 -p1 -b .retpolines-4~
#%patch1402 -p1 -b .retpolines-2~
#%patch1403 -p1 -b .retpolines-3~
#%patch1404 -p1 -b .retpolines-4~
%patch1405 -p1 -b .retpolines-5~
%patch1406 -p1 -b .retpolines-6~
#%patch1406 -p1 -b .retpolines-6~

sed -i -e 's/4\.8\.5/4.8.5/' gcc/BASE-VER
echo 'PowerEL %{version}-%{gcc_release}' > gcc/DEV-PHASE

Loading…
Cancel
Save