Skip to content

Commit

Permalink
lttng-ust: Link with libatomic on 32bit x86
Browse files Browse the repository at this point in the history
Clang generates _atomic_store calls

Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
kraj committed Jan 18, 2025
1 parent bd49e06 commit 92e322d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions conf/nonclangable.conf
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,10 @@ COMPILER_RT:remove:pn-webkitgtk:armeb = "-rtlib=compiler-rt"
COMPILER_RT:pn-qtbase:toolchain-clang:riscv32 = "-rtlib=compiler-rt ${UNWINDLIB}"

LDFLAGS:append:pn-qtwebengine:toolchain-clang:runtime-gnu:x86 = " -latomic"

# | i686-yoe-linux-ld.lld: error: undefined symbol: __atomic_store
LDFLAGS:append:pn-lttng-tools:toolchain-clang:x86 = " -latomic"

LDFLAGS:append:pn-qemu:toolchain-clang:x86 = " -latomic"
# warning: <elfFile> has a LOAD segment with RWX permissions
LDFLAGS:append:pn-ruby:toolchain-clang:powerpc = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', '', ' -Wl,--no-warn-rwx-segment', d)}"
Expand Down

0 comments on commit 92e322d

Please sign in to comment.