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

Amir Ayupov via All-commits all-commits at lists.llvm.org
Tue May 3 15:39:57 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1d5263c554cbc39694e038f95c5a130171e3e224
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2022-05-03 (Tue, 03 May 2022)

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

  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