[llvm-bugs] [Bug 42893] New: FreeBSD needs LD_32_LIBRARY_PATH support in lit for 32-bit dynamic ASan tests

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Aug 5 13:18:22 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=42893

            Bug ID: 42893
           Summary: FreeBSD needs LD_32_LIBRARY_PATH support in lit for
                    32-bit dynamic ASan tests
           Product: new-bugs
           Version: 9.0
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: dimitry at andric.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

When running the dynamic ASan tests on FreeBSD amd64, the 32-bit parts of them
will fail with errors similar to:

ld-elf32.so.1: Shared object "libclang_rt.asan-i386.so" not found, required by
"Asan-i386-inline-Dynamic-Test"

This is because the dynamic linker for 32-bit executables on 64-bit FreeBSD
uses the environment variable LD_32_LIBRARY_PATH instead of LD_LIBRARY_PATH to
find dynamic libraries.

Review with path posted here: https://reviews.llvm.org/D65772

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190805/ffcee533/attachment.html>


More information about the llvm-bugs mailing list