Landing: adb4f4a064c0

Project / Subsystem

gcc / libstdc++

Date

2026-07-01

Author

Jonathan Wakely

Commit

adb4f4a064c009cd616106fa4c648182c18f96d9

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
libstdc++
patch_id
commit_hash
adb4f4a064c009cd616106fa4c648182c18f96d9
source_type
github
headline
libstdc++: Fix bootstrap failure in tzdb.cc with specific atomic conditions
tldr
Fixes a bootstrap build failure in tzdb.cc by ensuring atomic functions are always defined, regardless of target atomic pointer and integer lock-free condition…
author
Jonathan Wakely
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • libstdc++
  • build
  • atomic
discussion_id_link
bugzilla_pr
date
2026-07-01T00:00:00.000Z

A recent change in libstdc++ caused a bootstrap failure in tzdb.cc when certain atomic pointer and integer lock-free conditions were met on the target. The error occurred because the NumLeapSeconds::set_locked member function was not defined under these specific conditions. This fix ensures that the set_atomically and set_locked functions are defined unconditionally, resolving the mismatch and allowing the build to complete successfully.