Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905118 - sys-devel/gcc: fails to cross-compile with "The directory that should contain system headers does not exist: /usr/lib/gcc/armv7a-unknown-linux-musleabihf/13/include" (make[2]: *** [Makefile:3308: stmp-fixinc] Error)
Summary: sys-devel/gcc: fails to cross-compile with "The directory that should contain...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-26 13:52 UTC by Sam James
Modified: 2024-06-10 15:41 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (build.log.xz,41.73 KB, application/x-xz)
2023-04-26 13:52 UTC, Sam James
Details
cross-x86_64-w64-mingw32-gcc-stage1.log.xz (cross-x86_64-w64-mingw32-gcc-stage1.log.xz,46.58 KB, application/x-xz)
2024-03-03 01:05 UTC, Abhinav
Details
cross-x86_64-w64-mingw32-gcc-stage1.log.xz (cross-x86_64-w64-mingw32-gcc-stage1.log.xz,47.04 KB, application/x-xz)
2024-03-03 01:21 UTC, Abhinav
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-26 13:52:59 UTC
Created attachment 860786 [details]
build.log.xz

The directory that should contain system headers does not exist:
  /usr/lib/gcc/armv7a-unknown-linux-musleabihf/13/include
make[2]: *** [Makefile:3308: stmp-fixinc] Error 1
rm gcc.pod
make[1]: *** [Makefile:4621: all-gcc] Error 2
make: *** [Makefile:1040: all] Error 2
 * ERROR: cross-armv7a-unknown-linux-musleabihf/gcc-13.1.0-r1::crossdev failed (compile phase):
 *   emake failed

----

$ emerge --info
Portage 3.0.46 (python 3.11.3-final-0, default/linux/amd64/17.1/hardened, gcc-13, glibc-2.37-r2, 6.1.25-gentoo-dist-hardened x86_64)
=================================================================
System uname: Linux-6.1.25-gentoo-dist-hardened-x86_64-AMD_Ryzen_9_3950X_16-Core_Processor-with-glibc2.37
KiB Mem:    65746416 total,  13970564 free
KiB Swap:    8290300 total,   6647292 free
Timestamp of repository gentoo: Wed, 26 Apr 2023 12:31:50 +0000
Head commit of repository gentoo: 4c1d6508bf8657a7d8f9193725c20861eae639ce

Timestamp of repository emacs: Sun, 26 Mar 2023 11:48:54 +0000
Head commit of repository emacs: 347abf7cfccd4d5ae95f34c3b7bec508161cc1d9

Timestamp of repository kde: Wed, 26 Apr 2023 09:01:54 +0000
Head commit of repository kde: 917e33cfeb7dbffef95193b877003da701685f19

Timestamp of repository qt: Sat, 15 Apr 2023 17:31:49 +0000
Head commit of repository qt: 8d9e60afe32e41d2d44615400f1d3c70f2c2da8e

Timestamp of repository sam_c: Tue, 18 Apr 2023 00:46:58 +0000
Head commit of repository sam_c: 722e21c1c457575f7b534b63dbbad1bf9a8d1086

Timestamp of repository steam-overlay: Thu, 20 Apr 2023 21:02:12 +0000
Head commit of repository steam-overlay: e72c756037be2f0de147251367e67dabe75407b2

sh dash 0.5.12
ld GNU ld (Gentoo 2.40 p4) 2.40.0
ccache version 4.8 [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r2::gentoo
dev-lang/python:           3.8.16_p4::gentoo, 3.9.16_p3::gentoo, 3.10.11::gentoo, 3.11.3::gentoo, 3.12.0_alpha7::gentoo
dev-lang/rust:             1.69.0-r1::gentoo
dev-util/ccache:           4.8::gentoo
dev-util/cmake:            3.26.3::gentoo
dev-util/meson:            1.1.0::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-apps/systemd:          253.3::gentoo
sys-devel/autoconf:        2.13-r8::gentoo, 2.69-r9::gentoo, 2.71-r6::gentoo, 9999::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.38-r2::gentoo, 2.39-r5::gentoo, 2.40-r4::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r1::gentoo, 16.0.2::gentoo, 17.0.0_pre20230421::gentoo
sys-devel/gcc:             10.4.1_p20230419::gentoo, 11.3.1_p20230420::gentoo, 12.2.1_p20230421::gentoo, 13.0.1_pre20230422::gentoo, 14.0.0_pre20230423::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             17.0.0_pre20230421::gentoo
sys-devel/llvm:            15.0.7::gentoo, 16.0.2::gentoo, 17.0.0_pre20230421::gentoo
sys-devel/make:            4.4.1::gentoo
sys-kernel/linux-headers:  6.2::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r2::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    eclass-overrides: sam_c
    volatile: False
    sync-git-clone-extra-opts: -b stable -c gc.reflogExpire=0 -c gc.reflogExpireUnreachable=0 -c gc.rerereresolved=0 -c gc.rerereunresolved=0 -c gc.pruneExpire=now
    sync-git-verify-commit-signature: yes

crossdev
    location: /var/db/repos/crossdev
    masters: gentoo
    eclass-overrides: sam_c
    volatile: True

emacs
    location: /var/db/repos/emacs
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/emacs.git
    masters: gentoo
    eclass-overrides: sam_c
    volatile: False

kde
    location: /var/db/repos/kde
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/kde.git
    masters: gentoo
    eclass-overrides: sam_c
    volatile: False

local
    location: /var/db/repos/local
    masters: gentoo
    eclass-overrides: sam_c
    volatile: False

qt
    location: /var/db/repos/qt
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/qt.git
    masters: gentoo
    eclass-overrides: sam_c
    volatile: False

sam_c
    location: /var/db/repos/sam_c
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/sam_c.git
    masters: gentoo
    eclass-overrides: sam_c
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    eclass-overrides: sam_c
    volatile: False

test
    location: /var/db/repos/test
    masters: gentoo
    eclass-overrides: sam_c
    volatile: False

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -Wreturn-type"
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/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -Wreturn-type"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps=y --complete-graph --deep --dynamic-deps=n --changed-deps=n --usepkg-exclude sys-fs/zfs --usepkg-exclude sys-fs/zfs-kmod --usepkg=y --implicit-system-deps=n --jobs=4 --load-average 32"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -Wreturn-type"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg cgroup clean-logs config-protect-if-modified distlocks fixlafiles ipc-sandbox mount-sandbox multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -Wreturn-type"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/distfiles.gentoo.org/ http://mirrors.soeasyto.com/distfiles.gentoo.org/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,pack-relative-relocs"
LEX="reflex"
LINGUAS="en en_GB"
MAKEOPTS="-j32 -l32"
PKGDIR="/var/cache/binpkgs"
PORTAGE_BUNZIP2_COMMAND="lbunzip2"
PORTAGE_COMPRESS="xz"
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"
RUSTFLAGS="-C target-cpu=native"
SHELL="/bin/bash"
USE="PIC X a52 aac acl acpi activities aes alsa amd64 avx avx2 bash-completion bluetooth branding bzip2 cairo caps cdda cdr cet clang cli crypt dbus declarative dist-kernel dri dts dvd dvdr editorconfig emacs encode exif f16c filecaps firewalld flac fma3 fortran freetype gdbm gif gmp gpm graphite gtk gui hardened harfbuzz hunspell iconv icu ipv6 jit jpeg kde kdesu kwallet lcms libglvnd libnotify libtirpc lto mad mmx mmxext mng mp3 mp4 mpeg multilib ncurses nftables nls nptl ogg opengl openmp pam pango pclmul pcre pdf pgo pie pipewire plasma png policykit popcnt ppds pulseaudio qml qt5 rdrand readline screencast sdl seccomp semantic-desktop sha sound spell sse sse2 sse3 sse4_1 sse4_2 sse4a ssl ssp ssse3 startup-notification svg system-av1 system-binutils system-boost system-bootstrap system-cairo system-clang system-digest system-ffmpeg system-harfbuzz system-heimdal system-icu system-jpeg system-leveldb system-libevent system-libs system-libvpx system-libyaml system-llvm system-lz4 system-mitkrb5 system-sqlite system-ssl system-tbb system-uulib system-webp system-zlib systemd test-rust tiff truetype udev udisks unicode upower usb verify-sig vorbis vulkan wayland widgets x264 xattr xcb xft xml xtpax xv xvid zfs zlib zsh-completion" ABI_X86="32 64" ADA_TARGET="gnat_2021" 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" KERNEL="linux" L10N="en en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AArch64 AMDGPU ARM AVR BPF Hexagon Lanai MSP430 Mips NVPTX PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore" 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_11" PYTHON_TARGETS="python3_10 pypy3 python3_11 python3_8 python3_9" QEMU_USER_TARGETS="aarch64 aarch64_be alpha armeb hppa m68k ppc ppc64 ppc64le sparc sparc64" RUBY_TARGETS="ruby31 ruby32" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi radeon" 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"
YACC="byacc"
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, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, SIZE, STRINGS, STRIP, YFLAGS
Comment 2 Larry the Git Cow gentoo-dev 2023-04-26 14:14:08 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79519252e88f8ad8c8ddf627ff9a473e99222e7b

commit 79519252e88f8ad8c8ddf627ff9a473e99222e7b
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-04-26 14:13:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-26 14:13:56 +0000

    sys-devel/gcc: fix 13 cross builds w/ fixincludes
    
    Add workaround for now.
    
    Bug: https://bugs.gentoo.org/905118
    Signed-off-by: Sam James <sam@gentoo.org>

 .../gcc/files/gcc-13-fix-cross-fixincludes.patch      | 19 +++++++++++++++++++
 sys-devel/gcc/gcc-13.1.0-r1.ebuild                    |  1 +
 2 files changed, 20 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2024-02-19 05:06:23 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=456eee6e374b50a4d9108a642ca29c5573ac5cb8

commit 456eee6e374b50a4d9108a642ca29c5573ac5cb8
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-19 05:05:19 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-19 05:05:36 +0000

    sys-devel/gcc: drop obsolete cross fixincludes patch for 13
    
    We should be able to do this now after 0b75d3ce0bae8240c28c6a8f191f5130548f8475.
    
    Bug: https://bugs.gentoo.org/905118
    Signed-off-by: Sam James <sam@gentoo.org>

 .../gcc/files/gcc-13-fix-cross-fixincludes.patch      | 19 -------------------
 sys-devel/gcc/gcc-13.2.1_p20230826.ebuild             |  3 +--
 sys-devel/gcc/gcc-13.2.1_p20231216.ebuild             |  3 +--
 sys-devel/gcc/gcc-13.2.1_p20240113-r1.ebuild          |  1 -
 sys-devel/gcc/gcc-13.2.1_p20240120.ebuild             |  1 -
 sys-devel/gcc/gcc-13.2.1_p20240127.ebuild             |  1 -
 sys-devel/gcc/gcc-13.2.1_p20240203.ebuild             |  1 -
 sys-devel/gcc/gcc-13.2.1_p20240210.ebuild             |  1 -
 sys-devel/gcc/gcc-13.2.1_p20240217.ebuild             |  1 -
 9 files changed, 2 insertions(+), 29 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b75d3ce0bae8240c28c6a8f191f5130548f8475

commit 0b75d3ce0bae8240c28c6a8f191f5130548f8475
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-19 05:02:09 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-19 05:05:32 +0000

    toolchain.eclass: rework fixincludes again
    
    * Only run fixincludes for >= GCC 13 with <sys-libs/glibc-2.38.
    
    * Refactor the logic while at it to make it easier to control (as we do some
      bits depending on it in src_install).
    
    Doing this after getting for cross:
    ```
    The directory (BUILD_SYSTEM_HEADER_DIR) that should contain system headers does not exist:
      /usr/lib/gcc/aarch64_be-unknown-linux-gnu/14/include
    make[2]: *** [Makefile:3448: stmp-fixinc] Error 1
    make[2]: *** Waiting for unfinished jobs....
    ```
    
    This should also let us drop the patch for bug #905118 now.
    
    Bug: https://bugs.gentoo.org/905118
    Bug: https://gcc.gnu.org/PR107128
    Signed-off-by: Sam James <sam@gentoo.org>

 eclass/toolchain.eclass | 23 ++++++++++++++++++++---
 1 file changed, 20 insertions(+), 3 deletions(-)
Comment 4 Larry the Git Cow gentoo-dev 2024-02-19 05:08:34 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ccbec18b76ff3c48f3d32f1b1760ca568ddc615

commit 4ccbec18b76ff3c48f3d32f1b1760ca568ddc615
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-19 05:07:11 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-19 05:07:11 +0000

    toolchain.eclass: explicitly disable fixincludes for cross too
    
    Just in case, although the condition is unlikely there now.
    
    Bug: https://bugs.gentoo.org/905118
    Signed-off-by: Sam James <sam@gentoo.org>

 eclass/toolchain.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 5 Larry the Git Cow gentoo-dev 2024-02-23 07:46:16 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c5af65cfb92b7702f170999488c970fc278d9a2

commit 0c5af65cfb92b7702f170999488c970fc278d9a2
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-23 07:16:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-23 07:46:08 +0000

    toolchain.eclass: allow fixincludes for mingw & special MIPS target
    
    config/i386/t-cygming always sets STMP_FIXINC regardless of the configure
    arg for fixincludes, so don't disable it there.
    
    The only other case is config/mips/t-sdemtk which I've handled too.
    
    Exposed by 0b75d3ce0bae8240c28c6a8f191f5130548f8475.
    
    Bug: https://bugs.gentoo.org/905118
    Closes: https://bugs.gentoo.org/925204
    Signed-off-by: Sam James <sam@gentoo.org>

 eclass/toolchain.eclass | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
Comment 6 Abhinav 2024-03-03 01:04:28 UTC
I am still seeing this issue for MinGW on the gentoo Live ISO with:
-rw-r--r-- 1 root root 32 Mar  2 00:40 /var/db/repos/gentoo/metadata/timestamp

Running `crossdev --target x86_64-w64-mingw32` after setting up the overlay (as in the wiki) fails with the same error. Will attach logs shortly.
Comment 7 Abhinav 2024-03-03 01:05:25 UTC
Created attachment 886563 [details]
cross-x86_64-w64-mingw32-gcc-stage1.log.xz
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-03 01:09:04 UTC
Can you file a new bug please? Thanks.

(Also, I can't decompress that file.)
Comment 9 Abhinav 2024-03-03 01:21:42 UTC
Created attachment 886564 [details]
cross-x86_64-w64-mingw32-gcc-stage1.log.xz

The previous xz got garbled somehow. Here's another.
Comment 10 Larry the Git Cow gentoo-dev 2024-03-07 18:37:58 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4dfb164264174461dd6ac8a826fb01b00e5dbf8

commit e4dfb164264174461dd6ac8a826fb01b00e5dbf8
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-03-07 18:36:18 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-07 18:36:18 +0000

    Revert "sys-devel/gcc: drop obsolete cross fixincludes patch for 13"
    
    This reverts commit 456eee6e374b50a4d9108a642ca29c5573ac5cb8.
    
    Restore the fixincludes revert. The situation has improved a bit though,
    because we now only run fixincludes when it's truly needed, so having
    this patch is less risky to begin with.
    
    Caveat emptor for trying to remove this in future: make sure to test
    clean builds without mingw already built, and with.
    
    Bug: https://bugs.gentoo.org/905118
    Bug: https://bugs.gentoo.org/925204
    Closes: https://bugs.gentoo.org/926059
    Signed-off-by: Sam James <sam@gentoo.org>

 .../gcc/files/gcc-13-fix-cross-fixincludes.patch      | 19 +++++++++++++++++++
 sys-devel/gcc/gcc-12.3.1_p20240223.ebuild             |  1 +
 sys-devel/gcc/gcc-12.3.1_p20240301.ebuild             |  1 +
 sys-devel/gcc/gcc-13.2.1_p20240113-r1.ebuild          |  1 +
 sys-devel/gcc/gcc-13.2.1_p20240210.ebuild             |  1 +
 sys-devel/gcc/gcc-13.2.1_p20240224.ebuild             |  1 +
 sys-devel/gcc/gcc-13.2.1_p20240302.ebuild             |  1 +
 sys-devel/gcc/gcc-14.0.1_pre20240225.ebuild           |  1 +
 sys-devel/gcc/gcc-14.0.1_pre20240303-r1.ebuild        |  1 +
 9 files changed, 27 insertions(+)
Comment 11 Larry the Git Cow gentoo-dev 2024-06-10 15:41:47 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37b5a2fe628275e617272c5094e7dfc8cb9f0d4e

commit 37b5a2fe628275e617272c5094e7dfc8cb9f0d4e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-06-10 15:37:45 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-06-10 15:38:19 +0000

    sys-devel/gcc: add bug ref to fixincludes issue
    
    MacPorts folks have kindly reported the issue upstream so add a ref
    to the bug (https://gcc.gnu.org/PR115416).
    
    Bug: https://gcc.gnu.org/PR115416
    Bug: https://bugs.gentoo.org/905118
    Bug: https://bugs.gentoo.org/925204
    Bug: https://bugs.gentoo.org/926059
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/gcc/files/gcc-13-fix-cross-fixincludes.patch | 1 +
 1 file changed, 1 insertion(+)