This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/35752] [4.3/4.4 Regression]: Combined gcc + binutils source tree doesn't bootstrap with --enable-shared
- From: "hjl dot tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Apr 2008 13:36:38 -0000
- Subject: [Bug bootstrap/35752] [4.3/4.4 Regression]: Combined gcc + binutils source tree doesn't bootstrap with --enable-shared
- References: <bug-35752-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #40 from hjl dot tools at gmail dot com 2008-04-21 13:36 -------
The fix
test -f $lt_prog-recursive && exec $scriptdir/../prev-$dir/$prog
${1+"$@"}
touch $lt_prog-recursive
$scriptdir/../$dir/$prog ${1+"$@"}
result=$?
rm -f $lt_prog-recursive
exit $result
is parallel build safe. When as is invoked, it creates a $lt_prog-recursive.
Before it finishes, another as is invoked and detects $lt_prog-recursive
exist. Error.
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Joey dot ye at intel dot com
Status|RESOLVED |REOPENED
Resolution|FIXED |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35752