On Tue, Aug 2, 2011 at 11:24 AM, Toon Moene <t...@moene.org> wrote: > What am I doing wrong: > > configure:3247: checking for suffix of object files > configure:3269: /home/toon/compilers/obj-t/./gcc/xgcc > -B/home/toon/compilers/obj-t/./gcc/ -B/tmp/lto/x86_64-unknown-linux-gnu/bin/ > -B/tmp/lto/x86_64-unknown-linux-gnu/lib/ -isystem > /tmp/lto/x86_64-unknown-linux-gnu/include -isystem > /tmp/lto/x86_64-unknown-linux-gnu/sys-include -c -g -O2 conftest.c >&5 > cc1: error: unrecognized command line option '-mnolzcnt' > > The configure line is: > > ../gcc/configure --prefix=/tmp/lto --enable-languages=c++ > --with-build-config=bootstrap-lto --with-gnu-ld --disable-multilib > --disable-nls --with-arch=native --with-tune=native && \ >
I checked in this as an obvious fix. Thanks. -- H.J. ---Index: ChangeLog =================================================================== --- ChangeLog (revision 177203) +++ ChangeLog (working copy) @@ -1,3 +1,7 @@ +2011-08-02 H.J. Lu <hongjiu...@intel.com> + + * config/i386/driver-i386.c (host_detect_local_cpu): Fix a typo. + 2011-08-02 Richard Henderson <r...@redhat.com> PR target/49878 Index: config/i386/driver-i386.c =================================================================== --- config/i386/driver-i386.c (revision 177203) +++ config/i386/driver-i386.c (working copy) @@ -718,7 +718,7 @@ const char *host_detect_local_cpu (int a const char *avx = has_avx ? " -mavx" : " -mno-avx"; const char *sse4_2 = has_sse4_2 ? " -msse4.2" : " -mno-sse4.2"; const char *sse4_1 = has_sse4_1 ? " -msse4.1" : " -mno-sse4.1"; - const char *lzcnt = has_lzcnt ? " -mlzcnt" : " -mnolzcnt"; + const char *lzcnt = has_lzcnt ? " -mlzcnt" : " -mno-lzcnt"; options = concat (options, cx16, sahf, movbe, ase, pclmul, popcnt, abm, lwp, fma, fma4, xop, bmi, tbm,