[llvm] r189489 - Add a minimal implementation of ranlib.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Aug 29 14:45:50 PDT 2013


On 29 August 2013 05:37, Alexey Samsonov <samsonov at google.com> wrote:
> Hi Rafael!
>
> I get the following error when running check-llvm locally:
> Failing Tests (1):
>     LLVM :: Object/archive-symtab.test
> <...>
> Invalid alignment for ELF file!
> UNREACHABLE executed at /llvm/lib/Object/ELFObjectFile.cpp:67
>
> llvm-nm crashes after we create the symbol table for archive with
> llvm-ranlib.
> Does the latter enforces the correct alignment of archive members?

The gnu ar format doesn't align its members. Can you send me the
archive you have. It is probably a bug in llvm-nm or lib/Object. I can
try to fix it.

Cheers,
Rafael



More information about the llvm-commits mailing list