!45 [Sync] Sync from 24.03-LTS

From: @lesleyzheng1103 
Reviewed-by: @li-yancheng 
Signed-off-by: @li-yancheng
This commit is contained in:
openeuler-ci-bot 2024-11-13 02:19:21 +00:00 committed by Gitee
commit f6c8a43d7f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 23 additions and 4 deletions

View File

@ -3,9 +3,9 @@ COMPILER_INFO="gcc 12.3.1"
GCC="gcc"
GCC_DIR="gcc-12.3.0"
BINUTILS="binutils"
BINUTILS_DIR="binutils-2.40"
BINUTILS_DIR="binutils-2.41"
MPFR="mpfr"
MPFR_DIR="mpfr-4.2.0"
MPFR_DIR="mpfr-4.2.1"
GMP="gmp"
GMP_DIR="gmp-6.3.0"
MPC="libmpc"

View File

@ -1,17 +1,23 @@
Summary: C/C++ Cross Compiler Toolchain
Name: gcc-cross
Version: 1.0
Release: 5
Release: 7
# libgcc, libgfortran, libmudflap, libgomp, libstdc++ and crtstuff have
# GCC Runtime Exception.
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
URL: http://gcc.gnu.org
Source0: build.sh
Source1: config.xml
Source2: download.sh
Source3: gcc_arm32le
Source4: gcc_arm64le
Source5: README.en.md
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: binutils, gettext, gmp-devel, isl-devel, libmpc-devel, mpfr-devel, python3-sphinx, sharutils
BuildRequires: audit-libs-devel, gd-devel, libcap-devel, libpng-devel, libselinux-devel, libstdc++-static, systemtap-sdt-devel, valgrind
BuildRequires: jansson-devel
BuildRequires: gcc, gcc-c++, make, git, flex, bison, rpm-build, automake, autoconf
BuildRequires: gdb, native-turbo-tools, gcc, gcc-c++, make, git, flex, bison, rpm-build, automake, autoconf
BuildRequires: libtool, ncurses-devel, bc, zlib-devel, openssl-devel, texinfo, rsync, chrpath
#ExclusiveArch: i386 x86-64
@ -44,6 +50,19 @@ cp %{_builddir}/output/gcc_arm32le/gcc_arm32le.tar.gz %{buildroot}/tmp
%attr(755, root, root) /tmp/gcc_arm32le.tar.gz
%changelog
* Thu Apr 11 2024 liqian <liqian@kylinos.cn> - 1.0-7
-Type:Fix
-ID:NA
-SUG:NA
-DESC: Fix Only the spec file is packaged in src.rpm without the source code file,
so it cannot be directly decompressed and compiled using src.rpm
* Mon Mar 11 2024 zhengchenhui <zhengchenhui1@huawei.com> - 1.0-6
-Type:Fix
-ID:NA
-SUG:NA
-DESC: Fix cross-compilation tool chain
* Mon Aug 07 2023 dingguangya <dingguangya1@huawei.com> - 1.0-5
-Type:Fix
-ID:NA