Compare commits
11 Commits
9.2.0-4mam
...
13.2.0-1ma
Author | SHA1 | Date | |
---|---|---|---|
aab4de714e | |||
9d818337b1 | |||
1c54db45b9 | |||
ce8c46658d | |||
7556ad7541 | |||
1e9f0fddf2 | |||
05baad4d49 | |||
c53ce92725 | |||
507d443445 | |||
fcf33b7cf9 | |||
545e0c4d19 |
24
gcc-10.1.0-arm-provide-futex-atomic-functions.patch
Normal file
24
gcc-10.1.0-arm-provide-futex-atomic-functions.patch
Normal file
@ -0,0 +1,24 @@
|
||||
diff -ru gcc-10.1.0/libstdc++-v3/include/bits/atomic_futex.h gcc-10.1.0.patched/libstdc++-v3/include/bits/atomic_futex.h
|
||||
--- gcc-10.1.0/libstdc++-v3/include/bits/atomic_futex.h 2020-05-07 12:50:02.000000000 +0200
|
||||
+++ gcc-10.1.0.patched/libstdc++-v3/include/bits/atomic_futex.h 2020-06-08 18:18:38.544259479 +0200
|
||||
@@ -49,7 +49,7 @@
|
||||
_GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
|
||||
#ifdef _GLIBCXX_HAS_GTHREADS
|
||||
-#if defined(_GLIBCXX_HAVE_LINUX_FUTEX) && ATOMIC_INT_LOCK_FREE > 1
|
||||
+#if defined(_GLIBCXX_HAVE_LINUX_FUTEX)
|
||||
struct __atomic_futex_unsigned_base
|
||||
{
|
||||
// Returns false iff a timeout occurred.
|
||||
diff -ru gcc-10.1.0/libstdc++-v3/src/c++11/futex.cc gcc-10.1.0.patched/libstdc++-v3/src/c++11/futex.cc
|
||||
--- gcc-10.1.0/libstdc++-v3/src/c++11/futex.cc 2020-05-07 12:50:02.000000000 +0200
|
||||
+++ gcc-10.1.0.patched/libstdc++-v3/src/c++11/futex.cc 2020-06-08 18:19:20.413501894 +0200
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
#include <bits/atomic_futex.h>
|
||||
#ifdef _GLIBCXX_HAS_GTHREADS
|
||||
-#if defined(_GLIBCXX_HAVE_LINUX_FUTEX) && ATOMIC_INT_LOCK_FREE > 1
|
||||
+#if defined(_GLIBCXX_HAVE_LINUX_FUTEX)
|
||||
#include <chrono>
|
||||
#include <climits>
|
||||
#include <syscall.h>
|
12
gcc-13.1.1-libgomp-workaround-null-environ.patch
Normal file
12
gcc-13.1.1-libgomp-workaround-null-environ.patch
Normal file
@ -0,0 +1,12 @@
|
||||
--- gcc-13.1.1/libgomp/env.c.orig 2023-06-20 10:11:45.125868665 +0200
|
||||
+++ gcc-13.1.1/libgomp/env.c 2023-06-20 10:04:18.089095860 +0200
|
||||
@@ -2059,6 +2059,9 @@
|
||||
none = gomp_get_initial_icv_item (GOMP_DEVICE_NUM_FOR_NO_SUFFIX);
|
||||
initialize_icvs (&none->icvs);
|
||||
|
||||
+ if (environ == 0) fprintf(stderr, "FIXME: initialize_env: environ is not initialized\n");
|
||||
+
|
||||
+ if (environ != 0)
|
||||
for (env = environ; *env != 0; env++)
|
||||
{
|
||||
if (!startswith (*env, "OMP_"))
|
@ -1,5 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
gij --classpath /usr/share/java/ecj.jar \
|
||||
org.eclipse.jdt.internal.compiler.batch.GCCMain \
|
||||
${1+"$@"}
|
252
gcc.spec
252
gcc.spec
@ -1,4 +1,6 @@
|
||||
# openmamba cross platform gcc specfile
|
||||
#%define git_commit 9a167ee2f8b9a0859fbab6cfdc276cf1f272effe
|
||||
#%define git_commit_ver 13.1.1
|
||||
|
||||
%define target_cpu %(echo %{_target_platform} | cut -d- -f1)
|
||||
%if "%{?_target_platform}" != "%{_host}"
|
||||
@ -39,20 +41,19 @@
|
||||
%define majver %(echo %version | cut -d. -f 1-2)
|
||||
|
||||
Name: gcc
|
||||
Version: 9.2.0
|
||||
Release: 4mamba
|
||||
Version: 13.2.0
|
||||
Release: 1mamba
|
||||
Summary: GNU Compiler Collection (C, C++, Fortran, Go, Ada)
|
||||
Group: Applications/Development
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://gcc.gnu.org/
|
||||
Source: ftp://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-%{version}%{?gcc_extraver}.tar.xz
|
||||
Source1: ftp://sourceware.org/pub/java/ecj-latest.jar
|
||||
Source2: gcc-4.3.2-ecj1-wrapper
|
||||
Patch2: gcc4-java-nomulti.patch
|
||||
URL: https://gcc.gnu.org/
|
||||
#Source: https://sourceware.org/git/gcc.git/master@%{git_commit}/gcc-%{version}.tar.bz2
|
||||
Source: https://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-%{version}.tar.xz
|
||||
Patch0: %{name}-4.5.0-no_fixincludes.patch
|
||||
Patch1: %{name}-4.0.2-zextract.patch
|
||||
Patch2: gcc4-java-nomulti.patch
|
||||
Patch3: %{name}-4.0.2-BufferStrategy.patch
|
||||
Patch4: %{name}-4.0.2-failure_with_compound_literals.patch
|
||||
Patch5: %{name}-4.1.1-arm-t-linux.patch
|
||||
@ -67,6 +68,8 @@ Patch14: gcc-4.8.0-libffi-texinfo.patch
|
||||
Patch15: gcc-4.9.0-upstream-fixes-1.patch
|
||||
Patch16: gcc-4.9.2-arm-lra-bootstrap.patch
|
||||
Patch19: gcc-7.1.0-cross-ftbfs-ucontet_t.patch
|
||||
Patch20: gcc-10.1.0-arm-provide-futex-atomic-functions.patch
|
||||
Patch21: gcc-13.1.1-libgomp-workaround-null-environ.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
## AUTOBUILDREQ-END
|
||||
@ -105,26 +108,19 @@ BuildRequires: glibc-devel >= 2.5
|
||||
BuildRequires: tetex >= 3.0
|
||||
BuildRequires: libgtk2-devel >= 2.8.17
|
||||
BuildRequires: libalsa-devel >= 1.0.11
|
||||
%if "%{?disable_jack}" != "1"
|
||||
BuildRequires: dssi-devel >= 0.9
|
||||
BuildRequires: libjack-devel >= 0.101.1
|
||||
%endif
|
||||
%if "%{?disable_gjdoc}" != "1"
|
||||
BuildRequires: antlr
|
||||
%endif
|
||||
BuildRequires: libcairo-devel >= 1.4.10
|
||||
BuildRequires: libxcb-util-devel >= 0.2
|
||||
BuildRequires: libisl-devel >= 0.14
|
||||
BuildRequires: libxcrypt-devel
|
||||
#% endif
|
||||
#% else
|
||||
# BuildRequires: cross-%{target_cpu}-glibc%{?glibc_require_append} >= 2.5
|
||||
#BuildRequires: cross-%{target_cpu}-glibc%{?glibc_require_append} >= 2.5
|
||||
%endif
|
||||
|
||||
#BuildConflicts: libldc-devel
|
||||
Requires(post):%{__install_info}
|
||||
Requires: %{name}-cpp = %{version}-%{release}
|
||||
Requires: libgcc >= %{version}-%{release}
|
||||
Requires: binutils >= 2.16.1
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
A compiler aimed at integrating all the optimizations and features necessary for a high-performance and stable development environment.
|
||||
@ -314,7 +310,8 @@ Summary: Fortran 95 support for gcc
|
||||
Group: Applications/Development
|
||||
Requires: libgfortran = %{version}-%{release}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Obsoletes: gcc-g77, gcc-gfortran
|
||||
Obsoletes: gcc-g77 < 10.3.0
|
||||
Obsoletes: gcc-gfortran < 10.3.0
|
||||
|
||||
%description fortran
|
||||
This package adds support for compiling Fortran 95 programs with the GNU compiler.
|
||||
@ -481,6 +478,21 @@ Requires: libasan = %{version}-%{release}
|
||||
%description -n libasan-devel
|
||||
This package contains static libraries and headers to be used for development.
|
||||
|
||||
%package -n libhwasan
|
||||
Summary: GCC HW address sanitizer runtime library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libhwasan
|
||||
This package contains the GCC HW addess sanitizer runtime library.
|
||||
|
||||
%package -n libhwasan-devel
|
||||
Summary: libhwasan development libraries and headers
|
||||
Group: Development/Libraries
|
||||
Requires: libhwasan = %{version}-%{release}
|
||||
|
||||
%description -n libhwasan-devel
|
||||
This package contains static libraries and headers to be used for development.
|
||||
|
||||
%package -n liblsan
|
||||
Summary: GCC Leak Sanitizer runtime library
|
||||
Group: System/Libraries
|
||||
@ -572,7 +584,7 @@ Summary: Cross Platform gcc for %{_target_platform}
|
||||
Group: Development/Tools
|
||||
Requires: cross-%{_target_platform}-binutils
|
||||
%if "%{?stage1}" != "1"
|
||||
Obsoletes: cross-%{_target_platform}-%{name}-stage1
|
||||
Obsoletes: cross-%{_target_platform}-%{name}-stage1 <= %{version}
|
||||
%endif
|
||||
AutoReqProv: no
|
||||
|
||||
@ -583,7 +595,15 @@ Cross Platform gcc for %{_target_platform}.
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
# Don't clean build at the end
|
||||
%global __spec_rmbuild_cmd /bin/true
|
||||
|
||||
%prep
|
||||
#%if "%{git_commit_ver}" != "%{version}"
|
||||
#echo "Needed to update git commit for gcc %{version}"
|
||||
#exit 1
|
||||
#%endif
|
||||
|
||||
%setup -q -n gcc-%{version}%{?gcc_extraver}
|
||||
#-D -T
|
||||
#:<< ___EOF
|
||||
@ -592,18 +612,31 @@ Cross Platform gcc for %{_target_platform}.
|
||||
%define _build_id_links none
|
||||
%endif
|
||||
|
||||
%if "%{_target_platform}" != "%{_build}"
|
||||
%patch9 -p1
|
||||
%endif
|
||||
#%if "%{_target_platform}" != "%{_build}"
|
||||
#%patch 9 -p1
|
||||
#%endif
|
||||
|
||||
# psignal_fix_bootstrap_build
|
||||
%patch11 -p1
|
||||
## psignal_fix_bootstrap_build
|
||||
#%patch 11 -p1
|
||||
|
||||
%patch 21 -p1
|
||||
|
||||
%ifarch arm
|
||||
# workaround for gcc-go
|
||||
cp libgo/go/internal/syscall/unix/{getrandom_linux_arm.go,dummy.go}
|
||||
%patch 20 -p1
|
||||
## workaround for gcc-go
|
||||
#cp libgo/go/internal/syscall/unix/{getrandom_linux_arm.go,dummy.go}
|
||||
cat >> libgo/go/internal/syscall/unix/dummy.go << __EOF
|
||||
|
||||
const (
|
||||
getrandomTrap uintptr = 384
|
||||
copyFileRangeTrap uintptr = 391
|
||||
)
|
||||
__EOF
|
||||
%endif
|
||||
|
||||
# Do not run fixincludes
|
||||
sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
|
||||
|
||||
%build
|
||||
#:<< ____EOF
|
||||
rm -rf ../%{name}-build-%{_target_platform}
|
||||
@ -633,7 +666,7 @@ BUILD_LANGUAGES="${BUILD_LANGUAGES},go"
|
||||
|
||||
case %{_target_platform} in
|
||||
i386-*|i486-*|i586-*|i686-*|athlon-*)
|
||||
ADDITIONAL_OPTS="--with-arch=i686"
|
||||
ADDITIONAL_OPTS="--with-arch=pentium4"
|
||||
;;
|
||||
ppc-* | powerpc-*)
|
||||
ADDITIONAL_OPTS=""
|
||||
@ -659,6 +692,13 @@ case %{_target_platform} in
|
||||
ADDITIONAL_OPTS="--with-slibdir=$slibdir --enable-multilib"
|
||||
%endif
|
||||
;;
|
||||
aarch64-*)
|
||||
%if "%{_target_platform}" != "%{_host}"
|
||||
ADDITIONAL_OPTS="--with-slibdir=/usr/%{_target_platform}/lib64"
|
||||
%else
|
||||
ADDITIONAL_OPTS="--with-slibdir=$slibdir"
|
||||
%endif
|
||||
;;
|
||||
*)
|
||||
echo "Error: target not supported."
|
||||
exit 1
|
||||
@ -729,9 +769,6 @@ CROSS_SYSTEM_HEADER_DIR=/usr/%{_target_platform}/include \
|
||||
--x-libraries=%{_libdir} \
|
||||
--with-system-zlib \
|
||||
--with-isl \
|
||||
%if "%{?disable_jack}" == "1"
|
||||
--disable-dssi \
|
||||
%endif
|
||||
%if "%{_target_platform}" != "%{_host}"
|
||||
--enable-symvers=gnu \
|
||||
--disable-libsanitizer \
|
||||
@ -758,8 +795,9 @@ CROSS_SYSTEM_HEADER_DIR=/usr/%{_target_platform}/include \
|
||||
%endif
|
||||
|
||||
%else
|
||||
make %{?_smp_mflags} CFLAGS='-O -I/usr/include/freetype2' LIBCFLAGS='-g -O2' \
|
||||
LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap
|
||||
make %{?_smp_mflags} CFLAGS="%{optflags}" CXXFLAGS="%{optflags}"
|
||||
# CFLAGS='-O -I/usr/include/freetype2' LIBCFLAGS='-g -O2' \
|
||||
# LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap
|
||||
%endif
|
||||
|
||||
%if "%{target_cpu}" != "avr"
|
||||
@ -772,10 +810,10 @@ cd ../..
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%endif # stage1 = 1
|
||||
%endif
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
[ "%{buildroot}" != "/" ] && rm -rf "%{buildroot}"
|
||||
|
||||
cd ../%{name}-build-%{_target_platform}
|
||||
make DESTDIR=%{buildroot} install
|
||||
@ -829,6 +867,11 @@ mv %{buildroot}%{_libdir}/libstdc++.so.*-gdb.py %{buildroot}%{_datadir}/gdb/auto
|
||||
# fix for 32bit multilib build
|
||||
mkdir -p %{buildroot}%{_datadir}/gdb/auto-load/%{_prefix}/lib32
|
||||
mv %{buildroot}%{_prefix}/lib32/libstdc++.so.*-gdb.py %{buildroot}%{_datadir}/gdb/auto-load/%{_prefix}/lib32/
|
||||
# set /usr/lib32 for ldconfig
|
||||
install -d -m0755 %{buildroot}%{_sysconfdir}/ld.so.conf.d
|
||||
cat > %{buildroot}%{_sysconfdir}/ld.so.conf.d/lib32-gcc.conf << EOF
|
||||
/usr/lib32
|
||||
EOF
|
||||
%endif
|
||||
|
||||
(cd ../gcc-%{version}%{?gcc_extraver}
|
||||
@ -843,10 +886,11 @@ mv %{buildroot}%{_prefix}/lib32/libstdc++.so.*-gdb.py %{buildroot}%{_datadir}/gd
|
||||
#done)
|
||||
|
||||
# fix permissions
|
||||
#chmod 755 %{buildroot}/%{_lib}/libgcc_s.so.1
|
||||
chmod 755 %{buildroot}/%{_libdir}/libgcc_s.so.1
|
||||
#cp gcc/doc/*.pdf ../gcc-%{version}%{?gcc_extraver}/gcc/doc/
|
||||
|
||||
%else # target_platform != host
|
||||
%else
|
||||
# target_platform != host
|
||||
rm -rf %{buildroot}%{_infodir}/*
|
||||
rm -rf %{buildroot}%{_mandir}/man7/{fsf-funding.*,gfdl.*,gpl.*}
|
||||
rm -rf %{buildroot}%{_datadir}/locale/*
|
||||
@ -866,7 +910,7 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
|
||||
#%endif
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
[ "%{buildroot}" != "/" ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post -n libgcc -p /sbin/ldconfig
|
||||
%postun -n libgcc -p /sbin/ldconfig
|
||||
@ -926,6 +970,7 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
|
||||
%{_bindir}/gcov
|
||||
%{_bindir}/gcov-dump
|
||||
%{_bindir}/gcov-tool
|
||||
%{_bindir}/lto-dump
|
||||
%{_bindir}/%{_target_platform}-cc
|
||||
%{_bindir}/%{_target_platform}-gcc-%{version}
|
||||
%{_bindir}/%{_target_platform}-gcc
|
||||
@ -935,7 +980,7 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
|
||||
%{_bindir}/%{_target_platform}-gcov
|
||||
%dir %{_libdir}/gcc
|
||||
%{_libdir}/gcc/*
|
||||
%ifarch x86_64
|
||||
%ifarch x86_64 aarch64
|
||||
%exclude %{_libdir}/gcc/%{_target_platform}/%{version}/32/*
|
||||
%endif
|
||||
%dir %{_prefix}/libexec/gcc/%{_target_platform}/%{version}
|
||||
@ -948,6 +993,7 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
|
||||
%{_mandir}/man1/gcov.1.*
|
||||
%{_mandir}/man1/gcov-dump.1.*
|
||||
%{_mandir}/man1/gcov-tool.1.*
|
||||
%{_mandir}/man1/lto-dump.1*
|
||||
%{_mandir}/man7/fsf-funding.7.*
|
||||
%{_mandir}/man7/gfdl.7.*
|
||||
%{_mandir}/man7/gpl.7.*
|
||||
@ -986,7 +1032,6 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
|
||||
|
||||
%files -n libcc1-devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libcc1.la
|
||||
%{_libdir}/libcc1.so
|
||||
|
||||
%files -n libitm
|
||||
@ -996,7 +1041,6 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
|
||||
%files -n libitm-devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libitm.a
|
||||
%{_libdir}/libitm.la
|
||||
%{_libdir}/libitm.so
|
||||
%{_libdir}/libitm.spec
|
||||
%{_infodir}/libitm.info.gz
|
||||
@ -1012,14 +1056,11 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
|
||||
%files -n libgomp-devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libgomp.a
|
||||
%{_libdir}/libgomp.la
|
||||
%{_libdir}/libgomp.so
|
||||
#%{_libdir}/libgomp-plugin-host_nonshm.la
|
||||
#%{_libdir}/libgomp-plugin-host_nonshm.so
|
||||
%{_libdir}/libgomp.spec
|
||||
%ifarch ppc
|
||||
%{_libdir}/nof/libgomp.a
|
||||
%{_libdir}/nof/libgomp.la
|
||||
%{_libdir}/nof/libgomp.so
|
||||
%{_libdir}/nof/libgomp.spec
|
||||
%endif
|
||||
@ -1035,11 +1076,9 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
|
||||
%files -n libobjc-devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libobjc.a
|
||||
%{_libdir}/libobjc.la
|
||||
%{_libdir}/libobjc.so
|
||||
%ifarch ppc
|
||||
%{_libdir}/nof/libobjc.a
|
||||
%{_libdir}/nof/libobjc.la
|
||||
%{_libdir}/nof/libobjc.so
|
||||
%endif
|
||||
%dir %{_libdir}/gcc/%{_target_platform}/%{version}/include/objc
|
||||
@ -1055,16 +1094,12 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
|
||||
%files -n libssp-devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libssp.a
|
||||
%{_libdir}/libssp.la
|
||||
%{_libdir}/libssp.so
|
||||
%{_libdir}/libssp_nonshared.a
|
||||
%{_libdir}/libssp_nonshared.la
|
||||
%ifarch ppc
|
||||
%{_libdir}/nof/libssp.a
|
||||
%{_libdir}/nof/libssp.la
|
||||
%{_libdir}/nof/libssp.so
|
||||
%{_libdir}/nof/libssp_nonshared.a
|
||||
%{_libdir}/nof/libssp_nonshared.la
|
||||
%endif
|
||||
%dir %{_libdir}/gcc/%{_target_platform}/%{version}/include/ssp
|
||||
%{_libdir}/gcc/%{_target_platform}/%{version}/include/ssp/*
|
||||
@ -1072,24 +1107,32 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
|
||||
%files -n libasan
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libasan.so.*
|
||||
%ifarch x86_64
|
||||
%ifarch x86_64 aarch64
|
||||
%{_libdir}/libtsan.so.*
|
||||
%endif
|
||||
|
||||
%files -n libasan-devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libasan.a
|
||||
%{_libdir}/libasan.la
|
||||
%{_libdir}/libasan.so
|
||||
%{_libdir}/libasan_preinit.o
|
||||
%ifarch x86_64
|
||||
%ifarch x86_64 aarch64
|
||||
%{_libdir}/libtsan.a
|
||||
%{_libdir}/libtsan.la
|
||||
%{_libdir}/libtsan.so
|
||||
%{_libdir}/libtsan_preinit.o
|
||||
%endif
|
||||
|
||||
%ifarch x86_64
|
||||
%ifarch aarch64 x86_64
|
||||
%files -n libhwasan
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libhwasan.so.*
|
||||
|
||||
%files -n libhwasan-devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libhwasan.a
|
||||
%{_libdir}/libhwasan.so
|
||||
%{_libdir}/libhwasan_preinit.o
|
||||
|
||||
%files -n liblsan
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/liblsan.so.*
|
||||
@ -1097,7 +1140,6 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
|
||||
%files -n liblsan-devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/liblsan.a
|
||||
%{_libdir}/liblsan.la
|
||||
%{_libdir}/liblsan.so
|
||||
%{_libdir}/liblsan_preinit.o
|
||||
%endif
|
||||
@ -1109,7 +1151,6 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
|
||||
%files -n libatomic-devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libatomic.a
|
||||
%{_libdir}/libatomic.la
|
||||
%{_libdir}/libatomic.so
|
||||
|
||||
#%files -n libcilkrts
|
||||
@ -1119,7 +1160,6 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
|
||||
#%files -n libcilkrts-devel
|
||||
#%defattr(-,root,root)
|
||||
#%{_libdir}/libcilkrts.a
|
||||
#%{_libdir}/libcilkrts.la
|
||||
#%{_libdir}/libcilkrts.so
|
||||
#%{_libdir}/libcilkrts.spec
|
||||
|
||||
@ -1132,11 +1172,9 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
|
||||
#%files -n libmpx-devel
|
||||
#%defattr(-,root,root)
|
||||
#%{_libdir}/libmpx.a
|
||||
#%{_libdir}/libmpx.la
|
||||
#%{_libdir}/libmpx.so
|
||||
#%{_libdir}/libmpx.spec
|
||||
#%{_libdir}/libmpxwrappers.a
|
||||
#%{_libdir}/libmpxwrappers.la
|
||||
#%{_libdir}/libmpxwrappers.so
|
||||
#%endif
|
||||
|
||||
@ -1147,7 +1185,6 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
|
||||
%files -n libubsan-devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libubsan.a
|
||||
%{_libdir}/libubsan.la
|
||||
%{_libdir}/libubsan.so
|
||||
%{_libdir}/libsanitizer.spec
|
||||
|
||||
@ -1158,14 +1195,14 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
|
||||
#%files -n libvtv-devel
|
||||
#%defattr(-,root,root)
|
||||
#%{_libdir}/libvtv.a
|
||||
#%{_libdir}/libvtv.la
|
||||
#%{_libdir}/libvtv.so
|
||||
|
||||
%if "%{disable_cpp}" != "1"
|
||||
#
|
||||
# C++ language
|
||||
#
|
||||
%files c++
|
||||
# NOTE: libstdc++.lang moved here to prevent x86 biarch conflict of libstdc++6
|
||||
%files c++ -f libstdc++.lang
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/c++
|
||||
%{_bindir}/g++
|
||||
@ -1175,7 +1212,7 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
|
||||
%{_mandir}/man1/g++.1.*
|
||||
#%doc gcc/cp/ChangeLog*
|
||||
|
||||
%files -n %{libstdcxx_name} -f libstdc++.lang
|
||||
%files -n %{libstdcxx_name}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libstdc++.so.*
|
||||
%ifarch ppc
|
||||
@ -1188,19 +1225,20 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
|
||||
|
||||
%files -n %{libstdcxx_name}-devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libstdc++.*a
|
||||
%{_libdir}/libstdc++.a
|
||||
%{_libdir}/libstdc++exp.a
|
||||
%{_libdir}/libstdc++.so
|
||||
%{_libdir}/libsupc++.*a
|
||||
%{_libdir}/libstdc++fs.*a
|
||||
%{_libdir}/libsupc++.a
|
||||
%{_libdir}/libstdc++fs.a
|
||||
%ifarch ppc
|
||||
%{_libdir}/nof/libstdc++.*a
|
||||
%{_libdir}/nof/libstdc++.a
|
||||
%{_libdir}/nof/libstdc++.so
|
||||
%{_libdir}/nof/libsupc++.*a
|
||||
%{_libdir}/nof/libsupc++.a
|
||||
%endif
|
||||
%dir %{_includedir}/c++
|
||||
%{_includedir}/c++/*
|
||||
#%doc libstdc++-v3/{ChangeLog*,README*,doc/html/}
|
||||
%endif "%{disable_cpp}
|
||||
%endif
|
||||
|
||||
#
|
||||
# D language
|
||||
@ -1210,10 +1248,8 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
|
||||
%{_bindir}/gdc
|
||||
%{_bindir}/%{_target_platform}-gdc
|
||||
%{_libdir}/libgdruntime.a
|
||||
%{_libdir}/libgdruntime.la
|
||||
%{_libdir}/libgdruntime.so
|
||||
%{_libdir}/libgphobos.a
|
||||
%{_libdir}/libgphobos.la
|
||||
%{_libdir}/libgphobos.so
|
||||
%{_libdir}/libgphobos.spec
|
||||
%{_infodir}/gdc.info*
|
||||
@ -1233,12 +1269,10 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
|
||||
%{_bindir}/gfortran
|
||||
%{_bindir}/%{_target_platform}-gfortran
|
||||
%{_libdir}/libgfortran.a
|
||||
%{_libdir}/libgfortran.la
|
||||
%{_libdir}/libgfortran.so
|
||||
%{_libdir}/libgfortran.spec
|
||||
%ifarch ppc
|
||||
%{_libdir}/nof/libgfortran.a
|
||||
%{_libdir}/nof/libgfortran.la
|
||||
%{_libdir}/nof/libgfortran.so
|
||||
%endif
|
||||
%{_mandir}/man1/gfortran.1.*
|
||||
@ -1250,9 +1284,9 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
|
||||
%ifarch ppc
|
||||
%{_libdir}/nof/libgfortran.so.*
|
||||
%endif
|
||||
%endif # disable_fortran != 1
|
||||
%endif
|
||||
|
||||
%ifnarch arm
|
||||
%ifnarch arm aarch64
|
||||
%files -n libquadmath
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libquadmath.so.*
|
||||
@ -1260,7 +1294,6 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
|
||||
%files -n libquadmath-devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libquadmath.a
|
||||
%{_libdir}/libquadmath.la
|
||||
%{_libdir}/libquadmath.so
|
||||
%endif
|
||||
|
||||
@ -1288,7 +1321,6 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
|
||||
%files -n libgo-devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libgo.a
|
||||
%{_libdir}/libgo.la
|
||||
%{_libdir}/libgo.so
|
||||
%{_libdir}/libgobegin.a
|
||||
%{_libdir}/libgolibbegin.a
|
||||
@ -1315,7 +1347,7 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
|
||||
#%doc gcc/doc/gccinstall.pdf
|
||||
#%doc gcc/doc/gcc.pdf
|
||||
#%doc gcc/doc/gccint.pdf
|
||||
%endif # "%{disable_doc}" != "1"
|
||||
%endif
|
||||
|
||||
#
|
||||
# Multilib
|
||||
@ -1323,30 +1355,29 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
|
||||
%ifarch x86_64
|
||||
%files -n gcc-multilib
|
||||
%defattr(-,root,root)
|
||||
%{_sysconfdir}/ld.so.conf.d/lib32-gcc.conf
|
||||
%dir %{_libdir}/gcc/%{_target_platform}/%{version}/32
|
||||
%{_libdir}/gcc/%{_target_platform}/%{version}/32/*
|
||||
%{_prefix}/lib32/libgcc_s.so
|
||||
%{_prefix}/lib32/libgcc_s.so.1
|
||||
#
|
||||
%{_prefix}/lib32/libstdc++.*a
|
||||
%{_prefix}/lib32/libstdc++exp.a
|
||||
%{_prefix}/lib32/libstdc++.so
|
||||
%{_prefix}/lib32/libstdc++.so.*
|
||||
%{_prefix}/lib32/libstdc++fs.*a
|
||||
#
|
||||
%{_prefix}/lib32/libasan.a
|
||||
%{_prefix}/lib32/libasan.la
|
||||
%{_prefix}/lib32/libasan.so
|
||||
%{_prefix}/lib32/libasan.so.*
|
||||
%{_prefix}/lib32/libasan_preinit.o
|
||||
%{_prefix}/lib32/libatomic.a
|
||||
%{_prefix}/lib32/libatomic.la
|
||||
%{_prefix}/lib32/libatomic.so
|
||||
%{_prefix}/lib32/libatomic.so.*
|
||||
#
|
||||
# gfortran
|
||||
#
|
||||
%{_prefix}/lib32/libgfortran.a
|
||||
%{_prefix}/lib32/libgfortran.la
|
||||
%{_prefix}/lib32/libgfortran.so
|
||||
%{_prefix}/lib32/libgfortran.so.*
|
||||
%{_prefix}/lib32/libgfortran.spec
|
||||
@ -1358,7 +1389,6 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
|
||||
%dir %{_prefix}/lib32/go/%{version}/%{_target_platform}
|
||||
%{_prefix}/lib32/go/%{version}/%{_target_platform}/*
|
||||
%{_prefix}/lib32/libgo.a
|
||||
%{_prefix}/lib32/libgo.la
|
||||
%{_prefix}/lib32/libgo.so
|
||||
%{_prefix}/lib32/libgo.so.*
|
||||
%{_prefix}/lib32/libgobegin.a
|
||||
@ -1368,7 +1398,6 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
|
||||
#
|
||||
#
|
||||
%{_prefix}/lib32/libgomp.a
|
||||
%{_prefix}/lib32/libgomp.la
|
||||
%{_prefix}/lib32/libgomp.so
|
||||
%{_prefix}/lib32/libgomp.so.*
|
||||
%{_prefix}/lib32/libgomp.spec
|
||||
@ -1376,51 +1405,39 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
|
||||
#%{_prefix}/lib/libgomp-plugin-host_nonshm.so
|
||||
#%{_prefix}/lib/libgomp-plugin-host_nonshm.so.*
|
||||
/usr/lib32/libitm.a
|
||||
/usr/lib32/libitm.la
|
||||
/usr/lib32/libitm.so
|
||||
/usr/lib32/libitm.so.*
|
||||
/usr/lib32/libitm.spec
|
||||
#/usr/lib/libmpx*.a
|
||||
#/usr/lib/libmpx*.la
|
||||
#/usr/lib/libmpx*.so
|
||||
#/usr/lib/libmpx*.so.*
|
||||
#/usr/lib/libmpx.spec
|
||||
/usr/lib32/libobjc.a
|
||||
/usr/lib32/libobjc.la
|
||||
/usr/lib32/libobjc.so
|
||||
/usr/lib32/libobjc.so.*
|
||||
/usr/lib32/libssp.a
|
||||
/usr/lib32/libssp.la
|
||||
/usr/lib32/libssp.so
|
||||
/usr/lib32/libssp.so.*
|
||||
/usr/lib32/libssp_nonshared.a
|
||||
/usr/lib32/libssp_nonshared.la
|
||||
/usr/lib32/libsupc++.a
|
||||
/usr/lib32/libsupc++.la
|
||||
#/usr/lib/libcilkrts.a
|
||||
#/usr/lib/libcilkrts.la
|
||||
#/usr/lib/libcilkrts.so
|
||||
#/usr/lib/libcilkrts.so.*
|
||||
#/usr/lib/libcilkrts.spec
|
||||
/usr/lib32/libquadmath.a
|
||||
/usr/lib32/libquadmath.la
|
||||
/usr/lib32/libquadmath.so
|
||||
/usr/lib32/libquadmath.so.*
|
||||
/usr/lib32/libsanitizer.spec
|
||||
/usr/lib32/libubsan.a
|
||||
/usr/lib32/libubsan.la
|
||||
/usr/lib32/libubsan.so
|
||||
/usr/lib32/libubsan.so.*
|
||||
#/usr/lib/libvtv.a
|
||||
#/usr/lib/libvtv.la
|
||||
#/usr/lib/libvtv.so
|
||||
#/usr/lib/libvtv.so.*
|
||||
%{_prefix}/lib32/libgdruntime.a
|
||||
%{_prefix}/lib32/libgdruntime.la
|
||||
%{_prefix}/lib32/libgdruntime.so
|
||||
%{_prefix}/lib32/libgdruntime.so.*
|
||||
%{_prefix}/lib32/libgphobos.a
|
||||
%{_prefix}/lib32/libgphobos.la
|
||||
%{_prefix}/lib32/libgphobos.so
|
||||
%{_prefix}/lib32/libgphobos.so.*
|
||||
%{_prefix}/lib32/libgphobos.spec
|
||||
@ -1444,14 +1461,10 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
|
||||
%endif
|
||||
%endif
|
||||
#%{_prefix}/%{_target_platform}/%{_lib}/libgfortran.a
|
||||
#%{_prefix}/%{_target_platform}/%{_lib}/libgfortran.la
|
||||
#%{_prefix}/%{_target_platform}/%{_lib}/libobjc.a
|
||||
#%{_prefix}/%{_target_platform}/%{_lib}/libobjc.la
|
||||
%if "%{target_cpu}" == "ppc"
|
||||
%{_prefix}/%{_target_platform}/%{_lib}/nof/libgfortran.a
|
||||
%{_prefix}/%{_target_platform}/%{_lib}/nof/libgfortran.la
|
||||
%{_prefix}/%{_target_platform}/%{_lib}/nof/libobjc.a
|
||||
%{_prefix}/%{_target_platform}/%{_lib}/nof/libobjc.la
|
||||
%endif
|
||||
%endif
|
||||
%{_libdir}/gcc/%{_target_platform}/%{version}/*
|
||||
@ -1461,9 +1474,48 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
|
||||
%{_prefix}/libexec/gcc/%{_target_platform}/%{version}/*
|
||||
%endif
|
||||
%{_mandir}/man1/%{_target_platform}-*
|
||||
%endif # cross-platform
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Aug 10 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 13.2.0-1mamba
|
||||
- update to 13.2.0
|
||||
|
||||
* Tue Jun 20 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 13.1.1-2mamba
|
||||
- libgomp: patch to workaround environ null pointer in initialize_env
|
||||
|
||||
* Sat Jun 17 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 13.1.1-1mamba
|
||||
- update to 13.1.1
|
||||
|
||||
* Sat Jun 10 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 13.1.0-1mamba
|
||||
- update to 13.1.0
|
||||
|
||||
* Thu Sep 29 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 12.2.0-2mamba
|
||||
- gcc-multilib: add /usr/lib32 to ldconfig paths
|
||||
|
||||
* Sun Aug 21 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 12.2.0-1mamba
|
||||
- update to 12.2.0
|
||||
|
||||
* Thu Apr 28 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 11.3.0-1mamba
|
||||
- update to 11.3.0
|
||||
|
||||
* Wed Jul 28 2021 Automatic Build System <autodist@mambasoft.it> 11.2.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Apr 29 2021 Automatic Build System <autodist@mambasoft.it> 11.1.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Jul 24 2020 Automatic Build System <autodist@mambasoft.it> 10.2.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon Jun 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 10.1.0-2mamba
|
||||
- arm: added patch to provide futex atomic functions _M_futex_notify_all and _M_futex_wait_until (armv7)
|
||||
|
||||
* Mon May 11 2020 Automatic Build System <autodist@mambasoft.it> 10.1.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Mar 13 2020 Automatic Build System <autodist@mambasoft.it> 9.3.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Feb 29 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 9.2.0-4mamba
|
||||
- install libiberty.a with pic support
|
||||
|
||||
|
Reference in New Issue
Block a user