mesonbuild / mesonbuild/wrapdb
abseil-20250814.1-1 cannot resolve symbols used in absl_synchronization
- Dominant language
- Meson
- Stars
- 118
- Forks
- 298
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 24
Description
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!
Contributor guide
No contributing guide indexed for this repository
Research direction
Open subprojects/packagefiles/abseil-cpp/meson.build and inspect the absl_base_sources list. Confirm how the listed Abseil source files are organized, then include absl/base/internal/tracing.cc in that list. Done means the absl_synchronization link no longer reports the missing AbslInternalTrace symbols.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 78/100