This is an archive of the discontinued LLVM Phabricator instance.

Fix compiler-rt build on musl
ClosedPublic

Authored by raj.khem on Feb 6 2021, 1:46 PM.

Details

Summary

stddef.h is needed for size_t definition. this is exposed when building compiler-rt for musl C library on Linux, this is also needed for clang-12 release branch

Diff Detail

Event Timeline

raj.khem created this revision.Feb 6 2021, 1:46 PM
raj.khem requested review of this revision.Feb 6 2021, 1:46 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 6 2021, 1:46 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript

Can you file a bug for this and mark it as a blocker for release-12.0.0?

MaskRay accepted this revision.Feb 8 2021, 8:20 PM
MaskRay added a subscriber: MaskRay.
MaskRay added inline comments.
compiler-rt/lib/fuzzer/FuzzerInterceptors.cpp
29

Please move it before cstdint

This revision is now accepted and ready to land.Feb 8 2021, 8:20 PM
raj.khem updated this revision to Diff 333047.Mar 24 2021, 10:53 AM
raj.khem marked an inline comment as done.
raj.khem added inline comments.
compiler-rt/lib/fuzzer/FuzzerInterceptors.cpp
29

done

MaskRay accepted this revision.Mar 24 2021, 12:32 PM

@MaskRay I dont find this in main branch yet, anything pending on me ?

This revision was automatically updated to reflect the committed changes.