cross/gcc-*: upgrade to 12.2.1_git20220924-r7 (MR 3794)
This commit is contained in:
parent
fa915996b0
commit
af198149e0
4 changed files with 32 additions and 36 deletions
|
@ -26,13 +26,13 @@ _cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET"
|
||||||
pkgname=gcc-aarch64
|
pkgname=gcc-aarch64
|
||||||
_pkgbase=12.2.1 # must match gcc/BASE-VER
|
_pkgbase=12.2.1 # must match gcc/BASE-VER
|
||||||
_pkgsnap=20220924
|
_pkgsnap=20220924
|
||||||
pkgver=${_pkgbase}_git${_pkgsnap}
|
pkgver=${_pkgbase}_git$_pkgsnap
|
||||||
[ "$BOOTSTRAP" = "nolibc" ] && pkgname="gcc-pass2"
|
[ "$BOOTSTRAP" = "nolibc" ] && pkgname="gcc-pass2"
|
||||||
[ "$CBUILD" != "$CHOST" ] && _cross="-$CARCH" || _cross=""
|
[ "$CBUILD" != "$CHOST" ] && _cross="-$CARCH" || _cross=""
|
||||||
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
|
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
|
||||||
|
|
||||||
pkgname=gcc-aarch64
|
pkgname=gcc-aarch64
|
||||||
pkgrel=6
|
pkgrel=7
|
||||||
pkgdesc="Stage2 cross-compiler for aarch64"
|
pkgdesc="Stage2 cross-compiler for aarch64"
|
||||||
url="https://gcc.gnu.org"
|
url="https://gcc.gnu.org"
|
||||||
arch="x86_64"
|
arch="x86_64"
|
||||||
|
@ -212,7 +212,7 @@ makedepends="$makedepends_build $makedepends_host"
|
||||||
#
|
#
|
||||||
# PLEASE submit all patches to gcc to https://gitlab.alpinelinux.org/kaniini/alpine-gcc-patches,
|
# 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.
|
# so that they can be properly tracked and easily rebased if needed.
|
||||||
source="https://dev.alpinelinux.org/archive/gcc/${_pkgbase%%.*}-${_pkgsnap}/gcc-${_pkgbase%%.*}-${_pkgsnap}.tar.xz
|
source="https://dev.alpinelinux.org/archive/gcc/${_pkgbase%%.*}-$_pkgsnap/gcc-${_pkgbase%%.*}-$_pkgsnap.tar.xz
|
||||||
0001-posix_memalign.patch
|
0001-posix_memalign.patch
|
||||||
0002-gcc-poison-system-directories.patch
|
0002-gcc-poison-system-directories.patch
|
||||||
0003-specs-turn-on-Wl-z-now-by-default.patch
|
0003-specs-turn-on-Wl-z-now-by-default.patch
|
||||||
|
@ -262,7 +262,7 @@ source="https://dev.alpinelinux.org/archive/gcc/${_pkgbase%%.*}-${_pkgsnap}/gcc-
|
||||||
"
|
"
|
||||||
|
|
||||||
# we build out-of-tree
|
# we build out-of-tree
|
||||||
_gccdir="$srcdir"/gcc-${_pkgbase%%.*}-${_pkgsnap}
|
_gccdir="$srcdir"/gcc-${_pkgbase%%.*}-$_pkgsnap
|
||||||
_gcclibdir="/usr/lib/gcc/$CTARGET/${_pkgbase:-$pkgver}"
|
_gcclibdir="/usr/lib/gcc/$CTARGET/${_pkgbase:-$pkgver}"
|
||||||
_gcclibexec="/usr/libexec/gcc/$CTARGET/${_pkgbase:-$pkgver}"
|
_gcclibexec="/usr/libexec/gcc/$CTARGET/${_pkgbase:-$pkgver}"
|
||||||
|
|
||||||
|
@ -366,9 +366,9 @@ build() {
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
--mandir=/usr/share/man
|
--mandir=/usr/share/man
|
||||||
--infodir=/usr/share/info
|
--infodir=/usr/share/info
|
||||||
--build=${CBUILD}
|
--build=$CBUILD
|
||||||
--host=${CHOST}
|
--host=$CHOST
|
||||||
--target=${CTARGET}
|
--target=$CTARGET
|
||||||
--enable-checking=release
|
--enable-checking=release
|
||||||
--disable-fixed-point
|
--disable-fixed-point
|
||||||
--disable-libstdcxx-pch
|
--disable-libstdcxx-pch
|
||||||
|
@ -438,7 +438,7 @@ package() {
|
||||||
-o -name libitm.a -o -name libgo.a -o -name libcaf\*.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 \) \
|
-o -name libatomic.a -o -name libasan.a -o -name libtsan.a \) \
|
||||||
-a -type f \
|
-a -type f \
|
||||||
-exec ${STRIP_FOR_TARGET} -g {} +
|
-exec $STRIP_FOR_TARGET -g {} +
|
||||||
|
|
||||||
if $_libgomp; then
|
if $_libgomp; then
|
||||||
mv "$pkgdir"/usr/lib/libgomp.spec "$pkgdir"/$_gcclibdir
|
mv "$pkgdir"/usr/lib/libgomp.spec "$pkgdir"/$_gcclibdir
|
||||||
|
@ -655,7 +655,6 @@ gdc() {
|
||||||
mv "$pkgdir"/usr/bin/gdc "$subpkgdir"/usr/bin/
|
mv "$pkgdir"/usr/bin/gdc "$subpkgdir"/usr/bin/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
libgo() {
|
libgo() {
|
||||||
pkgdesc="Go runtime library for GCC"
|
pkgdesc="Go runtime library for GCC"
|
||||||
depends=
|
depends=
|
||||||
|
|
|
@ -26,13 +26,13 @@ _cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET"
|
||||||
pkgname=gcc-armhf
|
pkgname=gcc-armhf
|
||||||
_pkgbase=12.2.1 # must match gcc/BASE-VER
|
_pkgbase=12.2.1 # must match gcc/BASE-VER
|
||||||
_pkgsnap=20220924
|
_pkgsnap=20220924
|
||||||
pkgver=${_pkgbase}_git${_pkgsnap}
|
pkgver=${_pkgbase}_git$_pkgsnap
|
||||||
[ "$BOOTSTRAP" = "nolibc" ] && pkgname="gcc-pass2"
|
[ "$BOOTSTRAP" = "nolibc" ] && pkgname="gcc-pass2"
|
||||||
[ "$CBUILD" != "$CHOST" ] && _cross="-$CARCH" || _cross=""
|
[ "$CBUILD" != "$CHOST" ] && _cross="-$CARCH" || _cross=""
|
||||||
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
|
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
|
||||||
|
|
||||||
pkgname=gcc-armhf
|
pkgname=gcc-armhf
|
||||||
pkgrel=6
|
pkgrel=7
|
||||||
pkgdesc="Stage2 cross-compiler for armhf"
|
pkgdesc="Stage2 cross-compiler for armhf"
|
||||||
url="https://gcc.gnu.org"
|
url="https://gcc.gnu.org"
|
||||||
arch="x86_64"
|
arch="x86_64"
|
||||||
|
@ -212,7 +212,7 @@ makedepends="$makedepends_build $makedepends_host"
|
||||||
#
|
#
|
||||||
# PLEASE submit all patches to gcc to https://gitlab.alpinelinux.org/kaniini/alpine-gcc-patches,
|
# 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.
|
# so that they can be properly tracked and easily rebased if needed.
|
||||||
source="https://dev.alpinelinux.org/archive/gcc/${_pkgbase%%.*}-${_pkgsnap}/gcc-${_pkgbase%%.*}-${_pkgsnap}.tar.xz
|
source="https://dev.alpinelinux.org/archive/gcc/${_pkgbase%%.*}-$_pkgsnap/gcc-${_pkgbase%%.*}-$_pkgsnap.tar.xz
|
||||||
0001-posix_memalign.patch
|
0001-posix_memalign.patch
|
||||||
0002-gcc-poison-system-directories.patch
|
0002-gcc-poison-system-directories.patch
|
||||||
0003-specs-turn-on-Wl-z-now-by-default.patch
|
0003-specs-turn-on-Wl-z-now-by-default.patch
|
||||||
|
@ -262,7 +262,7 @@ source="https://dev.alpinelinux.org/archive/gcc/${_pkgbase%%.*}-${_pkgsnap}/gcc-
|
||||||
"
|
"
|
||||||
|
|
||||||
# we build out-of-tree
|
# we build out-of-tree
|
||||||
_gccdir="$srcdir"/gcc-${_pkgbase%%.*}-${_pkgsnap}
|
_gccdir="$srcdir"/gcc-${_pkgbase%%.*}-$_pkgsnap
|
||||||
_gcclibdir="/usr/lib/gcc/$CTARGET/${_pkgbase:-$pkgver}"
|
_gcclibdir="/usr/lib/gcc/$CTARGET/${_pkgbase:-$pkgver}"
|
||||||
_gcclibexec="/usr/libexec/gcc/$CTARGET/${_pkgbase:-$pkgver}"
|
_gcclibexec="/usr/libexec/gcc/$CTARGET/${_pkgbase:-$pkgver}"
|
||||||
|
|
||||||
|
@ -366,9 +366,9 @@ build() {
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
--mandir=/usr/share/man
|
--mandir=/usr/share/man
|
||||||
--infodir=/usr/share/info
|
--infodir=/usr/share/info
|
||||||
--build=${CBUILD}
|
--build=$CBUILD
|
||||||
--host=${CHOST}
|
--host=$CHOST
|
||||||
--target=${CTARGET}
|
--target=$CTARGET
|
||||||
--enable-checking=release
|
--enable-checking=release
|
||||||
--disable-fixed-point
|
--disable-fixed-point
|
||||||
--disable-libstdcxx-pch
|
--disable-libstdcxx-pch
|
||||||
|
@ -438,7 +438,7 @@ package() {
|
||||||
-o -name libitm.a -o -name libgo.a -o -name libcaf\*.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 \) \
|
-o -name libatomic.a -o -name libasan.a -o -name libtsan.a \) \
|
||||||
-a -type f \
|
-a -type f \
|
||||||
-exec ${STRIP_FOR_TARGET} -g {} +
|
-exec $STRIP_FOR_TARGET -g {} +
|
||||||
|
|
||||||
if $_libgomp; then
|
if $_libgomp; then
|
||||||
mv "$pkgdir"/usr/lib/libgomp.spec "$pkgdir"/$_gcclibdir
|
mv "$pkgdir"/usr/lib/libgomp.spec "$pkgdir"/$_gcclibdir
|
||||||
|
@ -655,7 +655,6 @@ gdc() {
|
||||||
mv "$pkgdir"/usr/bin/gdc "$subpkgdir"/usr/bin/
|
mv "$pkgdir"/usr/bin/gdc "$subpkgdir"/usr/bin/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
libgo() {
|
libgo() {
|
||||||
pkgdesc="Go runtime library for GCC"
|
pkgdesc="Go runtime library for GCC"
|
||||||
depends=
|
depends=
|
||||||
|
|
|
@ -26,13 +26,13 @@ _cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET"
|
||||||
pkgname=gcc-armv7
|
pkgname=gcc-armv7
|
||||||
_pkgbase=12.2.1 # must match gcc/BASE-VER
|
_pkgbase=12.2.1 # must match gcc/BASE-VER
|
||||||
_pkgsnap=20220924
|
_pkgsnap=20220924
|
||||||
pkgver=${_pkgbase}_git${_pkgsnap}
|
pkgver=${_pkgbase}_git$_pkgsnap
|
||||||
[ "$BOOTSTRAP" = "nolibc" ] && pkgname="gcc-pass2"
|
[ "$BOOTSTRAP" = "nolibc" ] && pkgname="gcc-pass2"
|
||||||
[ "$CBUILD" != "$CHOST" ] && _cross="-$CARCH" || _cross=""
|
[ "$CBUILD" != "$CHOST" ] && _cross="-$CARCH" || _cross=""
|
||||||
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
|
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
|
||||||
|
|
||||||
pkgname=gcc-armv7
|
pkgname=gcc-armv7
|
||||||
pkgrel=6
|
pkgrel=7
|
||||||
pkgdesc="Stage2 cross-compiler for armv7"
|
pkgdesc="Stage2 cross-compiler for armv7"
|
||||||
url="https://gcc.gnu.org"
|
url="https://gcc.gnu.org"
|
||||||
arch="x86_64"
|
arch="x86_64"
|
||||||
|
@ -212,7 +212,7 @@ makedepends="$makedepends_build $makedepends_host"
|
||||||
#
|
#
|
||||||
# PLEASE submit all patches to gcc to https://gitlab.alpinelinux.org/kaniini/alpine-gcc-patches,
|
# 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.
|
# so that they can be properly tracked and easily rebased if needed.
|
||||||
source="https://dev.alpinelinux.org/archive/gcc/${_pkgbase%%.*}-${_pkgsnap}/gcc-${_pkgbase%%.*}-${_pkgsnap}.tar.xz
|
source="https://dev.alpinelinux.org/archive/gcc/${_pkgbase%%.*}-$_pkgsnap/gcc-${_pkgbase%%.*}-$_pkgsnap.tar.xz
|
||||||
0001-posix_memalign.patch
|
0001-posix_memalign.patch
|
||||||
0002-gcc-poison-system-directories.patch
|
0002-gcc-poison-system-directories.patch
|
||||||
0003-specs-turn-on-Wl-z-now-by-default.patch
|
0003-specs-turn-on-Wl-z-now-by-default.patch
|
||||||
|
@ -262,7 +262,7 @@ source="https://dev.alpinelinux.org/archive/gcc/${_pkgbase%%.*}-${_pkgsnap}/gcc-
|
||||||
"
|
"
|
||||||
|
|
||||||
# we build out-of-tree
|
# we build out-of-tree
|
||||||
_gccdir="$srcdir"/gcc-${_pkgbase%%.*}-${_pkgsnap}
|
_gccdir="$srcdir"/gcc-${_pkgbase%%.*}-$_pkgsnap
|
||||||
_gcclibdir="/usr/lib/gcc/$CTARGET/${_pkgbase:-$pkgver}"
|
_gcclibdir="/usr/lib/gcc/$CTARGET/${_pkgbase:-$pkgver}"
|
||||||
_gcclibexec="/usr/libexec/gcc/$CTARGET/${_pkgbase:-$pkgver}"
|
_gcclibexec="/usr/libexec/gcc/$CTARGET/${_pkgbase:-$pkgver}"
|
||||||
|
|
||||||
|
@ -366,9 +366,9 @@ build() {
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
--mandir=/usr/share/man
|
--mandir=/usr/share/man
|
||||||
--infodir=/usr/share/info
|
--infodir=/usr/share/info
|
||||||
--build=${CBUILD}
|
--build=$CBUILD
|
||||||
--host=${CHOST}
|
--host=$CHOST
|
||||||
--target=${CTARGET}
|
--target=$CTARGET
|
||||||
--enable-checking=release
|
--enable-checking=release
|
||||||
--disable-fixed-point
|
--disable-fixed-point
|
||||||
--disable-libstdcxx-pch
|
--disable-libstdcxx-pch
|
||||||
|
@ -438,7 +438,7 @@ package() {
|
||||||
-o -name libitm.a -o -name libgo.a -o -name libcaf\*.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 \) \
|
-o -name libatomic.a -o -name libasan.a -o -name libtsan.a \) \
|
||||||
-a -type f \
|
-a -type f \
|
||||||
-exec ${STRIP_FOR_TARGET} -g {} +
|
-exec $STRIP_FOR_TARGET -g {} +
|
||||||
|
|
||||||
if $_libgomp; then
|
if $_libgomp; then
|
||||||
mv "$pkgdir"/usr/lib/libgomp.spec "$pkgdir"/$_gcclibdir
|
mv "$pkgdir"/usr/lib/libgomp.spec "$pkgdir"/$_gcclibdir
|
||||||
|
@ -655,7 +655,6 @@ gdc() {
|
||||||
mv "$pkgdir"/usr/bin/gdc "$subpkgdir"/usr/bin/
|
mv "$pkgdir"/usr/bin/gdc "$subpkgdir"/usr/bin/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
libgo() {
|
libgo() {
|
||||||
pkgdesc="Go runtime library for GCC"
|
pkgdesc="Go runtime library for GCC"
|
||||||
depends=
|
depends=
|
||||||
|
|
|
@ -26,13 +26,13 @@ _cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET"
|
||||||
pkgname=gcc-riscv64
|
pkgname=gcc-riscv64
|
||||||
_pkgbase=12.2.1 # must match gcc/BASE-VER
|
_pkgbase=12.2.1 # must match gcc/BASE-VER
|
||||||
_pkgsnap=20220924
|
_pkgsnap=20220924
|
||||||
pkgver=${_pkgbase}_git${_pkgsnap}
|
pkgver=${_pkgbase}_git$_pkgsnap
|
||||||
[ "$BOOTSTRAP" = "nolibc" ] && pkgname="gcc-pass2"
|
[ "$BOOTSTRAP" = "nolibc" ] && pkgname="gcc-pass2"
|
||||||
[ "$CBUILD" != "$CHOST" ] && _cross="-$CARCH" || _cross=""
|
[ "$CBUILD" != "$CHOST" ] && _cross="-$CARCH" || _cross=""
|
||||||
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
|
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
|
||||||
|
|
||||||
pkgname=gcc-riscv64
|
pkgname=gcc-riscv64
|
||||||
pkgrel=6
|
pkgrel=7
|
||||||
pkgdesc="Stage2 cross-compiler for riscv64"
|
pkgdesc="Stage2 cross-compiler for riscv64"
|
||||||
url="https://gcc.gnu.org"
|
url="https://gcc.gnu.org"
|
||||||
arch="x86_64"
|
arch="x86_64"
|
||||||
|
@ -212,7 +212,7 @@ makedepends="$makedepends_build $makedepends_host"
|
||||||
#
|
#
|
||||||
# PLEASE submit all patches to gcc to https://gitlab.alpinelinux.org/kaniini/alpine-gcc-patches,
|
# 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.
|
# so that they can be properly tracked and easily rebased if needed.
|
||||||
source="https://dev.alpinelinux.org/archive/gcc/${_pkgbase%%.*}-${_pkgsnap}/gcc-${_pkgbase%%.*}-${_pkgsnap}.tar.xz
|
source="https://dev.alpinelinux.org/archive/gcc/${_pkgbase%%.*}-$_pkgsnap/gcc-${_pkgbase%%.*}-$_pkgsnap.tar.xz
|
||||||
0001-posix_memalign.patch
|
0001-posix_memalign.patch
|
||||||
0002-gcc-poison-system-directories.patch
|
0002-gcc-poison-system-directories.patch
|
||||||
0003-specs-turn-on-Wl-z-now-by-default.patch
|
0003-specs-turn-on-Wl-z-now-by-default.patch
|
||||||
|
@ -262,7 +262,7 @@ source="https://dev.alpinelinux.org/archive/gcc/${_pkgbase%%.*}-${_pkgsnap}/gcc-
|
||||||
"
|
"
|
||||||
|
|
||||||
# we build out-of-tree
|
# we build out-of-tree
|
||||||
_gccdir="$srcdir"/gcc-${_pkgbase%%.*}-${_pkgsnap}
|
_gccdir="$srcdir"/gcc-${_pkgbase%%.*}-$_pkgsnap
|
||||||
_gcclibdir="/usr/lib/gcc/$CTARGET/${_pkgbase:-$pkgver}"
|
_gcclibdir="/usr/lib/gcc/$CTARGET/${_pkgbase:-$pkgver}"
|
||||||
_gcclibexec="/usr/libexec/gcc/$CTARGET/${_pkgbase:-$pkgver}"
|
_gcclibexec="/usr/libexec/gcc/$CTARGET/${_pkgbase:-$pkgver}"
|
||||||
|
|
||||||
|
@ -366,9 +366,9 @@ build() {
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
--mandir=/usr/share/man
|
--mandir=/usr/share/man
|
||||||
--infodir=/usr/share/info
|
--infodir=/usr/share/info
|
||||||
--build=${CBUILD}
|
--build=$CBUILD
|
||||||
--host=${CHOST}
|
--host=$CHOST
|
||||||
--target=${CTARGET}
|
--target=$CTARGET
|
||||||
--enable-checking=release
|
--enable-checking=release
|
||||||
--disable-fixed-point
|
--disable-fixed-point
|
||||||
--disable-libstdcxx-pch
|
--disable-libstdcxx-pch
|
||||||
|
@ -438,7 +438,7 @@ package() {
|
||||||
-o -name libitm.a -o -name libgo.a -o -name libcaf\*.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 \) \
|
-o -name libatomic.a -o -name libasan.a -o -name libtsan.a \) \
|
||||||
-a -type f \
|
-a -type f \
|
||||||
-exec ${STRIP_FOR_TARGET} -g {} +
|
-exec $STRIP_FOR_TARGET -g {} +
|
||||||
|
|
||||||
if $_libgomp; then
|
if $_libgomp; then
|
||||||
mv "$pkgdir"/usr/lib/libgomp.spec "$pkgdir"/$_gcclibdir
|
mv "$pkgdir"/usr/lib/libgomp.spec "$pkgdir"/$_gcclibdir
|
||||||
|
@ -655,7 +655,6 @@ gdc() {
|
||||||
mv "$pkgdir"/usr/bin/gdc "$subpkgdir"/usr/bin/
|
mv "$pkgdir"/usr/bin/gdc "$subpkgdir"/usr/bin/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
libgo() {
|
libgo() {
|
||||||
pkgdesc="Go runtime library for GCC"
|
pkgdesc="Go runtime library for GCC"
|
||||||
depends=
|
depends=
|
||||||
|
|
Loading…
Reference in a new issue