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
Unknown Object (File)
Jan 11 2024, 6:45 AM
Unknown Object (File)
Dec 20 2023, 7:04 AM
Unknown Object (File)
Dec 12 2023, 12:16 AM
Unknown Object (File)
Jun 29 2023, 8:31 AM
Unknown Object (File)
Jun 29 2023, 8:28 AM
Unknown Object (File)
Jun 26 2023, 3:58 PM
Unknown Object (File)
Jun 12 2023, 9:29 PM
Unknown Object (File)
Apr 12 2023, 2:30 PM
Subscribers

Details

Summary

Apparently llvm unwinder depends on the external locking for callback.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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