Page MenuHomeFreeBSD

dl_iterate_phdr: provide exclusive locking for callback when statically linked
ClosedPublic

Authored by kib on Aug 18 2020, 6:16 PM.
Tags
None
Referenced Files
F169503282: D26109.id.diff
Tue, Sep 1, 5:51 PM
F169356695: D26109.id76028.diff
Tue, Sep 1, 7:32 AM
F169335712: D26109.id75959.diff
Tue, Sep 1, 5:42 AM
Unknown Object (File)
Sun, Aug 30, 2:11 PM
Unknown Object (File)
Sat, Aug 29, 2:10 PM
Unknown Object (File)
Fri, Aug 28, 1:56 PM
Unknown Object (File)
Wed, Aug 26, 3:40 PM
Unknown Object (File)
Wed, Aug 26, 1:55 PM
Subscribers

Details

Summary

Apparently llvm unwinder depends on the external locking for callback.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 33050

Event Timeline

kib requested review of this revision.Aug 18 2020, 6:16 PM
This revision is now accepted and ready to land.Aug 18 2020, 8:57 PM

So can somebody confirm that this fixes the issue with llvm11 statically linked lld ?

I applied this patch as well as a hack to set _LIBUNWIND_USE_FRAME_HEADER_CACHE and the build was successful
https://cirrus-ci.com/build/6731100590440448