This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Ada][testsuite] use sync to avoid missing executable


On Apr 18, 2005, at 4:39 AM, Florian Weimer wrote:
* Laurent GUERBY:


+      if [ ! -x $dir/tests/$chapter/$i/$binmain ]; then
+         sync
+      fi


Are you sure you need the sync, and not just the delay introduced by it? I agree with Arno that it's a kernel bug if you really need it. sync shouldn't have any observable effect (except for the delay, of course).

While I don't mind cheap hacks in dejagnu to work around kernel bugs, I'd like to see the kernel so named, and if you can, a link to the problem report. The idea is that in 5 years, this will be inconsequential, and they can check the link and determine, we don't care anymore and remove the line. Without that information, of course, this would be almost impossible to do.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]