Arjun Singri
2011-Sep-19 01:09 UTC
[LLVMdev] cc1: error: unrecognized command line option "-Wno-overlength-strings"
Hi, I am trying to build llvm-gcc from svn and I am getting a "cc1: error: unrecognized command line option "-Wno-overlength-strings"" error. I have gcc 4.1.2 and Linux 2.6.18 on 64bit. Please tell me how to fix this error. Here is the command that caused this: gcc -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../dst-directory/gcc -I../../dst-directory/gcc/. -I../../dst-directory/gcc/../include -I../../dst-directory/gcc/../libcpp/include -I../../dst-directory/gcc/../libdecnumber -I../libdecnumber -I/home/asin/llvm_latest/include -I/rhel5pdi/home/asin/llvm/include -DENABLE_LLVM -I/home/asin/llvm_latest/../llvm/include -I/home/asin/llvm_latest/include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS cc1-checksum.c -o cc1-checksum.o Thanks, Arjun -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110918/d6396414/attachment.html>
David Blaikie
2011-Sep-19 01:23 UTC
[LLVMdev] cc1: error: unrecognized command line option "-Wno-overlength-strings"
> > I am trying to build llvm-gcc from svn and I am getting a "cc1: error: > unrecognized command line option "-Wno-overlength-strings"" error. I have > gcc 4.1.2 and Linux 2.6.18 on 64bit. Please tell me how to fix this error. >llvm-gcc is kind of end-of-life these days (ie: you should probably be using clang or dragonegg instead) but it looks like you're probably just using an old version of gcc. While I haven't tried to repro your issue on gcc 4.1, it doesn't seem to appear on 4.5[.2] (so I guess it was just a new warning that's been added, and suppressed in the llvm-gcc build, since 4.1) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110918/6c527a9d/attachment.html>
Arjun Singri
2011-Sep-19 01:27 UTC
[LLVMdev] cc1: error: unrecognized command line option "-Wno-overlength-strings"
Thank you for replying. I will try to switch to clang. On Sun, Sep 18, 2011 at 6:23 PM, David Blaikie <dblaikie at gmail.com> wrote:> I am trying to build llvm-gcc from svn and I am getting a "cc1: error: >> unrecognized command line option "-Wno-overlength-strings"" error. I have >> gcc 4.1.2 and Linux 2.6.18 on 64bit. Please tell me how to fix this error. >> > > llvm-gcc is kind of end-of-life these days (ie: you should probably be > using clang or dragonegg instead) but it looks like you're probably just > using an old version of gcc. While I haven't tried to repro your issue on > gcc 4.1, it doesn't seem to appear on 4.5[.2] (so I guess it was just a new > warning that's been added, and suppressed in the llvm-gcc build, since 4.1) >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110918/47c1d74c/attachment.html>
Apparently Analagous Threads
- [LLVMdev] cc1: error: unrecognized command line option "-Wno-overlength-strings"
- [LLVMdev] Fwd: PPC Nightly Build Result
- [LLVMdev] Fwd: PPC Nightly Build Result
- RE: Build break -cc1: error: unrecognized option`-Wdeclaration-after-statement''
- [LLVMdev] unrecognized command line option "-Wno-long-double"