Skip to content

Conversation

@keith
Copy link
Member

@keith keith commented Apr 24, 2025

Since 6493345 the utility library is
needed by the driver. Since liblldb's exports are limited with
-exports_symbols_list on macOS, some symbols like
__ZN12SelectHelper10FDSetWriteEi are not exported from liblldb and
therefore cause linker failures on macOS only. In the cmake the driver
now depends on the full utility library, even though that leads to some
duplication of symbols, so it should be safe for us to do in bazel as
well.

Since 6493345 the utility library is
needed by the driver. Since liblldb's exports are limited with
-exports_symbols_list on macOS, some symbols like
`__ZN12SelectHelper10FDSetWriteEi` are not exported from liblldb and
therefore cause linker failures on macOS only. In the cmake the driver
now depends on the full utility library, even though that leads to some
duplication of symbols, so it should be safe for us to do in bazel as
well.
@llvmbot llvmbot added the bazel "Peripheral" support tier build system: utils/bazel label Apr 24, 2025
@keith keith merged commit 42622c7 into llvm:main Apr 24, 2025
9 of 11 checks passed
@keith keith deleted the ks/bazel-depend-on-full-utility-library-in-lldb branch April 24, 2025 23:22
IanWood1 pushed a commit to IanWood1/llvm-project that referenced this pull request May 6, 2025
Since 6493345 the utility library is
needed by the driver. Since liblldb's exports are limited with
-exports_symbols_list on macOS, some symbols like
`__ZN12SelectHelper10FDSetWriteEi` are not exported from liblldb and
therefore cause linker failures on macOS only. In the cmake the driver
now depends on the full utility library, even though that leads to some
duplication of symbols, so it should be safe for us to do in bazel as
well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bazel "Peripheral" support tier build system: utils/bazel

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants