[Bug lto/79061] [7 Regression][LTO][ASAN] LTO plus ASAN fails with "AddressSanitizer: initialization-order-fiasco"

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 25 09:27:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79061

--- Comment #20 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Created attachment 40574
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40574&action=edit
New still failing test case (tar.gz), slightly modifying the previous one

(In reply to chefmax from comment #19)
> New Revision: 244890

I can confirm that the attached test case [attachment 40504] is fixed with that
commit.

Unfortunately, for the big test case, it still fails with

AddressSanitizer: initialization-order-fiasco

New test case attached; the crucial difference (cf. xptimer.cc) seems to be
that the code calls strdup() and, hence, allocates memory in the constructor.


More information about the Gcc-bugs mailing list