FreeBSD Bugzilla – Attachment 244182 Details for
Bug 273194
devel/aarch64-none-elf-gcc: Work around aarch64 extraction bug
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Work around aarch64 extraction bug
aarch64-none-elf-gcc.patch (text/plain), 837 bytes, created by
Jose Luis Duran
on 2023-08-18 03:43:56 UTC
(
hide
)
Description:
Work around aarch64 extraction bug
Filename:
MIME Type:
Creator:
Jose Luis Duran
Created:
2023-08-18 03:43:56 UTC
Size:
837 bytes
patch
obsolete
>diff --git Makefile Makefile >index 7e5308d..f1d9fda 100644 >--- Makefile >+++ Makefile >@@ -1,6 +1,6 @@ > PORTNAME= gcc > PORTVERSION?= 11.3.0 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= devel > MASTER_SITES= GCC > PKGNAMEPREFIX?= aarch64-none-elf- >@@ -53,6 +53,15 @@ INSTALL_TARGET= install-gcc install-target-libgcc > > .include <bsd.port.pre.mk> > >+# Extraction fails with poudriere on aarch64 for GCC 11. >+# It seems that the bug is specific to lang/gcc11 and lang/gcc12 only. >+# No other GCC port is affected. >+# See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271052 >+# and https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246670 >+.if ${ARCH} == aarch64 >+EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar >+.endif >+ > post-patch: > @${REINPLACE_CMD} -e '/LIBSTDCXX/ s/stdc\+\+/c\+\+/g ' \ > ${WRKSRC}//gcc/cp/g++spec.c
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 273194
: 244182