public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libstdc++/5697: parallel bootstrap error with gthr.h
@ 2002-02-18 14:31 ljrittle
0 siblings, 0 replies; 3+ messages in thread
From: ljrittle @ 2002-02-18 14:31 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, ljrittle, lucier
Synopsis: parallel bootstrap error with gthr.h
State-Changed-From-To: analyzed->closed
State-Changed-By: ljrittle
State-Changed-When: Mon Feb 18 14:31:18 2002
State-Changed-Why:
Patch on mainline.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5697
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: libstdc++/5697: parallel bootstrap error with gthr.h
@ 2002-02-15 14:55 ljrittle
0 siblings, 0 replies; 3+ messages in thread
From: ljrittle @ 2002-02-15 14:55 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, ljrittle, lucier, nobody
Synopsis: parallel bootstrap error with gthr.h
Responsible-Changed-From-To: unassigned->ljrittle
Responsible-Changed-By: ljrittle
Responsible-Changed-When: Fri Feb 15 14:55:05 2002
Responsible-Changed-Why:
Mine.
State-Changed-From-To: open->analyzed
State-Changed-By: ljrittle
State-Changed-When: Fri Feb 15 14:55:05 2002
State-Changed-Why:
The proposed fix will not work as the problem is more
gross than that. The problem is that thread_builddir
is independently settable yet mirrors a location known
to be set. The correct fix IMHO is to remove
thread_builddir (map all such uses to target_builddir)
and add dependancies to the related stamp file (i.e. do
not depend on directories).
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5697
^ permalink raw reply [flat|nested] 3+ messages in thread
* libstdc++/5697: parallel bootstrap error with gthr.h
@ 2002-02-14 20:26 lucier
0 siblings, 0 replies; 3+ messages in thread
From: lucier @ 2002-02-14 20:26 UTC (permalink / raw)
To: gcc-gnats
>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:
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-02-18 22:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-18 14:31 libstdc++/5697: parallel bootstrap error with gthr.h ljrittle
-- strict thread matches above, loose matches on Subject: below --
2002-02-15 14:55 ljrittle
2002-02-14 20:26 lucier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).