[LLVMbugs] [Bug 9863] New: gcc front-end compilation: getting error: exec: -Q: invalid option

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri May 6 17:55:20 PDT 2011


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

           Summary: gcc front-end compilation: getting error: exec: -Q:
                    invalid option
           Product: new-bugs
           Version: 2.8
          Platform: DEC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sogania at synopsys.com
                CC: llvmbugs at cs.uiuc.edu


i am trying to build the gcc-frontend from source (version 2.8). Have already
built the LLVM part. Using gcc-4.2.2.
(configure and make command below). While building, get this error:
/remote/vtgtools/llvm/llvm-gcc-4.2-2.8.source/obj/./gcc/xgcc
-B/remote/vtgtools/llvm/llvm-gcc-4.2-2.8.source/obj/./gcc/
-B/remote/vtgtools/llvm/llvm-gcc-4.2-2.8.source/obj/../install/i686-pc-linux-gnu/bin/
-B/remote/vtgtools/llvm/llvm-gcc-4.2-2.8.source/obj/../install/i686-pc-linux-gnu/lib/
-isystem
/remote/vtgtools/llvm/llvm-gcc-4.2-2.8.source/obj/../install/i686-pc-linux-gnu/include
-isystem
/remote/vtgtools/llvm/llvm-gcc-4.2-2.8.source/obj/../install/i686-pc-linux-gnu/sys-include
-O2 -O2 -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem
./include -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include
-I../../gcc/../libcpp/include -I../../gcc/../libdecnumber -I../libdecnumber
-I/remote/vtgtools/llvm/llvm-2.8/include -g0 -finhibit-size-directive
-fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss
-fno-toplevel-reorder -Dinhibit_libc -fno-omit-frame-pointer -c
../../gcc/crtstuff.c -DCRT_BEGIN -o crtbegin.o 
/remote/vtgtools/llvm/llvm-gcc-4.2-2.8.source/obj/./gcc/as: line 2: exec: -Q:
invalid option
exec: usage: exec [-cl] [-a name] file [redirection ...]

Unable to figure out where "-Q" is coming from.  Need help with this.

Configure command:
../configure --prefix=`pwd`/../install --program-prefix=llvm-
--enable-llvm=$LLVMOBJDIR --enable-languages=c,c++ --target=i686-pc-linux-gnu
--with-tune=generic --with-arch=pentium4

setenv LLVMOBJDIR /remote/vtgtools/llvm/llvm-2.8

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list