summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-04 03:03:54 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-04 03:03:54 +0000
commit3cc82055be7dba177f4aea15af9f5414b532da7e (patch)
tree1eed8bbe7a93b3a0a7d6091ead40e81519978a38 /eclass
parent212000bb5eabdfeb9a6e7a9b8f28e2740cae555a (diff)
gentoo auto-resync : 04:11:2024 - 03:03:54
Diffstat (limited to 'eclass')
-rw-r--r--eclass/Manifest.gzbin39027 -> 39031 bytes
-rw-r--r--eclass/toolchain.eclass27
2 files changed, 15 insertions, 12 deletions
diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz
index c29b75013cd5..ab0f07d8b56a 100644
--- a/eclass/Manifest.gz
+++ b/eclass/Manifest.gz
Binary files differ
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index e464f8c53972..aa7134b23e8e 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -2976,18 +2976,21 @@ XGCC() { get_make_var GCC_FOR_TARGET ; }
has toolchain_death_notice ${EBUILD_DEATH_HOOKS} || EBUILD_DEATH_HOOKS+=" toolchain_death_notice"
toolchain_death_notice() {
- if [[ -e "${WORKDIR}"/build ]] ; then
- pushd "${WORKDIR}"/build >/dev/null
- (echo '' | $(tc-getCC ${CTARGET}) ${CFLAGS} -v -E - 2>&1) > gccinfo.log
- [[ -e "${T}"/build.log ]] && cp "${T}"/build.log .
- tar -acf "${WORKDIR}"/gcc-build-logs.tar.xz \
- gccinfo.log build.log $(find -name config.log)
- rm gccinfo.log build.log
- eerror
- eerror "Please include ${WORKDIR}/gcc-build-logs.tar.xz in your bug report."
- eerror
- popd >/dev/null
- fi
+ local dir
+ for dir in "${WORKDIR}"/build-jit "${WORKDIR}"/build ; do
+ if [[ -e "${dir}" ]] ; then
+ pushd "${WORKDIR}" >/dev/null
+ (echo '' | $(tc-getCC ${CTARGET}) ${CFLAGS} -v -E - 2>&1) > gccinfo.log
+ [[ -e "${T}"/build.log ]] && cp "${T}"/build.log .
+ tar -arf "${WORKDIR}"/gcc-build-logs.tar.xz \
+ "${dir}"/gccinfo.log "${dir}"/build.log $(find -name "${dir}"/config.log)
+ rm "${dir}"/gccinfo.log "${dir}"/build.log
+ eerror
+ eerror "Please include ${WORKDIR}/gcc-build-logs.tar.xz in your bug report."
+ eerror
+ popd >/dev/null
+ fi
+ done
}
fi