This is the mail archive of the
mailing list for the GCC project.
- To: gcc at gcc dot gnu dot org, Alexandre Oliva <aoliva at cygnus dot com>
- Subject: gcc_update bug
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Sun, 13 May 2001 18:19:34 -0700
- Organization: CodeSourcery, LLC
gcc_update doesn't work correctly on Solaris, again due to the
sub-second timestamps, and a bug in the native tools.
Observe the following:
nunki% print-time configure
nunki% print-time configure.in
nunki% ls -1dt configure configure.in
Note that configure is older that configure.in, but `ls' sorts them in
the opposite order.
This means that gcc_update doesn't necessarily touch everything it
It's important that we fix this bug because it makes it hard for
people to develop on Solaris. At the very least, you're forced to
install all of the auto* tools. And, things will get rebuilt more
often than they should after cvs update. I've already lost a couple
of hours just trying to figure out what's going on.
One fix is to touch all the files, unconditionally, with a one second
wait between them. That will take a while, but it will be correct. I
implemented that and it's not very painful to wait through.
Using `make' would be another option, possibly via a little here
document in gcc_update.
I'm not sure what other solutions might be possible.
If I don't hear from you, I'll check in the touch everything patch,
since correctness trumps.
Mark Mitchell email@example.com
CodeSourcery, LLC http://www.codesourcery.com