Using the default gcc 4.1.2 or 4.2.2 option on Fedora 7, the source from Trunk (r10343) keeps choking with "x-uclibc-as: unrecognized option `-Qy'". The gcc 3.4.6 option can build the image without such a problem. Would you give this noob a hint or two on where to look for the cause(s)?
From openwrt/trunk/build_dir/toolchain-mipsel_gcc4.1.2/gcc-4.1.2-final/gcc/config.log
...
gcc (GCC) 4.1.2 20070925 (Red Hat 4.1.2-27)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2151: $? = 0
configure:2153: gcc -v </dev/null >&5
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/u
sr/share/info --enable-shared --enable-threads=posix --enable-checking=release -
-with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-
languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-ds
si --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --en
able-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/ja
va/eclipse-ecj.jar --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20070925 (Red Hat 4.1.2-27)
configure:2156: $? = 0
configure:2158: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2161: $? = 1
configure:2184: checking for C compiler default output file name
configure:2187: gcc -g -O2 conftest.c >&5
/home/worker/openwrt/trunk/staging_dir/toolchain-mipsel_gcc4.1.2/bin/mipsel-linu
x-uclibc-as: unrecognized option `-Qy'
configure:2190: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
...