This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
other/4591: bug in Makefile generated in sparc-sun-solaris2.8/libstdc++-v3/include
- To: gcc-gnats at gcc dot gnu dot org
- Subject: other/4591: bug in Makefile generated in sparc-sun-solaris2.8/libstdc++-v3/include
- From: alan dot schwarzenberger at m-systems dot com
- Date: 17 Oct 2001 15:05:25 -0000
- Reply-To: alan dot schwarzenberger at m-systems dot com
>Number: 4591
>Category: other
>Synopsis: bug in Makefile generated in sparc-sun-solaris2.8/libstdc++-v3/include
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Oct 17 08:06:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Alan Schwarzenberger
>Release: GCC 3.0.1
>Organization:
>Environment:
Sun Sparc Solaris 8
>Description:
There is a mistake in the generated Makefile in sparc-sun-solaris2.8/libstdc++-v3/include directory, which prevents out of the box compilation.
Three occurances of ../gcc should be ../../gcc one example is below. Occurs for rules to build gtrh.h, gthr-single.h and gthr-default.h.
Make tries to run the command:
sed -e '/^#/s/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*\)/_GLIBCPP_\1/g' \
-e 's,^#include "\(.*\)",#include <bits/\1>,g' \
< /export/avt/downloads/gcc-3.0.1/sparc-sun-solaris2.8/libstdc++-v3/../gcc/gthr.h > sparc-sun-solaris2.8/bits/gthr.h
but this fails as gcc is in the gcc3.0.1 directory, not in the sparc-sun-solaris2.8 directory.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: