Skip to content

FreeBSD needs LD_32_LIBRARY_PATH support in lit for 32-bit dynamic ASan tests #42238

@DimitryAndric

Description

@DimitryAndric
Bugzilla Link 42893
Resolution FIXED
Resolved on Aug 27, 2019 07:12
Version 9.0
OS FreeBSD
Blocks #41819
CC @emaste,@zmodem

Extended Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions