Overview
Request 899820 accepted
- Add Allow-standards-based-attributes-to-have-leading-and.patch:
Fix miscompilation with libstdc++6-devel-gcc11. The new version
uses [[__no_unique_address__]] in tuple's _Head_base, but Clang
only knew the attribute without leading and trailing underscores.
Subsequently it didn't do empty base optimization for tuples,
causing an ABI mismatch when tuples were passed around, such as
the member of the unique_ptr passed by
std::thread::thread (in header) to an internal function (in
source file, thus part of libstdc++.so). (boo#1187254)
- Created by aaronpuchert
- In state accepted
- Package maintainers: aaronpuchert and ptesarik
Request History
aaronpuchert created request
- Add Allow-standards-based-attributes-to-have-leading-and.patch:
Fix miscompilation with libstdc++6-devel-gcc11. The new version
uses [[__no_unique_address__]] in tuple's _Head_base, but Clang
only knew the attribute without leading and trailing underscores.
Subsequently it didn't do empty base optimization for tuples,
causing an ABI mismatch when tuples were passed around, such as
the member of the unique_ptr passed by
std::thread::thread (in header) to an internal function (in
source file, thus part of libstdc++.so). (boo#1187254)
aaronpuchert accepted request