[PATCH] D16514: Add -stop-on-failure driver option, and enable it by default for CUDA compiles.
Eric Christopher via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 28 14:44:26 PST 2016
echristo added a comment.
> The other reason, which is less important, is that when you have one arch and ptxas fails -- which, it shouldn't, but we're not good enough to catch everything yet, and likely won't be for some time -- the error you get is
>
> ptxas: foo is not defined
> *FATAL ERROR*: fatbinary failed, /tmp/bar.cubin does not exist.
>
>
> I'd like not to display that second line, since it hides the actual problem. Once you get used to it, it's not a big deal, but it tripped me up for a few minutes, and I'm the one who added the call to ptxas.
This seems like more of a problem - we don't have this with the existing BindArchAction set of things, we stop before trying to call lipo on darwin. Hrm.
-eric
http://reviews.llvm.org/D16514
More information about the cfe-commits
mailing list