Bug 214047
Summary: | libcap 2.52: Clang fails to build shared objects as runnable binaries | ||
---|---|---|---|
Product: | Tools | Reporter: | Johan Herland (jherland) |
Component: | libcap | Assignee: | Andrew G. Morgan (morgan) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | morgan |
Priority: | P1 | ||
Hardware: | x86-64 | ||
OS: | Linux | ||
Kernel Version: | N/A | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Johan Herland
2021-08-11 18:47:20 UTC
Thanks for this bug report. To date, I've never actually looked into supporting clang. However, this bug suggests it was mostly working before this latest release, so I'll set up a testing environment and try to figure out how to make it work. While I figure out how to set up clang builds, you might like to try replacing '--entry=__so_start' with '-Wl,-e,__so_start'. Please see this commit: https://git.kernel.org/pub/scm/libs/libcap/libcap.git/commit/?id=6dea1813f269f9c03cea226fffdd75670c70ea01 Reopen if that doesn't address your needs. Can confirm that your commit resolves this issue for us as well. Appreciate the quick turnaround, and thanks for your time! |