[llvm-bugs] [Bug 39622] New: Clang report header file not found when using -E but file exists
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Nov 10 16:39:37 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=39622
Bug ID: 39622
Summary: Clang report header file not found when using -E but
file exists
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: release blocker
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: htmldeveloper at gmail.com
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
richard-llvm at metafoo.co.uk
echo "#include <armintr.h>" | clang -E -
In file included from <stdin>:1:
/root/build/lib/clang/8.0.0/include/armintr.h:26:15: fatal error: 'armintr.h'
file not found
#include_next <armintr.h>
^~~~~~~~~~~
# 1 "<stdin>"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 350 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "<stdin>" 2
# 1 "/root/build/lib/clang/8.0.0/include/armintr.h" 1 3
# 2 "<stdin>" 2
1 error generated.
But the file is there:
ls -al /root/build/lib/clang/8.0.0/include/armintr.h
-rw-r--r-- 1 root root 1714 Nov 10 05:53
/root/build/lib/clang/8.0.0/include/armintr.h
clang --version
clang version 8.0.0 (trunk 346579) (llvm/trunk 346569)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /root/build/bin
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181111/8d8346de/attachment.html>
More information about the llvm-bugs
mailing list