760 lines
30 KiB
Text
760 lines
30 KiB
Text
# Automatically generated aport, do not edit!
|
|
# Generator: pmbootstrap aportgen gcc-armhf
|
|
# Based on: main/gcc (from Alpine)
|
|
|
|
CTARGET_ARCH=armhf
|
|
CTARGET="$(arch_to_hostspec ${CTARGET_ARCH})"
|
|
LANG_D=false
|
|
LANG_OBJC=false
|
|
LANG_JAVA=false
|
|
LANG_GO=false
|
|
LANG_FORTRAN=false
|
|
LANG_ADA=false
|
|
options="!strip !tracedeps"
|
|
|
|
# abuild doesn't try to tries to install "build-base-$CTARGET_ARCH"
|
|
# when this variable matches "no*"
|
|
BOOTSTRAP="nobuildbase"
|
|
|
|
# abuild will only cross compile when this variable is set, but it
|
|
# needs to find a valid package database in there for dependency
|
|
# resolving, so we set it to /.
|
|
CBUILDROOT="/"
|
|
|
|
_cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET"
|
|
|
|
pkgname=gcc-armhf
|
|
_pkgbase=11.2.1
|
|
pkgver=11.2.1_git20220117
|
|
[ "$BOOTSTRAP" = "nolibc" ] && pkgname="gcc-pass2"
|
|
[ "$CBUILD" != "$CHOST" ] && _cross="-$CARCH" || _cross=""
|
|
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
|
|
|
|
pkgname=gcc-armhf
|
|
pkgrel=0
|
|
pkgdesc="Stage2 cross-compiler for armhf"
|
|
url="https://gcc.gnu.org"
|
|
arch="x86_64"
|
|
license="GPL-2.0-or-later LGPL-2.1-or-later"
|
|
_gccrel=$pkgver-r$pkgrel
|
|
depends="isl binutils-armhf mpc1"
|
|
makedepends_build="gcc g++ bison flex texinfo gawk zip gmp-dev mpfr-dev mpc1-dev zlib-dev"
|
|
makedepends_host="linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev musl-dev-armhf binutils-armhf"
|
|
subpackages="g++-armhf:gpp"
|
|
[ "$CHOST" = "$CTARGET" ] && subpackages="gcc-doc$_target"
|
|
replaces="libstdc++ binutils"
|
|
|
|
: "${LANG_CXX:=true}"
|
|
: "${LANG_D:=true}"
|
|
: "${LANG_OBJC:=true}"
|
|
: "${LANG_GO:=true}"
|
|
: "${LANG_FORTRAN:=true}"
|
|
: "${LANG_ADA:=true}"
|
|
: "${LANG_JIT:=true}"
|
|
|
|
_libgomp=true
|
|
_libgcc=true
|
|
_libatomic=true
|
|
_libitm=true
|
|
|
|
if [ "$CHOST" != "$CTARGET" ]; then
|
|
if [ "$BOOTSTRAP" = nolibc ]; then
|
|
LANG_CXX=false
|
|
LANG_ADA=false
|
|
_libgcc=false
|
|
_builddir="$srcdir/build-cross-pass2"
|
|
else
|
|
_builddir="$srcdir/build-cross-final"
|
|
fi
|
|
LANG_OBJC=false
|
|
LANG_GO=false
|
|
LANG_FORTRAN=false
|
|
LANG_D=false
|
|
LANG_JIT=false
|
|
_libgomp=false
|
|
_libatomic=false
|
|
_libitm=false
|
|
|
|
# reset target flags (should be set in crosscreate abuild)
|
|
# fixup flags. seems gcc treats CPPFLAGS as global without
|
|
# _FOR_xxx variants. wrap it in CFLAGS and CXXFLAGS.
|
|
export CFLAGS="$CPPFLAGS $CFLAGS"
|
|
export CXXFLAGS="$CPPFLAGS $CXXFLAGS"
|
|
unset CPPFLAGS
|
|
export CFLAGS_FOR_TARGET=" "
|
|
export CXXFLAGS_FOR_TARGET=" "
|
|
export LDFLAGS_FOR_TARGET=" "
|
|
|
|
STRIP_FOR_TARGET="$CTARGET-strip"
|
|
elif [ "$CBUILD" != "$CHOST" ]; then
|
|
# fixup flags. seems gcc treats CPPFLAGS as global without
|
|
# _FOR_xxx variants. wrap it in CFLAGS and CXXFLAGS.
|
|
export CFLAGS="$CPPFLAGS $CFLAGS"
|
|
export CXXFLAGS="$CPPFLAGS $CXXFLAGS"
|
|
unset CPPFLAGS
|
|
|
|
# reset flags and cc for build
|
|
export CC_FOR_BUILD="gcc"
|
|
export CXX_FOR_BUILD="g++"
|
|
export CFLAGS_FOR_BUILD=" "
|
|
export CXXFLAGS_FOR_BUILD=" "
|
|
export LDFLAGS_FOR_BUILD=" "
|
|
export CFLAGS_FOR_TARGET=" "
|
|
export CXXFLAGS_FOR_TARGET=" "
|
|
export LDFLAGS_FOR_TARGET=" "
|
|
|
|
# Languages that do not need bootstrapping
|
|
LANG_OBJC=false
|
|
LANG_GO=false
|
|
LANG_FORTRAN=false
|
|
LANG_D=false
|
|
LANG_JIT=false
|
|
|
|
STRIP_FOR_TARGET=${CROSS_COMPILE}strip
|
|
_builddir="$srcdir/build-cross-native"
|
|
else
|
|
STRIP_FOR_TARGET=${CROSS_COMPILE}strip
|
|
_builddir="$srcdir/build"
|
|
fi
|
|
|
|
# GDC hasn't been ported to PowerPC
|
|
# See libphobos/configure.tgt in GCC sources for supported targets
|
|
# riscv fails with: error: static assert "unimplemented"
|
|
case "$CARCH" in
|
|
ppc64le|riscv64) LANG_D=false ;;
|
|
esac
|
|
|
|
# libitm has TEXTRELs in ARM build, so disable for now
|
|
case "$CTARGET_ARCH" in
|
|
arm*) _libitm=false ;;
|
|
mips*) _libitm=false ;;
|
|
riscv64) _libitm=false ;;
|
|
esac
|
|
|
|
# Internal libffi fails to build on MIPS at the moment, need to
|
|
# investigate further. We disable LANG_GO on mips64 as it requires
|
|
# the internal libffi.
|
|
case "$CTARGET_ARCH" in
|
|
mips*) LANG_GO=false ;;
|
|
esac
|
|
|
|
# Fortran uses libquadmath if toolchain has __float128
|
|
# currently on x86, x86_64 and ia64
|
|
_libquadmath=$LANG_FORTRAN
|
|
case "$CTARGET_ARCH" in
|
|
x86 | x86_64) _libquadmath=$LANG_FORTRAN ;;
|
|
*) _libquadmath=false ;;
|
|
esac
|
|
|
|
# libatomic is a dependency for openvswitch
|
|
$_libatomic && subpackages="$subpackages libatomic::$CTARGET_ARCH"
|
|
$_libgcc && subpackages="$subpackages libgcc::$CTARGET_ARCH"
|
|
$_libquadmath && subpackages="$subpackages libquadmath::$CTARGET_ARCH"
|
|
if $_libgomp; then
|
|
depends="$depends libgomp=$_gccrel"
|
|
subpackages="$subpackages libgomp::$CTARGET_ARCH"
|
|
fi
|
|
|
|
case "$CARCH" in
|
|
riscv64)
|
|
LANG_ADA=false;;
|
|
esac
|
|
|
|
_languages=c
|
|
if $LANG_CXX; then
|
|
_languages="$_languages,c++"
|
|
fi
|
|
if $LANG_D; then
|
|
subpackages="$subpackages libgphobos::$CTARGET_ARCH gcc-gdc$_target:gdc"
|
|
_languages="$_languages,d"
|
|
makedepends_build="$makedepends_build libucontext-dev"
|
|
fi
|
|
if $LANG_OBJC; then
|
|
subpackages="$subpackages libobjc::$CTARGET_ARCH gcc-objc$_target:objc"
|
|
_languages="$_languages,objc"
|
|
fi
|
|
if $LANG_GO; then
|
|
subpackages="$subpackages libgo::$CTARGET_ARCH gcc-go$_target:go"
|
|
_languages="$_languages,go"
|
|
fi
|
|
if $LANG_FORTRAN; then
|
|
subpackages="$subpackages libgfortran::$CTARGET_ARCH gfortran$_target:gfortran"
|
|
_languages="$_languages,fortran"
|
|
fi
|
|
if $LANG_ADA; then
|
|
subpackages="$subpackages libgnat-static:libgnatstatic:$CTARGET_ARCH libgnat::$CTARGET_ARCH gcc-gnat$_target:gnat"
|
|
_languages="$_languages,ada"
|
|
[ "$CBUILD" = "$CTARGET" ] && makedepends_build="$makedepends_build gcc-gnat-bootstrap"
|
|
[ "$CBUILD" != "$CTARGET" ] && makedepends_build="$makedepends_build gcc-gnat gcc-gnat$_cross"
|
|
fi
|
|
if $LANG_JIT; then
|
|
subpackages="$subpackages libgccjit:jit libgccjit-dev:jitdev"
|
|
_languages="$_languages,jit"
|
|
fi
|
|
makedepends="$makedepends_build $makedepends_host"
|
|
|
|
# when using upstream releases, use this URI template
|
|
# https://gcc.gnu.org/pub/gcc/releases/gcc-${_pkgbase:-$pkgver}/gcc-${_pkgbase:-$pkgver}.tar.xz
|
|
#
|
|
# right now, we are using a git snapshot.
|
|
#
|
|
# PLEASE submit all patches to gcc to https://gitlab.alpinelinux.org/kaniini/alpine-gcc-patches,
|
|
# so that they can be properly tracked and easily rebased if needed.
|
|
source="https://dev.alpinelinux.org/~nenolod/gcc-${pkgver}.tar.xz
|
|
0001-posix_memalign.patch
|
|
0002-gcc-poison-system-directories.patch
|
|
0003-specs-turn-on-Wl-z-now-by-default.patch
|
|
0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch
|
|
0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch
|
|
0006-Enable-Wformat-and-Wformat-security-by-default.patch
|
|
0007-Enable-Wtrampolines-by-default.patch
|
|
0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch
|
|
0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch
|
|
0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch
|
|
0011-libiberty-copy-PIC-objects-during-build-process.patch
|
|
0012-libitm-disable-FORTIFY.patch
|
|
0013-libgcc_s.patch
|
|
0014-nopie.patch
|
|
0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch
|
|
0016-dlang-update-zlib-binding.patch
|
|
0017-dlang-use-libucontext-on-mips64.patch
|
|
0018-dlang-libdruntime-define-fcntl.h-constants-for-mips6.patch
|
|
0019-ada-fix-shared-linking.patch
|
|
0020-build-fix-CXXFLAGS_FOR_BUILD-passing.patch
|
|
0021-add-fortify-headers-paths.patch
|
|
0022-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch
|
|
0023-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch
|
|
0024-mips64-disable-multilib-support.patch
|
|
0025-aarch64-disable-multilib-support.patch
|
|
0026-s390x-disable-multilib-support.patch
|
|
0027-ppc64-le-disable-multilib-support.patch
|
|
0028-x86_64-disable-multilib-support.patch
|
|
0029-riscv-disable-multilib-support.patch
|
|
0030-always-build-libgcc_eh.a.patch
|
|
0031-ada-libgnarl-compatibility-for-musl.patch
|
|
0032-ada-musl-support-fixes.patch
|
|
0033-gcc-go-Fix-handling-of-signal-34-on-musl.patch
|
|
0034-There-are-more-than-one-st_-a-m-c-tim-fields-in-stru.patch
|
|
0035-gcc-go-signal-34-is-special-on-musl-libc.patch
|
|
0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch
|
|
0037-gcc-go-link-to-libucontext.patch
|
|
0038-Use-generic-errstr.go-implementation-on-musl.patch
|
|
0039-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch
|
|
0040-configure-fix-detection-of-atomic-builtins-in-libato.patch
|
|
0041-libgo-Recognize-off64_t-and-loff_t-definitions-of-mu.patch
|
|
0042-Fix-attempt-to-use-poisoned-calloc-error-in-libgccji.patch
|
|
0043-stddef.h-add-support-for-musl-typedef-macro-guards.patch
|
|
0044-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch
|
|
0045-Disable-fsplit-stack-support-on-non-glibc-targets.patch
|
|
0046-libgo-include-asm-ptrace.h-for-pt_regs-definition-on.patch
|
|
0047-gdc-unconditionally-link-libgphobos-against-libucont.patch
|
|
"
|
|
|
|
# we build out-of-tree
|
|
_gccdir="$srcdir"/gcc-$pkgver
|
|
_gcclibdir="/usr/lib/gcc/$CTARGET/${_pkgbase:-$pkgver}"
|
|
_gcclibexec="/usr/libexec/gcc/$CTARGET/${_pkgbase:-$pkgver}"
|
|
|
|
prepare() {
|
|
cd "$_gccdir"
|
|
|
|
_err=
|
|
for i in $source; do
|
|
case "$i" in
|
|
*.patch)
|
|
msg "Applying $i"
|
|
patch -p1 -i "$srcdir"/$i || _err="$_err $i"
|
|
;;
|
|
esac
|
|
done
|
|
|
|
if [ -n "$_err" ]; then
|
|
error "The following patches failed:"
|
|
for i in $_err; do
|
|
echo " $i"
|
|
done
|
|
return 1
|
|
fi
|
|
|
|
echo ${_pkgbase:-$pkgver} > gcc/BASE-VER
|
|
}
|
|
|
|
build() {
|
|
local _arch_configure=
|
|
local _libc_configure=
|
|
local _bootstrap_configure=
|
|
local _symvers=
|
|
local _jit_configure=
|
|
|
|
cd "$_gccdir"
|
|
|
|
case "$CTARGET" in
|
|
aarch64-*-*-*) _arch_configure="--with-arch=armv8-a --with-abi=lp64";;
|
|
armv5-*-*-*eabi) _arch_configure="--with-arch=armv5te --with-tune=arm926ej-s --with-float=soft --with-abi=aapcs-linux";;
|
|
armv6-*-*-*eabihf) _arch_configure="--with-arch=armv6zk --with-tune=arm1176jzf-s --with-fpu=vfp --with-float=hard --with-abi=aapcs-linux";;
|
|
armv7-*-*-*eabihf) _arch_configure="--with-arch=armv7-a --with-tune=generic-armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-abi=aapcs-linux --with-mode=thumb";;
|
|
mips-*-*-*) _arch_configure="--with-arch=mips32 --with-mips-plt --with-float=soft --with-abi=32";;
|
|
mips64-*-*-*) _arch_configure="--with-arch=mips3 --with-tune=mips64 --with-mips-plt --with-float=soft --with-abi=64";;
|
|
mips64el-*-*-*) _arch_configure="--with-arch=mips3 --with-tune=mips64 --with-mips-plt --with-float=soft --with-abi=64";;
|
|
mipsel-*-*-*) _arch_configure="--with-arch=mips32 --with-mips-plt --with-float=soft --with-abi=32";;
|
|
powerpc-*-*-*) _arch_configure="--enable-secureplt --enable-decimal-float=no";;
|
|
powerpc64*-*-*-*) _arch_configure="--with-abi=elfv2 --enable-secureplt --enable-decimal-float=no --enable-targets=powerpcle-linux";;
|
|
i486-*-*-*) _arch_configure="--with-arch=i486 --with-tune=generic --enable-cld";;
|
|
i586-*-*-*) _arch_configure="--with-arch=i586 --with-tune=generic --enable-cld";;
|
|
s390x-*-*-*) _arch_configure="--with-arch=z196 --with-tune=zEC12 --with-zarch --with-long-double-128 --enable-decimal-float";;
|
|
riscv64-*-*-*) _arch_configure="--with-arch=rv64gc --with-abi=lp64d --enable-autolink-libatomic";;
|
|
esac
|
|
|
|
case "$CTARGET_ARCH" in
|
|
mips*) _hash_style_configure="--with-linker-hash-style=sysv" ;;
|
|
*) _hash_style_configure="--with-linker-hash-style=gnu" ;;
|
|
esac
|
|
|
|
case "$CTARGET_LIBC" in
|
|
musl)
|
|
# musl does not support mudflap, or libsanitizer
|
|
# libmpx uses secure_getenv and struct _libc_fpstate not present in musl
|
|
# alpine musl provides libssp_nonshared.a, so we don't need libssp either
|
|
_libc_configure="--disable-libssp --disable-libmpx --disable-libmudflap --disable-libsanitizer"
|
|
_symvers="--disable-symvers"
|
|
export libat_cv_have_ifunc=no
|
|
;;
|
|
esac
|
|
|
|
|
|
case "$BOOTSTRAP" in
|
|
nolibc) _bootstrap_configure="--with-newlib --disable-shared --enable-threads=no" ;;
|
|
*) _bootstrap_configure="--enable-shared --enable-threads --enable-tls" ;;
|
|
esac
|
|
|
|
$LANG_JIT && _jit_configure="--enable-host-shared"
|
|
|
|
$_libgomp || _bootstrap_configure="$_bootstrap_configure --disable-libgomp"
|
|
$_libatomic || _bootstrap_configure="$_bootstrap_configure --disable-libatomic"
|
|
$_libitm || _bootstrap_configure="$_bootstrap_configure --disable-libitm"
|
|
$_libquadmath || _arch_configure="$_arch_configure --disable-libquadmath"
|
|
|
|
msg "Building the following:"
|
|
echo ""
|
|
echo " CBUILD=$CBUILD"
|
|
echo " CHOST=$CHOST"
|
|
echo " CTARGET=$CTARGET"
|
|
echo " CTARGET_ARCH=$CTARGET_ARCH"
|
|
echo " CTARGET_LIBC=$CTARGET_LIBC"
|
|
echo " languages=$_languages"
|
|
echo " arch_configure=$_arch_configure"
|
|
echo " libc_configure=$_libc_configure"
|
|
echo " cross_configure=$_cross_configure"
|
|
echo " bootstrap_configure=$_bootstrap_configure"
|
|
echo " hash_style_configure=$_hash_style_configure"
|
|
echo ""
|
|
|
|
export CFLAGS="$CFLAGS -O2"
|
|
|
|
mkdir -p "$_builddir"
|
|
cd "$_builddir"
|
|
"$_gccdir"/configure --prefix=/usr \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--build=${CBUILD} \
|
|
--host=${CHOST} \
|
|
--target=${CTARGET} \
|
|
--with-pkgversion="Alpine $pkgver" \
|
|
--enable-checking=release \
|
|
--disable-fixed-point \
|
|
--disable-libstdcxx-pch \
|
|
--disable-multilib \
|
|
--disable-nls \
|
|
--disable-werror \
|
|
$_symvers \
|
|
--enable-__cxa_atexit \
|
|
--enable-default-pie \
|
|
--enable-default-ssp \
|
|
--enable-cloog-backend \
|
|
--enable-languages=$_languages \
|
|
$_arch_configure \
|
|
$_libc_configure \
|
|
$_cross_configure \
|
|
$_bootstrap_configure \
|
|
$_jit_configure \
|
|
--with-system-zlib \
|
|
$_hash_style_configure
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make -j1 DESTDIR="$pkgdir" install
|
|
|
|
ln -s gcc "$pkgdir"/usr/bin/cc
|
|
|
|
# we dont support gcj -static
|
|
# and saving 35MB is not bad.
|
|
find "$pkgdir" \( -name libgtkpeer.a \
|
|
-o -name libgjsmalsa.a \
|
|
-o -name libgij.a \) \
|
|
-delete
|
|
|
|
# strip debug info from some static libs
|
|
find "$pkgdir" \( -name libgfortran.a -o -name libobjc.a -o -name libgomp.a \
|
|
-o -name libgphobos.a -o -name libgdruntime.a \
|
|
-o -name libmudflap.a -o -name libmudflapth.a \
|
|
-o -name libgcc.a -o -name libgcov.a -o -name libquadmath.a \
|
|
-o -name libitm.a -o -name libgo.a -o -name libcaf\*.a \
|
|
-o -name libatomic.a -o -name libasan.a -o -name libtsan.a \) \
|
|
-a -type f \
|
|
-exec ${STRIP_FOR_TARGET} -g {} +
|
|
|
|
if $_libgomp; then
|
|
mv "$pkgdir"/usr/lib/libgomp.spec "$pkgdir"/$_gcclibdir
|
|
fi
|
|
if $_libitm; then
|
|
mv "$pkgdir"/usr/lib/libitm.spec "$pkgdir"/$_gcclibdir
|
|
fi
|
|
|
|
# remove ffi
|
|
rm -f "$pkgdir"/usr/lib/libffi* "$pkgdir"/usr/share/man/man3/ffi*
|
|
find "$pkgdir" -name 'ffi*.h' -delete
|
|
|
|
local gdblib=${_target:+$CTARGET/}lib
|
|
if [ -d "$pkgdir"/usr/$gdblib/ ]; then
|
|
for i in $(find "$pkgdir"/usr/$gdblib/ -type f -maxdepth 1 -name "*-gdb.py"); do
|
|
mkdir -p "$pkgdir"/usr/share/gdb/python/auto-load/usr/$gdblib
|
|
mv "$i" "$pkgdir"/usr/share/gdb/python/auto-load/usr/$gdblib/
|
|
done
|
|
fi
|
|
|
|
# move ada runtime libs
|
|
if $LANG_ADA; then
|
|
for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 -name "libgna*.so"); do
|
|
mv "$i" "$pkgdir"/usr/lib/
|
|
ln -s ../../../../${i##*/} $i
|
|
done
|
|
for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 -name "libgna*.a"); do
|
|
mv "$i" "$pkgdir"/usr/lib/
|
|
ln -s ../../../../${i##*/} $i
|
|
done
|
|
fi
|
|
|
|
if [ "$CHOST" != "$CTARGET" ]; then
|
|
# cross-gcc: remove any files that would conflict with the
|
|
# native gcc package
|
|
rm -rf "$pkgdir"/usr/bin/cc "$pkgdir"/usr/include "${pkgdir:?}"/usr/share
|
|
# libcc1 does not depend on target, don't ship it
|
|
rm -rf "$pkgdir"/usr/lib/libcc1.so*
|
|
|
|
# fixup gcc library symlinks to be linker scripts so
|
|
# linker finds the libs from relocated sysroot
|
|
for so in "$pkgdir"/usr/"$CTARGET"/lib/*.so; do
|
|
if [ -h "$so" ]; then
|
|
local _real=$(basename "$(readlink "$so")")
|
|
rm -f "$so"
|
|
echo "GROUP ($_real)" > "$so"
|
|
fi
|
|
done
|
|
else
|
|
# add c89/c99 wrapper scripts
|
|
cat >"$pkgdir"/usr/bin/c89 <<'EOF'
|
|
#!/bin/sh
|
|
_flavor="-std=c89"
|
|
for opt; do
|
|
case "$opt" in
|
|
-ansi|-std=c89|-std=iso9899:1990) _flavor="";;
|
|
-std=*) echo "$(basename $0) called with non ANSI/ISO C option $opt" >&2
|
|
exit 1;;
|
|
esac
|
|
done
|
|
exec gcc $_flavor ${1+"$@"}
|
|
EOF
|
|
cat >"$pkgdir"/usr/bin/c99 <<'EOF'
|
|
#!/bin/sh
|
|
_flavor="-std=c99"
|
|
for opt; do
|
|
case "$opt" in
|
|
-std=c99|-std=iso9899:1999) _flavor="";;
|
|
-std=*) echo "$(basename $0) called with non ISO C99 option $opt" >&2
|
|
exit 1;;
|
|
esac
|
|
done
|
|
exec gcc $_flavor ${1+"$@"}
|
|
EOF
|
|
chmod 755 "$pkgdir"/usr/bin/c?9
|
|
|
|
# install lto plugin so regular binutils may use it
|
|
mkdir -p "$pkgdir"/usr/lib/bfd-plugins
|
|
ln -s /$_gcclibexec/liblto_plugin.so "$pkgdir/usr/lib/bfd-plugins/"
|
|
fi
|
|
}
|
|
|
|
libatomic() {
|
|
pkgdesc="GCC Atomic library"
|
|
depends=
|
|
replaces="gcc"
|
|
|
|
mkdir -p "$subpkgdir"/usr/lib
|
|
mv "$pkgdir"/usr/${_target:+$CTARGET/}lib/libatomic.so.* "$subpkgdir"/usr/lib/
|
|
}
|
|
|
|
libcxx() {
|
|
pkgdesc="GNU C++ standard runtime library"
|
|
depends=
|
|
|
|
if [ "$CHOST" = "$CTARGET" ]; then
|
|
# verify that we are using clock_gettime rather than doing direct syscalls
|
|
# so we dont break 32 bit arches due to time64.
|
|
nm -D "$pkgdir"/usr/lib/libstdc++.so.* | grep clock_gettime
|
|
fi
|
|
|
|
mkdir -p "$subpkgdir"/usr/lib
|
|
mv "$pkgdir"/usr/${_target:+$CTARGET/}lib/libstdc++.so.* "$subpkgdir"/usr/lib/
|
|
}
|
|
|
|
gpp() {
|
|
pkgdesc="GNU C++ standard library and compiler"
|
|
depends="libstdc++=$_gccrel gcc=$_gccrel libc-dev"
|
|
mkdir -p "$subpkgdir/$_gcclibexec" \
|
|
"$subpkgdir"/usr/bin \
|
|
"$subpkgdir"/usr/${_target:+$CTARGET/}include \
|
|
"$subpkgdir"/usr/${_target:+$CTARGET/}lib \
|
|
|
|
mv "$pkgdir/$_gcclibexec/cc1plus" "$subpkgdir/$_gcclibexec/"
|
|
|
|
mv "$pkgdir"/usr/${_target:+$CTARGET/}lib/*++* "$subpkgdir"/usr/${_target:+$CTARGET/}lib/
|
|
mv "$pkgdir"/usr/${_target:+$CTARGET/}include/c++ "$subpkgdir"/usr/${_target:+$CTARGET/}include/
|
|
mv "$pkgdir"/usr/bin/*++ "$subpkgdir"/usr/bin/
|
|
}
|
|
|
|
jit() {
|
|
pkgdesc="GCC JIT Library"
|
|
depends=
|
|
amove usr/lib/libgccjit.so*
|
|
}
|
|
|
|
jitdev() {
|
|
pkgdesc="GCC JIT Library (development files)"
|
|
depends="libgccjit"
|
|
amove usr/include/libgccjit*.h
|
|
}
|
|
|
|
libobjc() {
|
|
pkgdesc="GNU Objective-C runtime"
|
|
replaces="objc"
|
|
depends=
|
|
mkdir -p "$subpkgdir"/usr/lib
|
|
mv "$pkgdir"/usr/${_target:+$CTARGET/}lib/libobjc.so.* "$subpkgdir"/usr/lib/
|
|
}
|
|
|
|
objc() {
|
|
pkgdesc="GNU Objective-C"
|
|
replaces="gcc"
|
|
depends="libc-dev gcc=$_gccrel libobjc=$_gccrel"
|
|
|
|
mkdir -p "$subpkgdir/$_gcclibexec" \
|
|
"$subpkgdir"/$_gcclibdir/include \
|
|
"$subpkgdir"/usr/lib
|
|
mv "$pkgdir/$_gcclibexec/cc1obj" "$subpkgdir/$_gcclibexec/"
|
|
mv "$pkgdir"/$_gcclibdir/include/objc "$subpkgdir"/$_gcclibdir/include/
|
|
mv "$pkgdir"/usr/lib/libobjc.so "$pkgdir"/usr/lib/libobjc.a \
|
|
"$subpkgdir"/usr/lib/
|
|
}
|
|
|
|
libgcc() {
|
|
pkgdesc="GNU C compiler runtime libraries"
|
|
depends=
|
|
|
|
mkdir -p "$subpkgdir"/usr/lib
|
|
mv "$pkgdir"/usr/${_target:+$CTARGET/}lib/libgcc_s.so.* "$subpkgdir"/usr/lib/
|
|
}
|
|
|
|
libgomp() {
|
|
pkgdesc="GCC shared-memory parallel programming API library"
|
|
depends=
|
|
replaces="gcc"
|
|
|
|
mkdir -p "$subpkgdir"/usr/lib
|
|
mv "$pkgdir"/usr/${_target:+$CTARGET/}lib/libgomp.so.* "$subpkgdir"/usr/lib/
|
|
}
|
|
|
|
libgphobos() {
|
|
pkgdesc="D programming language standard library for GCC"
|
|
depends=
|
|
|
|
mkdir -p "$subpkgdir"/usr/lib
|
|
mv "$pkgdir"/usr/lib/libgdruntime.so.* "$subpkgdir"/usr/lib/
|
|
mv "$pkgdir"/usr/lib/libgphobos.so.* "$subpkgdir"/usr/lib/
|
|
}
|
|
|
|
gdc() {
|
|
pkgdesc="GCC-based D language compiler"
|
|
depends="gcc=$_gccrel libgphobos=$_gccrel musl-dev"
|
|
depends="$depends libucontext-dev"
|
|
|
|
mkdir -p "$subpkgdir/$_gcclibexec" \
|
|
"$subpkgdir"/$_gcclibdir/include/d/ \
|
|
"$subpkgdir"/usr/lib \
|
|
"$subpkgdir"/usr/bin
|
|
# Copy: The installed '.d' files, the static lib, the binary itself
|
|
# The shared libs are part of 'libgphobos' so one can run program
|
|
# without installing the compiler
|
|
mv "$pkgdir/$_gcclibexec/d21" "$subpkgdir/$_gcclibexec/"
|
|
mv "$pkgdir"/$_gcclibdir/include/d/* "$subpkgdir"/$_gcclibdir/include/d/
|
|
mv "$pkgdir"/usr/lib/libgdruntime.a "$subpkgdir"/usr/lib/
|
|
mv "$pkgdir"/usr/lib/libgphobos.a "$subpkgdir"/usr/lib/
|
|
mv "$pkgdir"/usr/lib/libgphobos.spec "$subpkgdir"/usr/lib/
|
|
mv "$pkgdir"/usr/bin/$CTARGET-gdc "$subpkgdir"/usr/bin/
|
|
mv "$pkgdir"/usr/bin/gdc "$subpkgdir"/usr/bin/
|
|
}
|
|
|
|
|
|
libgo() {
|
|
pkgdesc="Go runtime library for GCC"
|
|
depends=
|
|
|
|
mkdir -p "$subpkgdir"/usr/lib
|
|
mv "$pkgdir"/usr/lib/libgo.so.* "$subpkgdir"/usr/lib/
|
|
}
|
|
|
|
go() {
|
|
pkgdesc="Go support for GCC"
|
|
depends="gcc=$_gccrel libgo=$_gccrel !go"
|
|
|
|
mkdir -p "$subpkgdir"/$_gcclibexec \
|
|
"$subpkgdir"/usr/lib \
|
|
"$subpkgdir"/usr/bin
|
|
mv "$pkgdir"/usr/lib/go "$subpkgdir"/usr/lib/
|
|
mv "$pkgdir"/usr/bin/*gccgo "$subpkgdir"/usr/bin/
|
|
mv "$pkgdir"/usr/bin/*go "$subpkgdir"/usr/bin
|
|
mv "$pkgdir"/usr/bin/*gofmt "$subpkgdir"/usr/bin
|
|
mv "$pkgdir"/$_gcclibexec/go1 "$subpkgdir"/$_gcclibexec/
|
|
mv "$pkgdir"/$_gcclibexec/cgo "$subpkgdir"/$_gcclibexec/
|
|
mv "$pkgdir"/$_gcclibexec/buildid "$subpkgdir"/$_gcclibexec/
|
|
mv "$pkgdir"/$_gcclibexec/test2json "$subpkgdir"/$_gcclibexec/
|
|
mv "$pkgdir"/$_gcclibexec/vet "$subpkgdir"/$_gcclibexec/
|
|
mv "$pkgdir"/usr/lib/libgo.a \
|
|
"$pkgdir"/usr/lib/libgo.so \
|
|
"$pkgdir"/usr/lib/libgobegin.a \
|
|
"$pkgdir"/usr/lib/libgolibbegin.a \
|
|
"$subpkgdir"/usr/lib/
|
|
}
|
|
|
|
libgfortran() {
|
|
pkgdesc="Fortran runtime library for GCC"
|
|
depends=
|
|
|
|
mkdir -p "$subpkgdir"/usr/lib
|
|
mv "$pkgdir"/usr/lib/libgfortran.so.* "$subpkgdir"/usr/lib/
|
|
}
|
|
|
|
libquadmath() {
|
|
replaces="gcc"
|
|
pkgdesc="128-bit math library for GCC"
|
|
depends=
|
|
|
|
mkdir -p "$subpkgdir"/usr/lib
|
|
mv "$pkgdir"/usr/lib/libquadmath.so.* "$subpkgdir"/usr/lib/
|
|
}
|
|
|
|
gfortran() {
|
|
pkgdesc="GNU Fortran Compiler"
|
|
depends="gcc=$_gccrel libgfortran=$_gccrel"
|
|
$_libquadmath && depends="$depends libquadmath=$_gccrel"
|
|
replaces="gcc"
|
|
|
|
mkdir -p "$subpkgdir"/$_gcclibexec \
|
|
"$subpkgdir"/$_gcclibdir \
|
|
"$subpkgdir"/usr/lib \
|
|
"$subpkgdir"/usr/bin
|
|
mv "$pkgdir"/usr/bin/*gfortran "$subpkgdir"/usr/bin/
|
|
mv "$pkgdir"/usr/lib/libgfortran.a \
|
|
"$pkgdir"/usr/lib/libgfortran.so \
|
|
"$subpkgdir"/usr/lib/
|
|
if $_libquadmath; then
|
|
mv "$pkgdir"/usr/lib/libquadmath.a \
|
|
"$pkgdir"/usr/lib/libquadmath.so \
|
|
"$subpkgdir"/usr/lib/
|
|
fi
|
|
mv "$pkgdir"/$_gcclibdir/finclude "$subpkgdir"/$_gcclibdir/
|
|
mv "$pkgdir"/$_gcclibexec/f951 "$subpkgdir"/$_gcclibexec
|
|
mv "$pkgdir"/usr/lib/libgfortran.spec "$subpkgdir"/$_gcclibdir
|
|
}
|
|
|
|
libgnat() {
|
|
pkgdesc="GNU Ada runtime shared libraries"
|
|
depends=
|
|
|
|
mkdir -p "$subpkgdir"/usr/lib
|
|
mv "$pkgdir"/usr/lib/libgna*.so "$subpkgdir"/usr/lib/
|
|
}
|
|
|
|
libgnatstatic() {
|
|
pkgdesc="GNU Ada static libraries"
|
|
depends=
|
|
|
|
mkdir -p "$subpkgdir"/usr/lib
|
|
mv "$pkgdir"/usr/lib/libgna*.a "$subpkgdir"/usr/lib/
|
|
}
|
|
|
|
gnat() {
|
|
pkgdesc="Ada support for GCC"
|
|
depends="gcc=$_gccrel"
|
|
provides="$pkgname-gnat-bootstrap"
|
|
[ "$CHOST" = "$CTARGET" ] && depends="$depends libgnat=$_gccrel"
|
|
|
|
mkdir -p "$subpkgdir"/$_gcclibexec \
|
|
"$subpkgdir"/$_gcclibdir \
|
|
"$subpkgdir"/usr/bin
|
|
mv "$pkgdir"/$_gcclibexec/*gnat* "$subpkgdir"/$_gcclibexec/
|
|
mv "$pkgdir"/$_gcclibdir/*ada* "$subpkgdir"/$_gcclibdir/
|
|
mv "$pkgdir"/usr/bin/*gnat* "$subpkgdir"/usr/bin/
|
|
}
|
|
|
|
sha512sums="
|
|
e756307338258432bd8dfc41cf27440117bca4cd7a3a80a7009eb06d06004ade0a61eefd773969ed6578afadef96b4813d41961faf8a43c28d0af77a388fea7d gcc-11.2.1_git20220117.tar.xz
|
|
7e5d342e302b376c729e17998d3fdbb8397ed9330c44e0335c4a7319c010bb8d1680c45f37d9eb96d67f99d052290fe943aa818799307271a846a50232db0aa0 0001-posix_memalign.patch
|
|
fe147a13e8e460a8ec6df26b7bed67455d55bd6ca238fc52f04095bb8151ec54c85bb048a90fa0ed4f42f97caacd158dec0b3651f32ecac3ce39c53e18aa3747 0002-gcc-poison-system-directories.patch
|
|
6d8d6335ae657a65fea2bfed74c1da41208ae8849bd156622425c691d45d29a3e42ad419284ca70630c10cb14a458322dbcefc23ee87f24b85fdd0bb28bedc61 0003-specs-turn-on-Wl-z-now-by-default.patch
|
|
122e99feaa5954aea8f9bf9157b1d486725ea6643727eee440ab818d4a69c817eca6ac5ece3952687e53ca92781c3d00b5ae3e6fb20c71880377ff1b9c72650b 0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch
|
|
dc98a6f99dbaee44b1fb1ecdb5eb924a9636d705dc556d1a760611b0d38c215b9e33a9cd13f5307d2d3c16f86ebe8e9f700ecffc05cf9739554f57f3d953da0b 0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch
|
|
f55372e68065c31020a8afb5bb0b341a155f59887c8723151e3d2842f1a93842e86dc91a3860661762fbba6de340ba75727ad87e04b177975428f5d4010016d3 0006-Enable-Wformat-and-Wformat-security-by-default.patch
|
|
f599d8c0e65782938a1fb31d40720f31c9f0acb4fa7a34b3dd732dc0ead211447e8f9d153dd527471acea0508bdf625056a2128ab43f247080068bc54b711e85 0007-Enable-Wtrampolines-by-default.patch
|
|
2a1f0c8f1a956e63aa4f61154a883aa510d619d5c5e3acedac2b19d0996d97e35f30e47fa7dca90f24fc8b6133860c91b43379afcf57fcf677c3490e7320cf2f 0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch
|
|
140cbba61b82069d153416be4b0ac6164280f2a8f9c96f122175dba0c1ba6ea7aaba3c32db38e580c1caed4a94d4f2a22972f021ca82c3a609b8287f53d40a23 0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch
|
|
39bad14674b741e4745b6e1a6e3f34af9c37b8b8258cc2b260ac3833e61480aebded0afc33ae45c7c126b4b5debfb01439a02521d4b299781bab0532736f462c 0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch
|
|
ffe5fd575cce27ba84b05a1cc37df8b3f5fa5c879fe4214054b6b441b85df974ac6f56d45eedcdeb81a4aa7db3418977e7acc50b05343ded15049d9d40da4f83 0011-libiberty-copy-PIC-objects-during-build-process.patch
|
|
07a38d9233f1541cb3ba9c64b1ed8078c37fabeee46c4fb223171416105091cf8ec388b1dc7db4496b2da62c4198534de379e0f99490ff8cfb5cf9e508b0188c 0012-libitm-disable-FORTIFY.patch
|
|
a42cf4072d23010b55be2d87e8a345dcc9cc09e3a655c8624d231659647d776053381f245a86214d1a11f3bc607248d08881e014d51e3920fb5659656d4b70e6 0013-libgcc_s.patch
|
|
8b30699003a32f81ab9db6091570ad473e3a7269b2e4a1a1c0381c09031cc360ad8189f4f1cf7805a683e72b190752d5b7667626c5e4d8dd6ccf1741e7c53d6a 0014-nopie.patch
|
|
cfe8a7a8060022d4210cacdac6a863ca1d9ab0f8e68c93928cace8d5219bb2cea6fa8aa78ec3217df51c44ff0b3814e3a6d5bce22375ff67da749d385e3d3f5d 0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch
|
|
511ab327571ad82f58acf94d9ec40c7b0920a1b163ff1aecce185281fb6121624bf2c1cdc6761bc794601882d0973fffb4664031315f0eab2623acc5ad40621a 0016-dlang-update-zlib-binding.patch
|
|
49b8d10142e1cd5a01235cab5560d87d32a8c6c4f05e14db521eee1809128b038695e49dc5a61876e35a34845b2241c0169cb58fc0011dab62af2b0e6b185ca5 0017-dlang-use-libucontext-on-mips64.patch
|
|
b092da7ac532fcb7b931d27eb0175374adb9f4a16e782c4f803af9cf073457b074f0c1fe0065a03f8432f2d422fa4e0ebe760d849d8f614337e33f3f027bb714 0018-dlang-libdruntime-define-fcntl.h-constants-for-mips6.patch
|
|
6604a8653b660655baa0ed844326f49a6535e12934bc196acadf19fbcb83a37ea455e3a1fc60d529d62a672e5fbe97524b278eaa8fb3e25fb4a6ba362ef9ca91 0019-ada-fix-shared-linking.patch
|
|
37b534d4c9fbc340e5df790e85b8997986db100fd86ea1b27b912ef5fd0ce5f6b248e468ffbd03e0a543906f57dcffe33d3975c63dcda95efac6713ed03c1606 0020-build-fix-CXXFLAGS_FOR_BUILD-passing.patch
|
|
1c8be5fa094ad499a021e983d9f29a9e4375e03e0633c789aebc0ee7af0d33c4a1ac952257e3a807f17b7393d110657bd149459e0526a56b4f6380e09d3c4eec 0021-add-fortify-headers-paths.patch
|
|
ba1d19e92e85551d8581a9eef6c103e1aee2ed47af8f6261d1c26c5d26b7a4b94cc98a6a22936f0d6ef868f3ebf77ed9cb5e8f3147a33c7270810084c47e22a7 0022-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch
|
|
d1aa039a04a69a2b08ec44a54541c90b66be6b19d24a1060c587ec72e40adb1e8c33e2a5036f8c1f9b43a062c373b094e57f4bbb1225220c1527218661e5d9b6 0023-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch
|
|
d5468649da2e973bc7ce389dd9797e0b3bb2acf93b3f17e0dcd9cf70b79fb81dc0268d0989693e72821a13376c134c648942cad6b8633f6615ac57573153e879 0024-mips64-disable-multilib-support.patch
|
|
198a369b7bc67431cd11b3bc179a97349640864b3397d09932002ccea9e3c06cdd93671587ec43cf59aef66fc42649afb2939e08fa0d7354accd3554ede21dd7 0025-aarch64-disable-multilib-support.patch
|
|
967b238f8740c6622613645a04415e7fd1a366fe46252ba49271be59b1396eb8ab73211516fda51c2b71f306b195e5527e065a58ef34f14984dbecacae38981c 0026-s390x-disable-multilib-support.patch
|
|
7fff62eda6c6b0214825cb2ca29e5f8957b5b3fafdd3e3c2d1ab9036d0d1a62e002b8fca2db750152593ff08aba15ecf281f5a8b1aee662107969f0fd07de3a1 0027-ppc64-le-disable-multilib-support.patch
|
|
ee883dd8775eaaf486cb926ec301d53a89043074917afb84fe2d639ff7fa5bb0497c204509f447f9920ddb09dcd73c179056b3790a13b145cc46dff451484b36 0028-x86_64-disable-multilib-support.patch
|
|
b1ab2f7a6bbf659b0b37eec3bfbf1f85e017ca1d4382816ce8f0c6db6c3a5328c9ace8ca4c1716e715d6d076eb5e9e3bd6212299ddae7a13776f93dfc26ff1cc 0029-riscv-disable-multilib-support.patch
|
|
1990d2e5d38f338b7beb888490cacfb0020a9c836402400f6b828341f946ff65bdc77b872f470fdfeaaff3e933396baace3233d3bf21fad76f999c0ce916d8f5 0030-always-build-libgcc_eh.a.patch
|
|
0e7db3d9ab218122beecf663fe2cef236ca02538bc465f002a3fbde295d2d90e75b6b95942cd9018f72a466ecf149fa6d785999c75862d409ba10f6dce5a969a 0031-ada-libgnarl-compatibility-for-musl.patch
|
|
1c4cdbecffa8a46b5fc21b886a03c8d7447d90b0c44f13438f431b02f66583894166c4798df9d71c45006df43d3808748f52be18317197eab629b7630cdbe5ec 0032-ada-musl-support-fixes.patch
|
|
bb0f762bbfde7f38d1e82b2a443e3b8e662460bbe797f6260e51172d12a32c502d7b98c5d738f36da16d47a38bc739231fd5a76222159f5c50c034929da5b6e3 0033-gcc-go-Fix-handling-of-signal-34-on-musl.patch
|
|
fe5817651c3a1d981da6e4f34302d9345db5dcfe4e48feb1ef303620ab4f145ac758c80e40ec4ed442c445d6a1b087d175fa16d0e88c419aaa7e627cd884e369 0034-There-are-more-than-one-st_-a-m-c-tim-fields-in-stru.patch
|
|
61225c94843c8fc89cdc84c4e04e9c5f3c113e3ec893d2e4be2935697851a29501cb8a2c8272a7ebe3b5fce110b061579b58439dfcb40a85224eba0f53ab082b 0035-gcc-go-signal-34-is-special-on-musl-libc.patch
|
|
b4898ff728edef81b7553aa619ce4036256abad907e7c3e00b027a7552cd84fd79048021d29bfaa18a4f75b73f6207e4da63e010d01eb906f6db12cfdd88cb67 0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch
|
|
715e21327c3264f81503116a86a8f725590e58be3249632d4e4c7f81ee3e82c86ec2745329acf8f413c234fc8b3a0e0a02cbfe6d0ea625486caaa3cc8a93951f 0037-gcc-go-link-to-libucontext.patch
|
|
2e7588d07594e7e84e797bcdf2d6983c6f33a4303374643d23b56d595160c61d8777495c52a3739d99bd50b7b8c06749f1462dbc05a4076b23a4344438ce887e 0038-Use-generic-errstr.go-implementation-on-musl.patch
|
|
766aa0b11ff8270ee5850ae4167bc2b84ec2c98d8f68e8e0f2a474f2ac27c3b45c7208afbe4d2051a526691107ec00d8258264d40cf5fc086ad40f63acd5630d 0039-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch
|
|
7f79cd3bc3b345ad8b5d3d9494db285d5d1da57f4c1fb1f57aafe21d9a2f9c091ec1da9a64550d6bf7473f92adf7d249dfdb255c31f54ef2d0829b47e854d471 0040-configure-fix-detection-of-atomic-builtins-in-libato.patch
|
|
f5b20eef9db3a60a7a0f3214a92fdd5ab7a158ce7d36bfef002a469d39f1fedc1531250bde80d56c640066a22145ca0707f4b2ae779d19e18954db1cf45102cd 0041-libgo-Recognize-off64_t-and-loff_t-definitions-of-mu.patch
|
|
ecb6a3836226fc43e72cee0fe1d59dcdc435e0eaf66378e31d1b6e8109572674c553a954a3409d733fea213ceb9dde8804b97f5802d1f5bc6c8f89c19f81558f 0042-Fix-attempt-to-use-poisoned-calloc-error-in-libgccji.patch
|
|
9e6a5942b9b23df83aa453fa1440a3c90861f4760c8fb0481d24efa9c68c9bdf6bfc211877000221a7c663a907f01d26ce0798825b6bc0b82c1549279144e223 0043-stddef.h-add-support-for-musl-typedef-macro-guards.patch
|
|
e9cd07f298fff1539e835b7cf440c17acf5fbe2ab4b468e645634e0005bdc45992b25de41d5766a9884beeceb8e92231f5e93967c801e96442327db6d4e6f987 0044-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch
|
|
2776ffba938a293c7589483684a2c75991fb500918899c2853efa61a7e8295a5dcd192085730c835c6fd51afcee4d84d8c4883ba71230a8d4ceb65691940e13a 0045-Disable-fsplit-stack-support-on-non-glibc-targets.patch
|
|
51edccd279c70628d8b34db74e2667de75482ed659f1a5f57407f433af89163d9b6b47986467a59d534e2177f872e5de90c95ede1dc8f1b2829fbe57590d8f4d 0046-libgo-include-asm-ptrace.h-for-pt_regs-definition-on.patch
|
|
43b67d2970dcf65d90149ff2ea4f7264f7e01267f3152b0a244850e4f8a6e43da117015dc75dfd30c6428f7088d3cf4b6703f8735f0430959f128ce53de0b821 0047-gdc-unconditionally-link-libgphobos-against-libucont.patch
|
|
"
|