This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
bootstrap/4266: gcc 3.0.1: Makefile.in seems to contain wrong path
- To: gcc-gnats at gcc dot gnu dot org
- Subject: bootstrap/4266: gcc 3.0.1: Makefile.in seems to contain wrong path
- From: karmak at karmak dot org
- Date: 8 Sep 2001 07:53:30 -0000
- Reply-To: karmak at karmak dot org
>Number: 4266
>Category: bootstrap
>Synopsis: gcc 3.0.1: Makefile.in seems to contain wrong path
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Sep 08 00:56:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: karmak@karmak.org
>Release: gcc version 2.95.3 20010315 (release)
>Organization:
>Environment:
glibc 2.1.3
compiling gcc 3.0.1 with 2.95.3
Linux kernel 2.4.9
>Description:
libstdc++-v3/include/Makefile.in looks for gthr*.h files in the wrong place during a bootstrap compile. An apparent fix is shown below.
>How-To-Repeat:
>Fix:
--- Makefile.in.original Sat Sep 8 07:36:54 2001
+++ Makefile.in Sat Sep 8 07:37:29 2001
@@ -377,18 +377,18 @@
${thread_builddir}/gthr.h:
sed -e '/^#/s/\(${uppercase}${uppercase}*\)/_GLIBCPP_\1/g' \
-e 's,^#include "\(.*\)",#include <bits/\1>,g' \
- < ${glibcpp_srcdir}/../gcc/gthr.h > $@
+ < ${glibcpp_srcdir}/gcc/gthr.h > $@
${thread_builddir}/gthr-single.h:
sed -e 's/\(UNUSED\)/_GLIBCPP_\1/g' \
-e 's/\(GCC${uppercase}*_H\)/_GLIBCPP_\1/g' \
- < ${glibcpp_srcdir}/../gcc/gthr-single.h > $@
+ < ${glibcpp_srcdir}/gcc/gthr-single.h > $@
${thread_builddir}/gthr-default.h:
sed -e 's/\(UNUSED\)/_GLIBCPP_\1/g' \
-e 's/\(GCC${uppercase}*_H\)/_GLIBCPP_\1/g' \
-e 's/\(${uppercase}*WEAK\)/_GLIBCPP_\1/g' \
- < ${glibcpp_srcdir}/../gcc/${glibcpp_thread_h} > $@
+ < ${glibcpp_srcdir}/gcc/${glibcpp_thread_h} > $@
>Release-Note:
>Audit-Trail:
>Unformatted: