This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
libstdc++/5697: parallel bootstrap error with gthr.h
- From: lucier at math dot purdue dot edu
- To: gcc-gnats at gcc dot gnu dot org
- Date: 15 Feb 2002 04:18:53 -0000
- Subject: libstdc++/5697: parallel bootstrap error with gthr.h
- Reply-to: lucier at math dot purdue dot edu
>Number: 5697
>Category: libstdc++
>Synopsis: parallel bootstrap error with gthr.h
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Feb 14 20:26:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: B. Lucier
>Release: gcc version 3.1 20020214 (experimental)
>Organization:
>Environment:
sparcv9-sun-solaris2.8
Solaris as/ld
>Description:
After a generic configure, make -j 8 bootstrap fails with
make[4]: Entering directory `/export/u3/lucier/programs/gcc/gcc-3.1/objdir-sparcv9/sparcv9-sun-solaris2.8/libstdc++-v3/include'
sed -e '/^#/s/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*\)/_GLIBCPP_\1/g' \
-e 's,^#include "\(.*\)",#include <bits/\1>,g' \
< ../../../../libstdc++-v3/../gcc/gthr.h > sparcv9-sun-solaris2.8/bits/gthr.h
/bin/sh: sparcv9-sun-solaris2.8/bits/gthr.h: cannot create
make[4]: *** [sparcv9-sun-solaris2.8/bits/gthr.h] Error 1
make[4]: *** Waiting for unfinished jobs....
>How-To-Repeat:
see above
>Fix:
Maybe the makefile should be modified to have the headers
depend on the thread_builddir:
${thread_builddir}/gthr.h: ${thread_builddir}
sed -e '/^#/s/\(${uppercase}${uppercase}*\)/_GLIBCPP_\1/g' \
-e 's,^#include "\(.*\)",#include <bits/\1>,g' \
< ${toplevel_srcdir}/gcc/gthr.h > $@
${thread_builddir}/gthr-single.h:${thread_builddir}
sed -e 's/\(UNUSED\)/_GLIBCPP_\1/g' \
-e 's/\(GCC${uppercase}*_H\)/_GLIBCPP_\1/g' \
< ${toplevel_srcdir}/gcc/gthr-single.h > $@
${thread_builddir}/gthr-default.h:${thread_builddir}
sed -e 's/\(UNUSED\)/_GLIBCPP_\1/g' \
-e 's/\(GCC${uppercase}*_H\)/_GLIBCPP_\1/g' \
-e 's/\(${uppercase}*WEAK\)/_GLIBCPP_\1/g' \
< ${toplevel_srcdir}/gcc/${glibcpp_thread_h} > $@
>Release-Note:
>Audit-Trail:
>Unformatted: