From: unspecd <unspecd@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] cross-arm-none-eabi*: update to 12.2.0
Date: Tue, 20 Dec 2022 07:03:24 +0100 [thread overview]
Message-ID: <20221220060324.WC8CzXbtckQp0Cxs9Sn7BcoFA2HhK9L0ir9PoSyaDg0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41186@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1547 bytes --]
There is an updated pull request by unspecd against master on the void-packages repository
https://github.com/unspecd/void-packages pkg/cross-arm-none-eabi
https://github.com/void-linux/void-packages/pull/41186
cross-arm-none-eabi*: update to 12.2.0
Replaces #37580.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
I tested this with my own STM32 project written in both C and C++.
---
Also:
1. clean up hostmakedepends,
2. `mudflap` was removed in GCC 4.9: https://gcc.gnu.org/wiki/Mudflap_Pointer_Debugging (commit [98906124](https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=98906124e3aa4cb17695d900fe19498e5bde63e4))
A patch file from https://github.com/void-linux/void-packages/pull/41186.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pkg/cross-arm-none-eabi-41186.patch --]
[-- Type: text/x-diff, Size: 7094 bytes --]
From 6e96e3098b6e803f12f345f356903dc30844b8d5 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Sun, 6 Mar 2022 17:51:57 +1100
Subject: [PATCH 1/4] cross-arm-none-eabi-binutils: update to 2.39.
---
srcpkgs/cross-arm-none-eabi-binutils/template | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/cross-arm-none-eabi-binutils/template b/srcpkgs/cross-arm-none-eabi-binutils/template
index e0d79038c569..8226e4d1acb3 100644
--- a/srcpkgs/cross-arm-none-eabi-binutils/template
+++ b/srcpkgs/cross-arm-none-eabi-binutils/template
@@ -2,8 +2,8 @@
_triplet=arm-none-eabi
_pkgname=binutils
pkgname=cross-${_triplet}-${_pkgname}
-version=2.32
-revision=2
+version=2.39
+revision=1
build_style=gnu-configure
configure_args="
--disable-nls
@@ -21,17 +21,19 @@ configure_args="
--with-system-zlib
--without-isl
"
-hostmakedepends="autoconf automake bison flex perl"
+hostmakedepends="automake bison flex perl texinfo"
makedepends="zlib-devel"
depends="binutils-doc"
short_desc="GNU binary utilities"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
-homepage="https://www.gnu.org/software/${_pkgname}/"
+homepage="https://www.gnu.org/software/binutils/"
distfiles="${GNU_SITE}/${_pkgname}/${_pkgname}-${version}.tar.xz"
-checksum=0ab6c55dd86a92ed561972ba15b9b70a8b9f75557f896446c82e8b36e473ee04
+checksum=645c25f563b8adc0a81dbd6a41cffbf4d37083a382e02d5d3df4f65c09516d00
nocross=yes
post_install() {
rm -fr ${DESTDIR}/usr/share/info
+ # Remove libdep linker plugin because it conflicts with system binutils
+ rm -f ${DESTDIR}/usr/lib/bfd-plugins/libdep*
}
From 7f3c2c0d917127ec3bc284cb1b0c05dbfbe9d70d Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Mon, 19 Dec 2022 04:00:36 +1100
Subject: [PATCH 2/4] cross-arm-none-eabi-gcc: update to 12.2.0.
---
srcpkgs/cross-arm-none-eabi-gcc/template | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/cross-arm-none-eabi-gcc/template b/srcpkgs/cross-arm-none-eabi-gcc/template
index 39eff2cf7d3c..8ec65cce015a 100644
--- a/srcpkgs/cross-arm-none-eabi-gcc/template
+++ b/srcpkgs/cross-arm-none-eabi-gcc/template
@@ -2,21 +2,21 @@
_triplet=arm-none-eabi
_pkgname=gcc
pkgname=cross-${_triplet}-gcc
-version=9.3.0
+version=12.2.0
revision=1
build_wrksrc=build
build_style=gnu-configure
make_build_args="INHIBIT_LIBC_CFLAGS='-DUSE_TM_CLONE_REGISTRY=0'"
-hostmakedepends="autoconf automake cross-arm-none-eabi-binutils bison flex
- perl tar texinfo"
-makedepends="gmp-devel isl15-devel libmpc-devel mpfr-devel zlib-devel"
+hostmakedepends="automake cross-arm-none-eabi-binutils bison flex perl tar texinfo"
+makedepends="gmp-devel isl-devel libmpc-devel libzstd-devel mpfr-devel zlib-devel"
depends="cross-arm-none-eabi-binutils"
+checkdepends="dejagnu"
short_desc="GNU Compiler Collection"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GFDL-1.2-or-later, GPL-3.0-or-later, LGPL-2.1-or-later"
homepage="https://gcc.gnu.org"
distfiles="${GNU_SITE}/gcc/gcc-${version}/gcc-${version}.tar.xz"
-checksum=71e197867611f6054aa1119b13a0c0abac12834765fe2d81f35ac57f84f742d1
+checksum=e549cf9cf3594a00e27b6589d4322d70e0720cdd213f39beb4181e06926230ff
alternatives="arm-none-eabi:/usr/bin/arm-none-eabi-cc:/usr/bin/arm-none-eabi-gcc"
nocross=yes
nopie=yes
@@ -34,9 +34,9 @@ pre_configure() {
do_configure() {
../configure \
--disable-decimal-float \
+ --disable-gcov \
--disable-libffi \
--disable-libgomp \
- --disable-libmudflap \
--disable-libquadmath \
--disable-libssp \
--disable-libstdcxx-pch \
From c57b72e652462260f474371a1031da2b161fb6b8 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Sun, 6 Mar 2022 17:52:09 +1100
Subject: [PATCH 3/4] cross-arm-none-eabi-newlib: update to 4.2.0.20211231.
---
srcpkgs/cross-arm-none-eabi-newlib/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/cross-arm-none-eabi-newlib/template b/srcpkgs/cross-arm-none-eabi-newlib/template
index 6ea74e37f42a..e3fb129ac2e7 100644
--- a/srcpkgs/cross-arm-none-eabi-newlib/template
+++ b/srcpkgs/cross-arm-none-eabi-newlib/template
@@ -2,8 +2,8 @@
_triplet=arm-none-eabi
_pkgname=newlib
pkgname=cross-${_triplet}-${_pkgname}
-version=3.1.0.20181231
-revision=3
+version=4.2.0.20211231
+revision=1
build_style=gnu-configure
configure_args="
--prefix=/usr --target=${_triplet} --host=${XBPS_CROSS_TRIPLET}
@@ -16,7 +16,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://www.sourceware.org/newlib/"
distfiles="ftp://sourceware.org/pub/newlib/newlib-${version}.tar.gz"
-checksum=9e12fea7297648b114434033ed4458755afe7b9b6c7d58123389e82bd37681c0
+checksum=c3a0e8b63bc3bef1aeee4ca3906b53b3b86c8d139867607369cb2915ffc54435
nostrip=yes
post_extract() {
From 91f612d3e8980e3574e601ac321a1aa9ad2cf4e6 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Tue, 20 Dec 2022 00:56:28 +1100
Subject: [PATCH 4/4] cross-arm-none-eabi-libstdc++: update to 12.2.0.
---
srcpkgs/cross-arm-none-eabi-libstdc++/template | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/cross-arm-none-eabi-libstdc++/template b/srcpkgs/cross-arm-none-eabi-libstdc++/template
index 00f7832dad03..65a5887ad78d 100644
--- a/srcpkgs/cross-arm-none-eabi-libstdc++/template
+++ b/srcpkgs/cross-arm-none-eabi-libstdc++/template
@@ -1,8 +1,8 @@
# Template file for 'cross-${_triplet}-libstdc++'
_triplet=arm-none-eabi
pkgname=cross-${_triplet}-libstdc++
-version=9.3.0
-revision=2
+version=12.2.0
+revision=1
# gnu-configure implicitly passes stuff we don't want
build_style=configure
configure_args="
@@ -13,7 +13,7 @@ configure_args="
--with-gnu-ld --with-gxx-include-dir=/usr/${_triplet}/include/c++/${version}
--with-newlib --with-python-dir=share/gcc-${_triplet}"
make_build_args="INHIBIT_LIBC_CFLAGS='-DUSE_TM_CLONE_REGISTRY=0'"
-hostmakedepends="autoconf automake cross-arm-none-eabi-binutils
+hostmakedepends="automake cross-arm-none-eabi-binutils
cross-arm-none-eabi-gcc cross-arm-none-eabi-newlib bison flex perl"
makedepends="gmp-devel isl15-devel libmpc-devel mpfr-devel zlib-devel"
depends="cross-arm-none-eabi-gcc"
@@ -22,11 +22,17 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://gcc.gnu.org"
distfiles="${GNU_SITE}/gcc/gcc-${version}/gcc-${version}.tar.xz"
-checksum=71e197867611f6054aa1119b13a0c0abac12834765fe2d81f35ac57f84f742d1
+checksum=e549cf9cf3594a00e27b6589d4322d70e0720cdd213f39beb4181e06926230ff
nocross=yes
nopie=yes
nostrip=yes
+# Workaround for GCC 12, see
+# - https://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg165240.html
+# - https://lists.yoctoproject.org/g/meta-arm/message/3469
+# - https://bugzilla.yoctoproject.org/show_bug.cgi?id=14803
+configure_args+=" ac_cv_func_fcntl=no ac_cv_func_getexecname=no"
+
post_extract() {
mkdir -p build-{regular,nano}
}
next prev parent reply other threads:[~2022-12-20 6:03 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-19 16:36 [PR PATCH] " unspecd
2022-12-19 16:39 ` [PR PATCH] [Updated] " unspecd
2022-12-20 6:03 ` unspecd [this message]
2022-12-21 16:55 ` unspecd
2022-12-24 0:48 ` maybe-one-day-ubermensch
2022-12-25 19:25 ` [PR PATCH] [Updated] " unspecd
2022-12-25 19:33 ` unspecd
2023-03-26 1:57 ` github-actions
2023-03-26 17:01 ` mhmdanas
2023-06-25 2:12 ` github-actions
2023-07-10 2:08 ` [PR PATCH] [Closed]: " github-actions
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221220060324.WC8CzXbtckQp0Cxs9Sn7BcoFA2HhK9L0ir9PoSyaDg0@z \
--to=unspecd@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).