From 91bdb320f1a17abe61d8105b0599dff6ec340452 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 13 Mar 2024 18:11:05 -0400 Subject: [PATCH] fix cowpatch issue with libstdc++-v3 directory in gcc this directory uses relative pathnames to access libgcc unwind headers, but with cowpatch, those are relative to the libstdc++-v3 directory in the unpatched tree unless libstdc++-v3 has been cow-split. this calls for a general solution at some point, but for now, just add an explicit dummy patch to trigger cow splitting. --- patches/gcc-11.2.0/0006-cow-libstdc++v3.diff | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 patches/gcc-11.2.0/0006-cow-libstdc++v3.diff diff --git a/patches/gcc-11.2.0/0006-cow-libstdc++v3.diff b/patches/gcc-11.2.0/0006-cow-libstdc++v3.diff new file mode 100644 index 0000000..b49b22c --- /dev/null +++ b/patches/gcc-11.2.0/0006-cow-libstdc++v3.diff @@ -0,0 +1,8 @@ +--- a/libstdc++-v3/ChangeLog 2024-03-13 18:04:21.050801063 -0400 ++++ b/libstdc++-v3/ChangeLog 2024-03-13 18:04:25.665836804 -0400 +@@ -4068,4 +4068,4 @@ + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright +-notice and this notice are preserved. ++notice and this notice are preserved.