Thu, 04 Oct 2012 20:32:41 +0200
Linux fails on stage 2 comparison so correct by disabling it as well.
gcc/gcc.spec | file | annotate | diff | comparison | revisions |
1.1 --- a/gcc/gcc.spec Thu Oct 04 20:31:26 2012 +0200 1.2 +++ b/gcc/gcc.spec Thu Oct 04 20:32:41 2012 +0200 1.3 @@ -217,13 +217,8 @@ 1.4 # disable GNU iconv use 1.5 ( echo "am_cv_func_iconv=no" 1.6 echo "am_cv_lib_iconv=no" 1.7 + echo "gcc_cv_prog_cmp_skip=true" 1.8 ) >config.cache 1.9 - # platforms failing 'compare' make target (see prep as well) 1.10 - case "%{l_platform -t}" in 1.11 - *i?86-sunos* ) echo "gcc_cv_prog_cmp_skip=true" >>config.cache ;; 1.12 - *amd64-sunos* ) echo "gcc_cv_prog_cmp_skip=true" >>config.cache ;; 1.13 - *amd64-linux* ) echo "gcc_cv_prog_cmp_skip=true" >>config.cache ;; 1.14 - esac 1.15 1.16 # configure the package 1.17 LD="$LD" \ 1.18 @@ -329,15 +324,12 @@ 1.19 # warn about exceptional build duration for profile feedback 1.20 ( echo "Building profile feedback on some hosts can take many days to complete!" 1.21 echo "Now continuing to build a profiled bootstrap with parallel make logic" 1.22 - echo "disabled according to profiling requirements as specified on page:" 1.23 - echo "" 1.24 - echo " http://gcc.gnu.org/install/build.html#TOC4" 1.25 + echo "disabled according to profiling requirements..." 1.26 ) | %{l_rpmtool} msg -b -t warn 1.27 1.28 # warn about profiled bootstrap requirement of 64-bit arithmetic 1.29 if [ ".$l_ccisgcc" != .yes ]; then 1.30 - ( echo "" 1.31 - echo "A preinstalled GCC was not detected although one is recommended for" 1.32 + ( echo "A preinstalled GCC was not detected although one is recommended for" 1.33 echo "building a profiled bootstrap. Buildtime or runtime errors can occur if" 1.34 echo "the compiler used to build profile feedback doesn't support 64-bit math." 1.35 echo ""