https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71212

--- Comment #3 from Petr Ovtchenkov <abominable-snowman at yandex dot ru> ---
(In reply to Petr Ovtchenkov from comment #2)
> ...

Mmm, may be this line is origin of problem:

libstdc++-v3/configure:    GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES
-I\${includedir}"

(missed ${DESTDIR} in -I\${includedir}?)

Uups, following patch will "resolve" issue:

diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
index 41797a9..25f7418 100755
--- a/libstdc++-v3/configure
+++ b/libstdc++-v3/configure
@@ -81334,9 +81334,9 @@ $as_echo "$gxx_include_dir" >&6; }
 -I$glibcxx_srcdir/libsupc++"

   # For Canadian crosses, pick this up too.
-  if test $CANADIAN = yes; then
-    GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
-  fi
+#  if test $CANADIAN = yes; then
+#    GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
+#  fi

   # Stuff in the actual top level.  Currently only used by libsupc++ to
   # get unwind* headers from the libgcc dir.


What is CANADIAN?

Reply via email to