[all-commits] [llvm/llvm-project] f4ca2a: [scudo] Skip building scudo standalone if sys/auxv...

Björn Pettersson via All-commits all-commits at lists.llvm.org
Wed Jan 29 09:21:51 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f4ca2ac8225e090a7c351c7e1219bcae8838d4e0
      https://github.com/llvm/llvm-project/commit/f4ca2ac8225e090a7c351c7e1219bcae8838d4e0
  Author: Bjorn Pettersson <bjorn.a.pettersson at ericsson.com>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M compiler-rt/cmake/config-ix.cmake

  Log Message:
  -----------
  [scudo] Skip building scudo standalone if sys/auxv.h can't be found

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.

Reviewers: pcc, cryptoad

Reviewed By: pcc

Subscribers: mgorny, #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D73631




More information about the All-commits mailing list