[LLVMdev] Problem building llvm 3.5.0 with gcc 4.9.0

Thomas Jablin tjablin at gmail.com
Wed Sep 10 17:45:28 PDT 2014


I believe revision 215886 addresses this issue. Hopefully, it will be
backported.
Tom


On Wed, Sep 10, 2014 at 2:04 PM, Matt Godbolt <matt at godbolt.org> wrote:

> Hi all,
>
> I've just tried building llvm 3.5.0 with GCC 4.9.0 and hit this error:
>
> Error.cpp:28:44: error: declaration of ‘virtual const
> char*{anonymous}::_object_error_category::name() const’ has a
> different exception specifier
> Error.cpp:23:15: error: from previous declaration ‘virtual const
> char*{anonymous}::_object_error_category::name() const noexcept
> (true)’
>
> Is this a known issue, and if so, is there a workaround? I've not seen
> anyone else report this issue so it does make me wonder if it's
> something on my side somehow :)
>
> I'm building my own GCC4.9.0 from source and using that; on Redhat
> 6.5, if that helps at all.
>
> Thanks in advance for any help!
>
> Matt
>
> --
> Matt Godbolt
> GCC Explorer dev - http://gcc.godbolt.org
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140910/17156e7e/attachment.html>


More information about the llvm-dev mailing list