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)

Loading...
Request History
Aaron Puchert's avatar

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)


Aaron Puchert's avatar

aaronpuchert accepted request

openSUSE Build Service is sponsored by