aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-05-16 11:28:53 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2021-05-16 11:28:53 +0100
commit52f599fc37324ea16463bb1fc0c1a3cdedd80e29 (patch)
treefb75b84cfb7a3c4284b5ee95a5fa2040e7b120c7 /8.5.0/gentoo/12_all_pr55930-dependency-tracking.patch
parent8.4.0: abandoned in favour of 8.5.0 (diff)
downloadgcc-patches-52f599fc37324ea16463bb1fc0c1a3cdedd80e29.tar.gz
gcc-patches-52f599fc37324ea16463bb1fc0c1a3cdedd80e29.tar.bz2
gcc-patches-52f599fc37324ea16463bb1fc0c1a3cdedd80e29.zip
8.5.0: cut 1 patchset, a copy of 8.4.0 with upstreamed pacthes removed
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to '8.5.0/gentoo/12_all_pr55930-dependency-tracking.patch')
-rw-r--r--8.5.0/gentoo/12_all_pr55930-dependency-tracking.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/8.5.0/gentoo/12_all_pr55930-dependency-tracking.patch b/8.5.0/gentoo/12_all_pr55930-dependency-tracking.patch
new file mode 100644
index 0000000..a8743e0
--- /dev/null
+++ b/8.5.0/gentoo/12_all_pr55930-dependency-tracking.patch
@@ -0,0 +1,18 @@
+libatomic build failure if configured with --disable-dependency-tracking
+load_n.c:115:1: fatal error: opening dependency file .deps/load_1_.lo.Ppo: No such file or directory
+
+https://bugs.gentoo.org/463463
+http://gcc.gnu.org/PR55930
+
+--- a/libatomic/Makefile.in
++++ b/libatomic/Makefile.in
+@@ -298,7 +298,8 @@ PAT_N = $(word 2,$(PAT_SPLIT))
+ PAT_S = $(word 3,$(PAT_SPLIT))
+ IFUNC_DEF = -DIFUNC_ALT=$(PAT_S)
+ IFUNC_OPT = $(word $(PAT_S),$(IFUNC_OPTIONS))
+-M_DEPS = -MT $@ -MD -MP -MF $(DEPDIR)/$(@F).Ppo
++@AMDEP_TRUE@M_DEPS = -MT $@ -MD -MP -MF $(DEPDIR)/$(@F).Ppo
++@AMDEP_FALSE@M_DEPS =
+ M_SIZE = -DN=$(PAT_N)
+ M_IFUNC = $(if $(PAT_S),$(IFUNC_DEF) $(IFUNC_OPT))
+ M_FILE = $(PAT_BASE)_n.c