On Thu, Sep 06, 2012 at 01:19:21AM +0100, Tony Sidaway wrote: > On 6 September 2012 00:28, Brad Smith <b...@comstyle.com> wrote: > > > > Oh, ok. So simply setting the correct CMake option which results > > in that section being disabled results in it building as you > > expected and no patch is actually necessary for the source? > > > > It's still an upstream bug, probably. The documentation is faulty. It > currently says: > > "LLVM disables RTTI by default. Add REQUIRES_RTTI=1 to your > environment while running make to re-enable it. This will allow users > to build with RTTI enabled and still inherit from LLVM classes." > > http://llvm.org/docs/Packaging.html (or > /usr/obj/ports/llvm-3.1/llvm-3.1.src/docs/Packaging.html in the build > tree).
Everything on that page refers to the auto* tools based build infrastructure. > I'll check this bug against a vanilla "./configure && make" build on > Linux and, if necessary, submit a bug report upstream. The page should probably be updated to mention CMake equivalent options. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.