[llvm-commits] [llvm] r159136 - in /llvm/trunk: include/llvm/GlobalValue.h lib/Transforms/IPO/GlobalOpt.cpp test/Transforms/GlobalOpt/hidden.ll

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Jun 25 13:39:29 PDT 2012


On 25 June 2012 14:00, David Dean <david_dean at apple.com> wrote:
> I'm seeing a link-time failure after this change with one of the SPEC tests when building with -O3 or Os. (447.dealII)
> ld: bad codegen, pointer diff in __ZNK22AutoDerivativeFunctionILi1EE15vector_gradientERK5PointILi1EERSt6vectorI6TensorILi1ELi1EESaIS7_EE to global weak symbol __ZTV6VectorIdE for architecture i386
>
> Can you take a look?

The oldest version I was able to find online was
http://www.dealii.org/download/deal.II-6.0.0.tar.gz

All that I get trying to build it is a warning from the linker saying

ld: warning: direct access in <sym1>  to global weak symbol <a vtable>
means the weak symbol cannot be overridden at runtime. This was likely
caused by different translation units being compiled with different
visibility settings.

Which is benign since the vtable doesn't need to be overridden at
runtime. I am using ld64-128.2, which version do you have?

Cheers,
Rafael



More information about the llvm-commits mailing list