This is an archive of the discontinued LLVM Phabricator instance.

[scudo] Skip building scudo standalone if sys/auxv.h can't be found
ClosedPublic

Authored by bjope on Jan 29 2020, 8:23 AM.

Details

Summary

Since commit c299d1981deaf822dfaa06c791f3158bd6801e20 scudo
standalone can't be built without including sys/auxv.h.
I do not have that file on my system, and my builds have failed
when trying to simply build "all" runtimes. Assuming that "all"
means "all possible given the current environment" we need to
guard the setting of COMPILER_RT_HAS_SCUDO_STANDALONE=TRUE by
first checking if sys/auxv.h can be found.

Diff Detail

Event Timeline

bjope created this revision.Jan 29 2020, 8:23 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJan 29 2020, 8:23 AM
Herald added subscribers: Restricted Project, mgorny. · View Herald Transcript
pcc accepted this revision.Jan 29 2020, 8:31 AM

LGTM

This revision is now accepted and ready to land.Jan 29 2020, 8:31 AM
This revision was automatically updated to reflect the committed changes.
pcc added a comment.Jan 31 2023, 2:29 PM
This comment was removed by pcc.