This is an archive of the discontinued LLVM Phabricator instance.

[Driver] Link shared asan runtime lib with -z now on Solaris/x86
ClosedPublic

Authored by ro on Jul 26 2023, 5:49 AM.

Details

Summary

As detailed in Issue #64126, several asan tests FAIL due to a cycle in AsanInitInternal. This can by avoided by disabling lazy binding with ld -z now.

Tested on amd64-pc-solaris2.11.

Diff Detail

Event Timeline

ro created this revision.Jul 26 2023, 5:49 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 26 2023, 5:49 AM
ro requested review of this revision.Jul 26 2023, 5:49 AM
vitalybuka accepted this revision.Jul 26 2023, 5:27 PM
This revision is now accepted and ready to land.Jul 26 2023, 5:27 PM

This needs a clang/test/Driver test.

ro added a comment.Jul 27 2023, 2:29 AM

This needs a clang/test/Driver test.

Indeed, I forgot. Added now.

ro updated this revision to Diff 544660.Jul 27 2023, 2:30 AM

Add testcases.

Re-tested on amd64-pc-solaris2.11 and x86_64-pc-linux-gnu.

This revision was landed with ongoing or failed builds.Jul 27 2023, 2:33 AM
This revision was automatically updated to reflect the committed changes.