Skip to content

abseil-20250814.1-1 cannot resolve symbols used in absl_synchronization #2717

Description

@weichic-tw

Got the following errors during linking:

/usr/bin/ld: subprojects/abseil-cpp-20250814.1/libabsl_synchronization.a(absl_synchronization_notification.cc.o): in function absl::lts_20250814::Notification::Notify()': notification.cc:(.text+0x13): undefined reference to AbslInternalTraceSignal_lts_20250814'
/usr/bin/ld: subprojects/abseil-cpp-20250814.1/libabsl_synchronization.a(absl_synchronization_notification.cc.o): in function absl::lts_20250814::Notification::WaitForNotification() const': notification.cc:(.text+0xd2): undefined reference to AbslInternalTraceWait_lts_20250814'
/usr/bin/ld: subprojects/abseil-cpp-20250814.1/libabsl_synchronization.a(absl_synchronization_notification.cc.o): in function absl::lts_20250814::Notification::WaitForNotificationWithTimeout(absl::lts_20250814::Duration) const': notification.cc:(.text+0x17b): undefined reference to AbslInternalTraceWait_lts_20250814'
/usr/bin/ld: notification.cc:(.text+0x195): undefined reference to AbslInternalTraceContinue_lts_20250814' /usr/bin/ld: subprojects/abseil-cpp-20250814.1/libabsl_synchronization.a(absl_synchronization_notification.cc.o): in function absl::lts_20250814::Notification::WaitForNotificationWithDeadline(absl::lts_20250814::Time) const':
notification.cc:(.text+0x25b): undefined reference to AbslInternalTraceWait_lts_20250814' /usr/bin/ld: notification.cc:(.text+0x275): undefined reference to AbslInternalTraceContinue_lts_20250814'
/usr/bin/ld: subprojects/abseil-cpp-20250814.1/libabsl_synchronization.a(absl_synchronization_notification.cc.o): in function absl::lts_20250814::Notification::WaitForNotification() const': notification.cc:(.text+0xfc): undefined reference to AbslInternalTraceContinue_lts_20250814'
collect2: error: ld returned 1 exit status

Could you add absl/base/internal/tracing.cc into absl_base_sources in subprojects/packagefiles/abseil-cpp/meson.build? Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions