[LLVMbugs] [Bug 16311] New: Ninja: error with cc

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jun 12 11:03:34 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=16311

            Bug ID: 16311
           Summary: Ninja: error with cc
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: pedro.delgadoperez at mail.uca.es
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

I have followed the instructions in step 0 here:


When I finally run ninja, obtain the next error:

Building C object lib/Support...keFiles/LLVMSupport.dir/ConvertUTF.c.o
FAILED: /usr/bin/cc  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fPIC -Wall -W
-Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic
-Wno-long-long -fcolor-diagnostics -Ilib/Support
-I/home/pedro/clang-llvm/llvm/lib/Support -Iinclude
-I/home/pedro/clang-llvm/llvm/include    -fno-exceptions -MMD -MT
lib/Support/CMakeFiles/LLVMSupport.dir/ConvertUTF.c.o -MF
"lib/Support/CMakeFiles/LLVMSupport.dir/ConvertUTF.c.o.d" -o
lib/Support/CMakeFiles/LLVMSupport.dir/ConvertUTF.c.o   -c
/home/pedro/clang-llvm/llvm/lib/Support/ConvertUTF.c

cc: error: no se reconoce la opción de línea de órdenes ‘-fcolor-diagnostics’

[6/2231] Building CXX object lib/Suppo...les/LLVMSupport.dir/IntEqClasses.cpp.o
ninja: build stopped: subcommand failed.


I don't know why the -fcolor-diagnostics is enabled and how could I disable it.
Is it important in this case? I followed these instructions in another computer
two months ago and I didn't have this problem. Might it be a problem with the
versions? 

Thanks,

Pedro.

-- 
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/20130612/24dd8635/attachment.html>


More information about the llvm-bugs mailing list