[cfe-dev] How to deal with new build failures due to new warning? Was: Re: buildbot failure in LLVM on clang-with-lto-ubuntu

Mehdi AMINI via cfe-dev cfe-dev at lists.llvm.org
Sat Jun 10 10:47:20 PDT 2017


Hi,

I would first revert it *now* because the bot needs to stay green *now*.

Then either the warnings can be fixed as a pre-commit to the added feature,
or if not possible the LLVM cmake config should first be updated to detect
and explicitly disable this warning.

-- 
Mehdi


2017-06-10 10:40 GMT-07:00 Roman Lebedev via cfe-dev <cfe-dev at lists.llvm.org
>:

> Hi everyone.
>
> In D33102, -Wcast-qual was implemented for C++,
> so naturally it now produces warnings for clang codebase.
>
> That specific warning
> (cast from 'a' to 'b' must have all intermediate pointers const
> qualified to be safe)
> is clang-specific, i'm pretty sure gcc does not produce it.
>
> To be perfectly honest, i did not thought about trying
> to build llvm/clang with the clang with that warning beforehand.
>
> So here is the question: how to proceed?
> Revert? Disable that diagnostic? Etc?
>
> Roman.
>
> On Sat, Jun 10, 2017 at 8:28 PM,  <llvm.buildmaster at lab.llvm.org> wrote:
> > The Buildbot has detected a new failure on builder clang-with-lto-ubuntu
> while building cfe.
> > Full details are available at:
> >  http://lab.llvm.org:8011/builders/clang-with-lto-ubuntu/builds/3249
> >
> > Buildbot URL: http://lab.llvm.org:8011/
> >
> > Buildslave for this Build: ps4-buildslave1a
> >
> > Build Reason: scheduler
> > Build Source Stamp: [branch trunk] 305147
> > Blamelist: lebedevri
> >
> > BUILD FAILED: failed build-stage2-LLVMgold.so
> >
> > sincerely,
> >  -The Buildbot
> >
> >
> >
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170610/11935c16/attachment.html>


More information about the cfe-dev mailing list