On Wed, Sep 05, 2012 at 12:27:58AM +0100, Tony Sidaway wrote:
> I'm running current and I need llvm to be built with rtti. This is
> disabled upstream but the packaging advice is that it should be made
> available with rtti. The standard instructions for this are to set
> REQUIRES_RTTI=1 in the build environment. But the packaged version
> doesn't correctly build despite this assignment being provided in
> MAKE_ENV in the Makefile for the OpenBSD lllvm port.
> 
> I still haven't got to the bottom of the question of why the build
> compiles some code with -fno-rtti, but I've found the build code that
> does this. It's controlled by another environment variable,
> LLVM_REQUIRES_RTTI=1, but setting that in the build environment
> doesn't seem to help. Something is missing.
> 
> Here's a patch to comment out the offending build code and make the
> port build clean. It's the best I can do for now. I think this really
> needs the attention of somebody who understands cmake.
 
It would be best to take this up with upstream and file a bug report
in the LLVM projects bug tracker.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Reply via email to