diff options
author | Daniel Bermond | 2022-03-13 00:07:03 -0300 |
---|---|---|
committer | Daniel Bermond | 2022-03-13 00:07:03 -0300 |
commit | cf86e0eceb84b1e58a13ec177e0e141c2a1faafa (patch) | |
tree | c6ef16d3969ac84ae4be44496f7082d46a26a94c | |
parent | 98416cd08cb9d77671abde3613028a24df63fdff (diff) | |
download | aur-cf86e0eceb84b1e58a13ec177e0e141c2a1faafa.tar.gz |
Disable lto and remove an unneeded patch
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | 010-gcc-fix-build.patch | 383 | ||||
-rw-r--r-- | 010-gcc11-Wno-format-security.patch (renamed from 020-gcc11-Wno-format-security.patch) | 0 | ||||
-rw-r--r-- | PKGBUILD | 11 |
4 files changed, 7 insertions, 394 deletions
@@ -1,7 +1,7 @@ pkgbase = mips64el-linux-gnu-gcc-bootstrap pkgdesc = The GNU Compiler Collection - bootstrap/stage1 cross compiler for the MIPS64EL target (for the toolchain with GNU C library and multilib ABI) pkgver = 11.2.0 - pkgrel = 3 + pkgrel = 4 url = https://gcc.gnu.org/ arch = x86_64 license = GPL @@ -23,17 +23,16 @@ pkgbase = mips64el-linux-gnu-gcc-bootstrap conflicts = mips64el-linux-gnuabi32-gcc-bootstrap conflicts = mips64el-linux-gnuabin32-gcc-bootstrap options = !emptydirs + options = !lto source = https://sourceware.org/pub/gcc/releases/gcc-11.2.0/gcc-11.2.0.tar.xz source = https://sourceware.org/pub/gcc/releases/gcc-11.2.0/gcc-11.2.0.tar.xz.sig source = https://sourceforge.net/projects/libisl/files/isl-0.24.tar.xz - source = 010-gcc-fix-build.patch - source = 020-gcc11-Wno-format-security.patch + source = 010-gcc11-Wno-format-security.patch validpgpkeys = 13975A70E63C361C73AE69EF6EEB81F8981C74C7 validpgpkeys = 33C235A34C46AA3FFB293709A328C3A2C3C45C06 sha256sums = d08edc536b54c372a1010ff6619dd274c0f1603aa49212ba20f7aa2cda36fa8b sha256sums = SKIP sha256sums = 043105cc544f416b48736fff8caf077fb0663a717d06b1113f16e391ac99ebad - sha256sums = 6b3a5608bcb7bba042b25aab518c7f8dc50180174d53d5f4bbe381c9b0132e27 sha256sums = 504e4b5a08eb25b6c35f19fdbe0c743ae4e9015d0af4759e74150006c283585e pkgname = mips64el-linux-gnu-gcc-bootstrap diff --git a/010-gcc-fix-build.patch b/010-gcc-fix-build.patch deleted file mode 100644 index a2a07179df85..000000000000 --- a/010-gcc-fix-build.patch +++ /dev/null @@ -1,383 +0,0 @@ ---- a/gcc/configure -+++ b/gcc/configure -@@ -3318,7 +3318,7 @@ fi - ## -------------------- ## - - ac_ext=c --ac_cpp='$CPP $CPPFLAGS' -+ac_cpp='$CPP $CPPFLAGS -O2' - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_c_compiler_gnu -@@ -3949,7 +3949,7 @@ rm -f a.out a.exe b.out - - # Find the native compiler - ac_ext=c --ac_cpp='$CPP $CPPFLAGS' -+ac_cpp='$CPP $CPPFLAGS -O2' - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_c_compiler_gnu -@@ -4732,13 +4732,13 @@ if test "x$ac_cv_prog_cc_c89" != xno; th - fi - - ac_ext=c --ac_cpp='$CPP $CPPFLAGS' -+ac_cpp='$CPP $CPPFLAGS -O2' - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_c_compiler_gnu - - ac_ext=cpp --ac_cpp='$CXXCPP $CPPFLAGS' -+ac_cpp='$CXXCPP $CPPFLAGS -O2' - ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -@@ -4989,7 +4989,7 @@ else - fi - fi - ac_ext=c --ac_cpp='$CPP $CPPFLAGS' -+ac_cpp='$CPP $CPPFLAGS -O2' - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_c_compiler_gnu -@@ -5216,7 +5216,7 @@ fi - - # Do configure tests with the C++ compiler, since that's what we build with. - ac_ext=cpp --ac_cpp='$CXXCPP $CPPFLAGS' -+ac_cpp='$CXXCPP $CPPFLAGS -O2' - ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -@@ -5322,7 +5322,7 @@ esac - - - ac_ext=cpp --ac_cpp='$CXXCPP $CPPFLAGS' -+ac_cpp='$CXXCPP $CPPFLAGS -O2' - ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -@@ -5449,7 +5449,7 @@ See \`config.log' for more details" "$LI - fi - - ac_ext=cpp --ac_cpp='$CXXCPP $CPPFLAGS' -+ac_cpp='$CXXCPP $CPPFLAGS -O2' - ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -@@ -5777,7 +5777,7 @@ $as_echo "$ac_cv_safe_to_define___extens - - - ac_ext=c --ac_cpp='$CPP $CPPFLAGS' -+ac_cpp='$CPP $CPPFLAGS -O2' - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_c_compiler_gnu -@@ -5908,7 +5908,7 @@ See \`config.log' for more details" "$LI - fi - - ac_ext=cpp --ac_cpp='$CXXCPP $CPPFLAGS' -+ac_cpp='$CXXCPP $CPPFLAGS -O2' - ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -@@ -6838,7 +6838,7 @@ else - wf_opt= - fi - ac_ext=cpp --ac_cpp='$CXXCPP $CPPFLAGS' -+ac_cpp='$CXXCPP $CPPFLAGS -O2' - ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -@@ -6888,7 +6888,7 @@ fi - done - CXXFLAGS="$save_CXXFLAGS" - ac_ext=cpp --ac_cpp='$CXXCPP $CPPFLAGS' -+ac_cpp='$CXXCPP $CPPFLAGS -O2' - ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -@@ -6896,7 +6896,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - - ac_ext=c --ac_cpp='$CPP $CPPFLAGS' -+ac_cpp='$CPP $CPPFLAGS -O2' - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_c_compiler_gnu -@@ -6946,14 +6946,14 @@ fi - done - CFLAGS="$save_CFLAGS" - ac_ext=cpp --ac_cpp='$CXXCPP $CPPFLAGS' -+ac_cpp='$CXXCPP $CPPFLAGS -O2' - ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - - ac_ext=cpp --ac_cpp='$CXXCPP $CPPFLAGS' -+ac_cpp='$CXXCPP $CPPFLAGS -O2' - ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -@@ -7003,14 +7003,14 @@ fi - done - CXXFLAGS="$save_CXXFLAGS" - ac_ext=cpp --ac_cpp='$CXXCPP $CPPFLAGS' -+ac_cpp='$CXXCPP $CPPFLAGS -O2' - ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - - ac_ext=c --ac_cpp='$CPP $CPPFLAGS' -+ac_cpp='$CPP $CPPFLAGS -O2' - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_c_compiler_gnu -@@ -7060,14 +7060,14 @@ fi - done - CFLAGS="$save_CFLAGS" - ac_ext=cpp --ac_cpp='$CXXCPP $CPPFLAGS' -+ac_cpp='$CXXCPP $CPPFLAGS -O2' - ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - - ac_ext=cpp --ac_cpp='$CXXCPP $CPPFLAGS' -+ac_cpp='$CXXCPP $CPPFLAGS -O2' - ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -@@ -7109,14 +7109,14 @@ fi - - fi - ac_ext=cpp --ac_cpp='$CXXCPP $CPPFLAGS' -+ac_cpp='$CXXCPP $CPPFLAGS -O2' - ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - - ac_ext=cpp --ac_cpp='$CXXCPP $CPPFLAGS' -+ac_cpp='$CXXCPP $CPPFLAGS -O2' - ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -@@ -7133,7 +7133,7 @@ if test $enable_werror_always = yes; the - fi - - ac_ext=cpp --ac_cpp='$CXXCPP $CPPFLAGS' -+ac_cpp='$CXXCPP $CPPFLAGS -O2' - ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -@@ -7154,7 +7154,7 @@ fi - - # Disable exceptions and RTTI if building with g++ - ac_ext=c --ac_cpp='$CPP $CPPFLAGS' -+ac_cpp='$CPP $CPPFLAGS -O2' - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_c_compiler_gnu -@@ -7204,7 +7204,7 @@ fi - done - CFLAGS="$save_CFLAGS" - ac_ext=cpp --ac_cpp='$CXXCPP $CPPFLAGS' -+ac_cpp='$CXXCPP $CPPFLAGS -O2' - ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -@@ -9400,7 +9400,7 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUI - # ---------------------- - - ac_ext=cpp --ac_cpp='$CXXCPP $CPPFLAGS' -+ac_cpp='$CXXCPP $CPPFLAGS -O2' - ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -@@ -9529,7 +9529,7 @@ See \`config.log' for more details" >&2; - fi - - ac_ext=cpp --ac_cpp='$CXXCPP $CPPFLAGS' -+ac_cpp='$CXXCPP $CPPFLAGS -O2' - ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -@@ -15226,7 +15226,7 @@ if ${lt_cv_cc_needs_belf+:} false; then - $as_echo_n "(cached) " >&6 - else - ac_ext=c --ac_cpp='$CPP $CPPFLAGS' -+ac_cpp='$CPP $CPPFLAGS -O2' - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_c_compiler_gnu -@@ -15250,7 +15250,7 @@ fi - rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - ac_ext=c --ac_cpp='$CPP $CPPFLAGS' -+ac_cpp='$CPP $CPPFLAGS -O2' - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_c_compiler_gnu -@@ -16313,7 +16313,7 @@ esac - - lt_save_CC="$CC" - ac_ext=c --ac_cpp='$CPP $CPPFLAGS' -+ac_cpp='$CPP $CPPFLAGS -O2' - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_c_compiler_gnu -@@ -19708,7 +19708,7 @@ $as_echo "$enable_static" >&6; } - - fi - ac_ext=cpp --ac_cpp='$CXXCPP $CPPFLAGS' -+ac_cpp='$CXXCPP $CPPFLAGS -O2' - ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -@@ -19719,7 +19719,7 @@ CC="$lt_save_CC" - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || - (test "X$CXX" != "Xg++"))) ; then - ac_ext=cpp --ac_cpp='$CXXCPP $CPPFLAGS' -+ac_cpp='$CXXCPP $CPPFLAGS -O2' - ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -@@ -19846,7 +19846,7 @@ See \`config.log' for more details" "$LI - fi - - ac_ext=cpp --ac_cpp='$CXXCPP $CPPFLAGS' -+ac_cpp='$CXXCPP $CPPFLAGS -O2' - ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -@@ -19856,7 +19856,7 @@ else - fi - - ac_ext=cpp --ac_cpp='$CXXCPP $CPPFLAGS' -+ac_cpp='$CXXCPP $CPPFLAGS -O2' - ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -@@ -22721,7 +22721,7 @@ fi - fi # test "$_lt_caught_CXX_error" != yes - - ac_ext=cpp --ac_cpp='$CXXCPP $CPPFLAGS' -+ac_cpp='$CXXCPP $CPPFLAGS -O2' - ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ---- a/libiberty/configure -+++ b/libiberty/configure -@@ -2450,7 +2450,7 @@ fi - ## -------------------- ## - - ac_ext=c --ac_cpp='$CPP $CPPFLAGS' -+ac_cpp='$CPP $CPPFLAGS -O2' - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_c_compiler_gnu -@@ -2981,7 +2981,7 @@ $as_echo "$as_me: target_header_dir = $t - - - ac_ext=c --ac_cpp='$CPP $CPPFLAGS' -+ac_cpp='$CPP $CPPFLAGS -O2' - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_c_compiler_gnu -@@ -3793,14 +3793,14 @@ if test "x$ac_cv_prog_cc_c89" != xno; th - fi - - ac_ext=c --ac_cpp='$CPP $CPPFLAGS' -+ac_cpp='$CPP $CPPFLAGS -O2' - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_c_compiler_gnu - - - ac_ext=c --ac_cpp='$CPP $CPPFLAGS' -+ac_cpp='$CPP $CPPFLAGS -O2' - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_c_compiler_gnu -@@ -3931,7 +3931,7 @@ See \`config.log' for more details" "$LI - fi - - ac_ext=c --ac_cpp='$CPP $CPPFLAGS' -+ac_cpp='$CPP $CPPFLAGS -O2' - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_c_compiler_gnu -@@ -4462,7 +4462,7 @@ fi - ac_c_preproc_warn_flag=yes - - ac_ext=c --ac_cpp='$CPP $CPPFLAGS' -+ac_cpp='$CPP $CPPFLAGS -O2' - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_c_compiler_gnu -@@ -4514,14 +4514,14 @@ fi - done - CFLAGS="$save_CFLAGS" - ac_ext=c --ac_cpp='$CPP $CPPFLAGS' -+ac_cpp='$CPP $CPPFLAGS -O2' - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_c_compiler_gnu - - - ac_ext=c --ac_cpp='$CPP $CPPFLAGS' -+ac_cpp='$CPP $CPPFLAGS -O2' - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_c_compiler_gnu -@@ -4563,7 +4563,7 @@ fi - - fi - ac_ext=c --ac_cpp='$CPP $CPPFLAGS' -+ac_cpp='$CPP $CPPFLAGS -O2' - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_c_compiler_gnu diff --git a/020-gcc11-Wno-format-security.patch b/010-gcc11-Wno-format-security.patch index 974ea44d0f85..974ea44d0f85 100644 --- a/020-gcc11-Wno-format-security.patch +++ b/010-gcc11-Wno-format-security.patch @@ -14,7 +14,7 @@ pkgname="${_target}-gcc-bootstrap" pkgver=11.2.0 _islver=0.24 _majorver="${pkgver%%.*}" -pkgrel=3 +pkgrel=4 pkgdesc='The GNU Compiler Collection - bootstrap/stage1 cross compiler for the MIPS64EL target (for the toolchain with GNU C library and multilib ABI)' arch=('x86_64') url='https://gcc.gnu.org/' @@ -25,16 +25,14 @@ provides=('mips64el-linux-gnuabi64-gcc-bootstrap' 'mips64el-linux-gnuabi32-gcc-b 'mips64el-linux-gnuabin32-gcc-bootstrap') conflicts=('mips64el-linux-gnuabi64-gcc-bootstrap' 'mips64el-linux-gnuabi32-gcc-bootstrap' 'mips64el-linux-gnuabin32-gcc-bootstrap') -options=('!emptydirs') +options=('!emptydirs' '!lto') source=("https://sourceware.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.xz"{,.sig} #"http://isl.gforge.inria.fr/isl-${_islver}.tar.xz" "https://sourceforge.net/projects/libisl/files/isl-${_islver}.tar.xz" - '010-gcc-fix-build.patch' - '020-gcc11-Wno-format-security.patch') + '010-gcc11-Wno-format-security.patch') sha256sums=('d08edc536b54c372a1010ff6619dd274c0f1603aa49212ba20f7aa2cda36fa8b' 'SKIP' '043105cc544f416b48736fff8caf077fb0663a717d06b1113f16e391ac99ebad' - '6b3a5608bcb7bba042b25aab518c7f8dc50180174d53d5f4bbe381c9b0132e27' '504e4b5a08eb25b6c35f19fdbe0c743ae4e9015d0af4759e74150006c283585e') validpgpkeys=('13975A70E63C361C73AE69EF6EEB81F8981C74C7' # Richard Guenther <richard.guenther@gmail.com> '33C235A34C46AA3FFB293709A328C3A2C3C45C06') # Jakub Jelinek <jakub@redhat.com> @@ -48,8 +46,7 @@ prepare() { # link isl for in-tree build ln -s "../isl-${_islver}" "gcc-${pkgver}/isl" - patch -d "gcc-${pkgver}" -Np1 -i "${srcdir}/010-gcc-fix-build.patch" - patch -d "gcc-${pkgver}" -Np0 -i "${srcdir}/020-gcc11-Wno-format-security.patch" + patch -d "gcc-${pkgver}" -Np0 -i "${srcdir}/010-gcc11-Wno-format-security.patch" } build() { |