[cfe-dev] ARM cross fails after recent changes to clang in branch release_30

Sebastian Pop spop at codeaurora.org
Wed Nov 9 12:50:40 PST 2011


On Wed, Nov 9, 2011 at 2:33 PM, Chandler Carruth <chandlerc at google.com> wrote:
> Eeep! I asked for the output because.. well, I need the output! ;] You've
> snipped the really important part here: the paths it *didn't* find but tried
> to find, the target it decided to use, the CC1 invocation, etc. =D
> Can i have the full output?

# ./clang -v /x/foo.c
clang version 3.0 (/x/llvm/tools/clang 474341250c818952c314e539f0f53199080a5faf)
Target: arm-none-linux-gnueabi
Thread model: posix
 "/x/build/Debug+Asserts/bin/clang" -cc1 -triple
armv4t-none-linux-gnueabi -S -disable-free -main-file-name foo.c
-mrelocation-model static -mdisable-fp-elim -mconstructor-aliases
-target-abi aapcs-linux -target-cpu arm7tdmi -mfloat-abi soft
-target-feature +soft-float-abi -target-linker-version 2.16.91.0.5
-momit-leaf-frame-pointer -v -resource-dir
/x/build/Debug+Asserts/bin/../lib/clang/3.0 -fmodule-cache-path
/var/tmp/clang-module-cache -ferror-limit 19 -fmessage-length 136
-fno-signed-char -fgnu-runtime -fobjc-runtime-has-arc
-fobjc-runtime-has-weak -fobjc-fragile-abi -fdiagnostics-show-option
-fcolor-diagnostics -o /tmp/foo-Axc7do.s -x c /x/foo.c
clang -cc1 version 3.0 based upon llvm 3.0 default target arm-none-linux-gnueabi
#include "..." search starts here:
End of search list.
/x/foo.c:1:10: fatal error: 'stdio.h' file not found
#include "stdio.h"
         ^
1 error generated.

Sebastian
--
Qualcomm Innovation Center, Inc is a member of Code Aurora Forum



More information about the cfe-dev mailing list