This is the mail archive of the gcc-bugs@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]

[Bug ada/40984] Build failure in oscons stage not detected.



------- Comment #2 from davek at gcc dot gnu dot org  2009-10-03 12:23 -------
(In reply to comment #1)
> Wouldn't it be enough to replace ";" by "&&" between the various steps?
> 

Hello Sam, the problem with just doing that is that xoscons can fail but still
leave fragmentary output, and then next time you build make sees that the
output file exists and doesn't try rebuilding it.  Using && would cause make to
fail at the error, but we still need to guarantee the partial output file is
deleted, otherwise the next build will not try rebuilding the xoscons outputs
and will error some time later when it reuses the fragmentary output while
attempting to compile the runtime library.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40984


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