When configuring: checking for long long... yes checking size of long long... configure: error: in `/var/tmp/portage/sys-devel/gcc-11.3.0/work/build-jit/gcc': configure: error: cannot compute sizeof (long long) See `config.log' for more details make[1]: *** [Makefile:4366: configure-gcc] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-devel/gcc-11.3.0/work/build-jit' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/var/tmp/portage/sys-devel/gcc-11.3.0/work/build-jit' From build-jit/gcc/config.log, it seems somehow CFLAGS includes '-Wl,-Wl,--as-needed' instead of '-Wl,--as-needed', causing conftest failed to build Reproducible: Always Steps to Reproduce: 1. emerge --ask --oneshot 'sys-devel/gcc' Portage 3.0.30 (python 3.9.12-final-0, default/linux/amd64/17.1, gcc-11.2.0, glibc-2.34-r13, 5.17.0-pf3-Satori x86_64) ================================================================= System uname: Linux-5.17.0-pf3-Satori-x86_64-AMD_Ryzen_9_5900X_12-Core_Processor-with-glibc2.34 KiB Mem: 65845236 total, 17982868 free KiB Swap: 12444992 total, 12444992 free Timestamp of repository gentoo: Sat, 04 Jun 2022 22:15:01 +0000 Head commit of repository gentoo: 2cad617bd9e6a1157bd91758074751239caf199b Timestamp of repository Miezhiko: Fri, 03 Jun 2022 07:47:52 +0000 Head commit of repository Miezhiko: 30c52a76bcf4b9c9ed161cf323bfc68ab8e88b34 Timestamp of repository audio-overlay: Tue, 17 May 2022 03:23:25 +0000 Head commit of repository audio-overlay: 037a2091df772ed2228184307350fe68447f6fcd Timestamp of repository gentoo-zh: Sat, 04 Jun 2022 12:17:50 +0000 Head commit of repository gentoo-zh: 796f40cd8c9d7d8c017d60e514eca34b747dba0a Timestamp of repository guru: Fri, 03 Jun 2022 11:02:53 +0000 Head commit of repository guru: 91e60ac4f812b34ec1a394f7b38a255e3dcd9a6e Timestamp of repository lto-overlay: Tue, 17 May 2022 03:23:25 +0000 Head commit of repository lto-overlay: 65c3148717cf69cd92c1609bbd2bca18aa35efe1 Timestamp of repository mv: Sat, 04 Jun 2022 13:17:50 +0000 Head commit of repository mv: 9d7512fb0e21c50815834cbc446cc48c935a0f39 Timestamp of repository pentoo: Thu, 02 Jun 2022 01:03:37 +0000 Head commit of repository pentoo: a28c5f662a39b674530ffcb4cc17b807ddd04087 Timestamp of repository pf4public: Fri, 03 Jun 2022 06:32:51 +0000 Head commit of repository pf4public: edbea18a162653954eda58c9029d88c7d32b68ec Timestamp of repository steam-overlay: Sun, 22 May 2022 13:08:27 +0000 Head commit of repository steam-overlay: ee8335c18481d2f553de3f4ee3320d76cc8905fb Timestamp of repository stefantalpalaru: Sat, 04 Jun 2022 12:17:50 +0000 Head commit of repository stefantalpalaru: 4e81201169c6ab02cab84293253d44b8ef28414a Timestamp of repository vapoursynth: Wed, 01 Jun 2022 23:18:36 +0000 Head commit of repository vapoursynth: 65d1dba8dce3c5249d83bc30174b108a549cc984 Timestamp of repository wine: Fri, 20 May 2022 01:17:57 +0000 Head commit of repository wine: af9b43c4ea35d5d1b14a11723ac4e85f7c80f9b9 sh dash 0.5.11.5 ld GNU ld (Gentoo 2.37_p1 p2) 2.37 ccache version 4.5.1 [disabled] app-misc/pax-utils: 1.3.3::gentoo app-shells/bash: 5.1_p16::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.0-r9::gentoo dev-lang/python: 3.9.12::gentoo dev-lang/rust: 1.59.0::gentoo dev-util/ccache: 4.5.1::gentoo dev-util/cmake: 3.22.4::gentoo dev-util/meson: 0.61.4-r2::gentoo sys-apps/baselayout: 2.8::gentoo sys-apps/openrc: 0.44.10::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.71-r1::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.37_p1-r2::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/clang: 13.0.1::gentoo sys-devel/gcc: 11.2.0::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/lld: 13.0.1::gentoo sys-devel/llvm: 13.0.1::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.18::gentoo (virtual/os-headers) sys-libs/glibc: 2.34-r13::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://mirrors.tuna.tsinghua.edu.cn/gentoo-portage priority: -1000 sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes Miezhiko location: /var/db/repos/Miezhiko sync-type: git sync-uri: https://github.com/gentoo-mirror/Miezhiko.git masters: gentoo audio-overlay location: /var/db/repos/audio-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/audio-overlay.git masters: gentoo gentoo-zh location: /var/db/repos/gentoo-zh sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo-zh.git masters: gentoo guru location: /var/db/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo lto-overlay location: /var/db/repos/lto-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/lto-overlay.git masters: gentoo mv mv location: /var/db/repos/mv sync-type: git sync-uri: https://github.com/gentoo-mirror/mv.git masters: gentoo pentoo location: /var/db/repos/pentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/pentoo.git masters: gentoo pf4public location: /var/db/repos/pf4public sync-type: git sync-uri: https://github.com/gentoo-mirror/pf4public.git masters: gentoo steam-overlay location: /var/db/repos/steam-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/steam-overlay.git masters: gentoo stefantalpalaru location: /var/db/repos/stefantalpalaru sync-type: git sync-uri: https://github.com/gentoo-mirror/stefantalpalaru.git masters: gentoo vapoursynth location: /var/db/repos/vapoursynth sync-type: git sync-uri: https://github.com/gentoo-mirror/vapoursynth.git masters: gentoo wine location: /var/db/repos/wine sync-type: git sync-uri: https://github.com/gentoo-mirror/wine.git masters: gentoo crossdev location: /var/db/repos/localrepo-crossdev masters: gentoo priority: 10 localrepo location: /var/db/repos/localrepo masters: gentoo priority: 10 Installed sets: @extern-deps ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/vmware-installer" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--jobs=3 --load-average=24.0 --ask-enter-invalid" ENV_UNSET="CARGO_HOME CARGO_TARGET_DIR DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-march=native -O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live buildsyspkg cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=native -O2 -pipe" GENTOO_MIRRORS="https://mirrors.tuna.tsinghua.edu.cn/gentoo" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="--jobs=24 --load-average=24.0" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" SHELL="/bin/zsh" USE="X acl alsa amd64 bzip2 cairo cdda cli crypt cuda dri dvd eselect-ldso fontconfig fortran gdbm gif iconv ipv6 jack jpeg lcms libglvnd libtirpc multilib ncurses nls nptl openmp pam pcre png readline seccomp split-usr ssl unicode vaapi vdpau vim-syntax vulkan webp xattr zlib zsh-completion" ABI_X86="64" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput wacom joystick" KERNEL="linux" L10N="en zh zh-CN" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Created attachment 782813 [details] build logs
Created attachment 782816 [details] /var/tmp/portage/sys-devel/gcc-11.3.0/work/build-jit/gcc/config.log
I'd appreciate it if you could try to find out what makes your setup so interesting. I'm guessing it's related to the fun bashrc stuff you're using.
To workaround this, don't include LDFLAGS in CFLAGS. Believe identified the cause when using e.g.: CXXFLAGS="-march=native -O2 -Wl,-O1 -Wl,--as-needed" USE=jit From gcc/configure.ac#L442-448's: ># Remove the -O2: for historical reasons, unless bootstrapping we prefer ># optimizations to be activated explicitly by the toplevel. >case "$CC" in > */prev-gcc/xgcc*) ;; > *) CFLAGS=`echo "$CFLAGS " | sed -e "s/-Ofast[[ ]]//" -e "s/-O[[gs]][[ ]]//" -e "s/-O[[0-9]]*[[ ]]// > CXXFLAGS=`echo "$CXXFLAGS " | sed -e "s/-Ofast[[ ]]//" -e "s/-O[[gs]][[ ]]//" -e "s/-O[[0-9]]*[[ ]]// >esac aka its -e "s/-O[[0-9]]*[[ ]]// eclass' new jit build disables bootstrapping, so would explain why this is now activated, and then CXXFLAGS being mangled to -Wl,-Wl,--as-needed seems to cause this (somehow).
Can't recommend putting flags in the wrong variables, but the mangling is still real.
(In reply to Ionen Wolkens from comment #5) > Can't recommend putting flags in the wrong variables, but the mangling is > still real. Oh and in case unclear to anyone not familiar with it, this was automatically added by your bashrc-mv rather than the make.conf.
Thanks for your help! Definitely haven't thought of a 3-year-old issue[1] caught me here. [1]: https://github.com/vaeth/portage-bashrc-mv/issues/11
The sed expression is too simple, I'm using "s/\(^\|[ ]\)-O[0-9]*[ ]/\1/" instead, at least it doesn't break the common pattern of passing "-Wl,-O1" to get linker optimization. Also reported in lto-overlay repo: https://github.com/InBetweenNames/gentooLTO/issues/846
(In reply to Boris Carvajal from comment #8) > The sed expression is too simple, I'm using "s/\(^\|[ ]\)-O[0-9]*[ ]/\1/" > instead, at least it doesn't break the common pattern of passing "-Wl,-O1" > to get linker optimization. > > Also reported in lto-overlay repo: > https://github.com/InBetweenNames/gentooLTO/issues/846 It is indeed too simple, but the whole thing is kind of pointless here anyway. In Gentoo, we assume LDFLAGS are used for passing flags to the linker. You can technically put all sorts in "CFLAGS" like -Wl,... -Wp,... -Wa,..., but we try to use LDFLAGS, CPPFLAGS, and ASFLAGS respectively for those. If an ebuild isn't respecting those, it's a bug, and it should be reported. And in most cases it can (and is) detected anyway. Stuffing the flags into CFLAGS isn't actually achieving anything here.
(In reply to Sam James from comment #9) > (In reply to Boris Carvajal from comment #8) > > The sed expression is too simple, I'm using "s/\(^\|[ ]\)-O[0-9]*[ ]/\1/" > > instead, at least it doesn't break the common pattern of passing "-Wl,-O1" > > to get linker optimization. > > > > Also reported in lto-overlay repo: > > https://github.com/InBetweenNames/gentooLTO/issues/846 > > It is indeed too simple, but the whole thing is kind of pointless here > anyway. i.e. -Wl,-O1 is already respected anyway, but stuffing it into CFLAGS just trips a GCC assumption. It's a valid bug, but not a particularly important one, or one that'll hit many users at all, because very few stuff LDFLAGS into CFLAGS, because they don't need to. But it is a real bug and it should be reported to GCC. It's valid to put all of these things into CFLAGS, but some things may not function correctly if you do, and they should be reported.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a77ef2492f01ef479bada91fa2ccd6a50b2dcc95 commit a77ef2492f01ef479bada91fa2ccd6a50b2dcc95 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-26 04:04:11 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-26 04:04:11 +0000 sys-devel/gcc: drop broken sed CFLAGS mangling We already do filtering as needed and this only triggers on the JIT run anyway. Bug: https://bugs.gentoo.org/849722 Signed-off-by: Sam James <sam@gentoo.org> sys-devel/gcc/Manifest | 1 + sys-devel/gcc/gcc-12.1.1_p20220625.ebuild | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=1acb0022d8e6578a26985b0016757581e43af072 commit 1acb0022d8e6578a26985b0016757581e43af072 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-26 04:00:41 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-26 04:00:41 +0000 12.1.0: add 28_all_drop_CFLAGS_sed.patch Bug: https://bugs.gentoo.org/849722 Signed-off-by: Sam James <sam@gentoo.org> ...n-objdump.patch => 27_all_plugin-objdump.patch} | 0 12.1.0/gentoo/28_all_drop_CFLAGS_sed.patch | 35 ++++++++++++++++++++++ 12.1.0/gentoo/README.history | 4 +++ 3 files changed, 39 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=066517adc2e7fe3650ab4bf09cc27777f1866ac2 commit 066517adc2e7fe3650ab4bf09cc27777f1866ac2 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-08-22 02:13:33 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-08-22 02:14:12 +0000 11.4.0: add 28_all_drop_CFLAGS_sed.patch Previously was just for 12. Bug: https://bugs.gentoo.org/849722 Signed-off-by: Sam James <sam@gentoo.org> 11.4.0/gentoo/28_all_drop_CFLAGS_sed.patch | 35 ++++++++++++++++++++++++++++++ 11.4.0/gentoo/README.history | 3 +++ 2 files changed, 38 insertions(+) https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=5214684ada542a7615215a731f2912b258f4824d commit 5214684ada542a7615215a731f2912b258f4824d Author: Sam James <sam@gentoo.org> AuthorDate: 2022-08-22 02:07:36 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-08-22 02:14:11 +0000 11.3.0: add 28_all_drop_CFLAGS_sed.patch Previously was just for 12. Bug: https://bugs.gentoo.org/849722 Signed-off-by: Sam James <sam@gentoo.org> 11.3.0/gentoo/28_all_drop_CFLAGS_sed.patch | 35 ++++++++++++++++++++++++++++++ 11.3.0/gentoo/README.history | 3 +++ 2 files changed, 38 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e6fce2e543674c1b1bf8afde2eb803cd7551be5 commit 7e6fce2e543674c1b1bf8afde2eb803cd7551be5 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-08-22 02:35:21 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-08-22 02:35:21 +0000 sys-devel/gcc: fix problematic FLAGS mangling in 10.* too Bug: https://bugs.gentoo.org/849722 See: a77ef2492f01ef479bada91fa2ccd6a50b2dcc95 Signed-off-by: Sam James <sam@gentoo.org> sys-devel/gcc/Manifest | 5 +++-- sys-devel/gcc/gcc-10.4.0.ebuild | 2 +- sys-devel/gcc/gcc-10.4.1_p20220811.ebuild | 6 +++--- sys-devel/gcc/gcc-10.4.1_p20220818.ebuild | 6 +++--- 4 files changed, 10 insertions(+), 9 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd844ccd78060a047e8f7c6052df1ec4872ca44c commit dd844ccd78060a047e8f7c6052df1ec4872ca44c Author: Sam James <sam@gentoo.org> AuthorDate: 2022-08-22 02:11:12 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-08-22 02:20:06 +0000 sys-devel/gcc: fix problematic FLAGS mangling in 11.* too Bug: https://bugs.gentoo.org/849722 See: a77ef2492f01ef479bada91fa2ccd6a50b2dcc95 Signed-off-by: Sam James <sam@gentoo.org> sys-devel/gcc/Manifest | 4 ++-- sys-devel/gcc/gcc-11.3.0.ebuild | 2 +- sys-devel/gcc/gcc-11.3.1_p20220812.ebuild | 2 +- sys-devel/gcc/gcc-11.3.1_p20220819.ebuild | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=20b8e7fec339997398bc6881b30b9cf01cc9f0b1 commit 20b8e7fec339997398bc6881b30b9cf01cc9f0b1 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-08-22 02:27:23 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-08-22 02:37:04 +0000 10.5.0: add 34_all_drop_CFLAGS_sed.patch Previously was just for 12. Bug: https://bugs.gentoo.org/849722 Signed-off-by: Sam James <sam@gentoo.org> 10.5.0/gentoo/34_all_drop_CFLAGS_sed.patch | 35 ++++++++++++++++++++++++++++++ 10.5.0/gentoo/README.history | 3 ++- 2 files changed, 37 insertions(+), 1 deletion(-) https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=d27a3410a918f3666b657692e694618197b99b2f commit d27a3410a918f3666b657692e694618197b99b2f Author: Sam James <sam@gentoo.org> AuthorDate: 2022-08-22 02:24:28 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-08-22 02:37:03 +0000 10.4.0: add 28_all_drop_CFLAGS_sed.patch Previously was just for 12. Bug: https://bugs.gentoo.org/849722 Signed-off-by: Sam James <sam@gentoo.org> 10.4.0/gentoo/34_all_drop_CFLAGS_sed.patch | 35 ++++++++++++++++++++++++++++++ 10.4.0/gentoo/README.history | 3 +++ 2 files changed, 38 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e69418c72291eaac2e317d65b1c846609b0330b5 commit e69418c72291eaac2e317d65b1c846609b0330b5 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2022-09-27 08:17:49 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2022-09-27 08:36:49 +0000 dev-util/mingw64-toolchain: import drop cflags patch from gcc Tested this before and it built fine anyway, so thought it wasn't needed for mingw64-toolchain (despite --disabled-bootstrap) -- but seen a user run into it and seems I may have tested wrong back then. Bug: https://bugs.gentoo.org/849722 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> .../files/gcc-12.2.0-drop-cflags-sed.patch | 23 ++++++++++++++++++++++ .../mingw64-toolchain-10.0.0_p1-r1.ebuild | 1 + 2 files changed, 24 insertions(+)