[all-commits] [llvm/llvm-project] 88b6d3: [BOLT][TEST] Fix test failures on AArch64 builder

Amir Ayupov via All-commits all-commits at lists.llvm.org
Tue May 3 12:42:43 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 88b6d3211c836021a9b570ac6090dd1bf42da449
  Author: Amir Ayupov <amir.aupov at gmail.com>
  Date:   2022-05-03 (Tue, 03 May 2022)

  Changed paths:
    M bolt/test/Inputs/icf-jump-tables.c
    M bolt/test/X86/Inputs/avx512.c
    M bolt/test/X86/Inputs/inline-foo.c

  Log Message:
  [BOLT][TEST] Fix test failures on AArch64 builder

Address X86 tests failures on AArch64 builder:

Inputs fail to cross-compile due to a missing header:
/usr/include/stdio.h:27:10: fatal error: 'bits/libc-header-start.h' file not found
#include <bits/libc-header-start.h>

As inputs are linked with `-nostdlib` anyway, don't include stdio.h.

Reviewed By: yota9

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

More information about the All-commits mailing list