Skip to content

Support -Bsymbolic-functions  #18804

@theoparis

Description

@theoparis

This seems to be a blocker in my fork of zig-bootstrap when rebuilding LLVM 17.0.6 with zig.

...
error: unsupported linker arg: -Bsymbolic-functions
[4360/4881] Building CXX object tools/lld/COFF/CMakeFiles/lldCOFF.dir/InputFiles.cpp.o
ninja: build stopped: subcommand failed.

See https://github.com/llvm/llvm-project/blob/llvmorg-17.0.6/clang/tools/clang-shlib/CMakeLists.txt#L54

The current solution is to either patch LLVM or to disable shared libraries entirely with -DLLVM_ENABLE_PIC=OFF.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSolving this issue will likely involve adding new logic or components to the codebase.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions