Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 741654 Details for
Bug 803371
=sys-devel/gcc-11.1.0-r2 fails to cross compile into rootfs
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PATCH] sys-devel/gcc: regression: fenv_t not declared
0001-sys-devel-gcc-regression-fenv_t-not-declared.patch (text/plain), 2.31 KB, created by
Nikita Shubin
on 2021-09-27 08:51:27 UTC
(
hide
)
Description:
[PATCH] sys-devel/gcc: regression: fenv_t not declared
Filename:
MIME Type:
Creator:
Nikita Shubin
Created:
2021-09-27 08:51:27 UTC
Size:
2.31 KB
patch
obsolete
>From 4e1d9c53c815e18cba71d3301ae0e78ea4ae1954 Mon Sep 17 00:00:00 2001 >From: Nikita Shubin <n.shubin@yadro.com> >Date: Thu, 2 Sep 2021 08:41:09 +0000 >Subject: [PATCH] sys-devel/gcc: regression: fenv_t not declared > >https://gcc.gnu.org/bugzilla//show_bug.cgi?id=80196 > >Signed-off-by: Nikita Shubin <n.shubin@yadro.com> >--- > sys-devel/gcc/files/gcc-fix-stdinc.patch | 26 ++++++++++++++++++++++++ > sys-devel/gcc/gcc-11.2.0-r1.ebuild | 18 ++++++++++++++++ > 2 files changed, 44 insertions(+) > create mode 100644 sys-devel/gcc/files/gcc-fix-stdinc.patch > create mode 100644 sys-devel/gcc/gcc-11.2.0-r1.ebuild > >diff --git a/sys-devel/gcc/files/gcc-fix-stdinc.patch b/sys-devel/gcc/files/gcc-fix-stdinc.patch >new file mode 100644 >index 000000000..f1ec338e2 >--- /dev/null >+++ b/sys-devel/gcc/files/gcc-fix-stdinc.patch >@@ -0,0 +1,26 @@ >+diff --git a/configure b/configure >+index 6157a8c87fb..2a4a05b4edf 100755 >+--- a/configure >++++ b/configure >+@@ -16653,7 +16653,7 @@ else >+ fi >+ >+ >+-RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET" >++RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET -nostdinc++" >+ >+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ar" >&5 >+ $as_echo_n "checking where to find the target ar... " >&6; } >+diff --git a/configure.ac b/configure.ac >+index 2ff48941754..01ecc8c42d9 100644 >+--- a/configure.ac >++++ b/configure.ac >+@@ -3515,7 +3515,7 @@ ACX_CHECK_INSTALLED_TARGET_TOOL(STRIP_FOR_TARGET, strip) >+ ACX_CHECK_INSTALLED_TARGET_TOOL(WINDRES_FOR_TARGET, windres) >+ ACX_CHECK_INSTALLED_TARGET_TOOL(WINDMC_FOR_TARGET, windmc) >+ >+-RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET" >++RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET -nostdinc++" >+ >+ GCC_TARGET_TOOL(ar, AR_FOR_TARGET, AR, [binutils/ar]) >+ GCC_TARGET_TOOL(as, AS_FOR_TARGET, AS, [gas/as-new]) >diff --git a/sys-devel/gcc/gcc-11.2.0-r1.ebuild b/sys-devel/gcc/gcc-11.2.0-r1.ebuild >new file mode 100644 >index 000000000..6c444b931 >--- /dev/null >+++ b/sys-devel/gcc/gcc-11.2.0-r1.ebuild >@@ -0,0 +1,18 @@ >+# Copyright 1999-2021 Gentoo Authors >+# Distributed under the terms of the GNU General Public License v2 >+ >+EAPI="7" >+ >+PATCH_VER="1" >+ >+inherit toolchain >+ >+src_prepare() { >+ toolchain_src_prepare >+ eapply "${FILESDIR}/${PN}-fix-stdinc.patch" >+} >+ >+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" >+ >+RDEPEND="" >+BDEPEND="${CATEGORY}/binutils" >-- >2.30.2 >
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 803371
:
725785
|
725788
|
725791
|
725794
| 741654