diff --git a/0002-Bugfix-Append-ldl-to-fix-the-gcc-build-error.patch b/0002-Bugfix-Append-ldl-to-fix-the-gcc-build-error.patch deleted file mode 100644 index f0361732489f4981f4f62dc120d8933156881153..0000000000000000000000000000000000000000 --- a/0002-Bugfix-Append-ldl-to-fix-the-gcc-build-error.patch +++ /dev/null @@ -1,23 +0,0 @@ -From d4543dbe84956fe4ae10a12da70ff1b09b687427 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?=E9=83=91=E6=99=A8=E5=8D=89?= -Date: Tue, 25 Jun 2024 19:05:34 +0800 -Subject: [PATCH] [Bugfix]Append -ldl to fix the gcc build error. - ---- - build/hcc_arm64le_native/hcc_aarch64_native_release.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/build/hcc_arm64le_native/hcc_aarch64_native_release.sh b/build/hcc_arm64le_native/hcc_aarch64_native_release.sh -index a9e2eff..9cae81a 100644 ---- a/build/hcc_arm64le_native/hcc_aarch64_native_release.sh -+++ b/build/hcc_arm64le_native/hcc_aarch64_native_release.sh -@@ -129,5 +129,5 @@ cmake -G"Unix Makefiles" $ROOT_NATIVE_SRC/$JSONCPP -DCMAKE_BUILD_TYPE=Release -D - make -j $PARALLEL && make install && popd - - echo "Building GCC final..." && pushd $ROOT_NATIVE_DIR/obj/build-gcc-final --LDFLAGS="${SECURE_LDFLAGS}" CFLAGS="${SECURE_CFLAGS}" CXXFLAGS="${SECURE_CFLAGS}" CFLAGS_FOR_TARGET="${SECURE_CFLAGS}" CXXFLAGS_FOR_TARGET="${SECURE_CFLAGS}" $ROOT_NATIVE_SRC/$GCC/configure --prefix=$PREFIX_NATIVE --enable-shared --enable-threads=posix --enable-checking=release --enable-__cxa_atexit --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,fortran,lto --enable-initfini-array --enable-gnu-indirect-function --with-multilib-list=lp64 --enable-multiarch --with-gnu-as --with-gnu-ld --enable-libquadmath --with-pkgversion="${COMPILER_INFO}" --with-sysroot=/ --with-gmp=$PREFIX_NATIVE --with-mpfr=$PREFIX_NATIVE --with-mpc=$PREFIX_NATIVE --with-isl=$PREFIX_NATIVE --libdir=$PREFIX_NATIVE/lib64 --disable-bootstrap --build=$BUILD --host=$HOST --target=$TARGET --enable-bolt -+LDFLAGS="${SECURE_LDFLAGS} -ldl" CFLAGS="${SECURE_CFLAGS}" CXXFLAGS="${SECURE_CFLAGS}" CFLAGS_FOR_TARGET="${SECURE_CFLAGS}" CXXFLAGS_FOR_TARGET="${SECURE_CFLAGS}" $ROOT_NATIVE_SRC/$GCC/configure --prefix=$PREFIX_NATIVE --enable-shared --enable-threads=posix --enable-checking=release --enable-__cxa_atexit --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,fortran,lto --enable-initfini-array --enable-gnu-indirect-function --with-multilib-list=lp64 --enable-multiarch --with-gnu-as --with-gnu-ld --enable-libquadmath --with-pkgversion="${COMPILER_INFO}" --with-sysroot=/ --with-gmp=$PREFIX_NATIVE --with-mpfr=$PREFIX_NATIVE --with-mpc=$PREFIX_NATIVE --with-isl=$PREFIX_NATIVE --libdir=$PREFIX_NATIVE/lib64 --disable-bootstrap --build=$BUILD --host=$HOST --target=$TARGET --enable-bolt - make -j $PARALLEL && make install && popd --- -2.33.0 - diff --git a/config.xml b/config.xml index 22d81d12e0f26191d22a1f649bbd1506fcd2a0b3..2a81fc7dade589224af097846ce023e094883b12 100644 --- a/config.xml +++ b/config.xml @@ -1,6 +1,6 @@ BRANCH="openEuler-22.03-LTS-SP4" -INSTALL_NATIVE="gcc-10.3.1-2024.06-aarch64-linux" -COMPILER_INFO="gcc for openEuler 2.3.7" +INSTALL_NATIVE="gcc-10.3.1-2024.08-aarch64-linux" +COMPILER_INFO="gcc for openEuler 2.3.8" GCC="gcc-10.3.0" BINUTILS="binutils-2.37" @@ -12,7 +12,7 @@ OLD_ISL="isl-0.14" MATHLIB="optimized-routines-21.02" JEMALLOC="jemalloc-5.2.1" AUTOFDO="autofdo-0.19" -BOLT="llvm-project-15.0.7.src" +BOLT="llvm-project-17.0.6.src" CMAKE="cmake-3.22.0" OPENSSL="openssl-1.1.1wa" NCURSES="ncurses-6.3" @@ -24,3 +24,4 @@ CARES="c-ares-1.18.1" ABSEIL="abseil-cpp-20220623.1" RE2="re2-2021-11-01" JSONCPP="jsoncpp-1.9.5" +AI4C="AI4C-v0.2.0-alpha" diff --git a/gcc-for-openEuler-1.0.8.tar.gz b/gcc-for-openEuler-1.0.8.tar.gz deleted file mode 100644 index 8e4a6bea9f8d8a8febc4cbfc42cedd88b73daf86..0000000000000000000000000000000000000000 Binary files a/gcc-for-openEuler-1.0.8.tar.gz and /dev/null differ diff --git a/gcc-for-openEuler-1.0.9.tar.gz b/gcc-for-openEuler-1.0.9.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..110f36e724924ff677b0fce96f10a8a141d1e730 Binary files /dev/null and b/gcc-for-openEuler-1.0.9.tar.gz differ diff --git a/gcc-for-openEuler.spec b/gcc-for-openEuler.spec index b08180622a7f66b2e7d2e6c04614c4ceaccd3886..8f361e2998415736528ab023584d263fcfdb60bb 100644 --- a/gcc-for-openEuler.spec +++ b/gcc-for-openEuler.spec @@ -1,6 +1,6 @@ Name: gcc-for-openEuler -Version: 1.0.8 -Release: 13 +Version: 1.0.9 +Release: 14 Summary: GCC released as a binary package for openEuler and other OSes. License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2 and BSD @@ -8,7 +8,7 @@ URL: https://gitee.com/openEuler/gcc-for-openEuler Source0: %{name}-%{version}.tar.gz %global config config.xml -%global build_name gcc-10.3.1-2024.06-aarch64-linux +%global build_name gcc-10.3.1-2024.08-aarch64-linux ExclusiveArch: aarch64 @@ -16,7 +16,6 @@ BuildRequires: git bison flex texinfo autoconf libtool elfutils-libelf-devel gl BuildRequires: chrpath python3 zlib-devel lksctp-tools-devel Patch1: 0001-Change-branch-name-for-jemalloc.patch -Patch2: 0002-Bugfix-Append-ldl-to-fix-the-gcc-build-error.patch %description GCC released as a binary package for openEuler and other OSes. @@ -44,6 +43,9 @@ sha256sum %{build_name}.tar.gz > %{build_name}.tar.gz.sha256 %attr(755, root, root) /%{build_name}.tar.gz.sha256 %changelog +* Fri Aug 9 2024 Zhao Zhenyu - 1.0.9-14 +- Add build option for AI4C. + * Tue Jun 25 2024 Zheng Chenhui - 1.0.8-13 - Append -ldl to fix the gcc build error.