public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Problem in bootstrapping trunk - error in stage 2 -mnolzcnt command line option.
@ 2011-08-02 18:24 Toon Moene
  2011-08-02 19:24 ` H.J. Lu
  0 siblings, 1 reply; 2+ messages in thread
From: Toon Moene @ 2011-08-02 18:24 UTC (permalink / raw)
  To: gcc mailing list

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 && \

Kind regards,

-- 
Toon Moene - e-mail: toon@moene.org - phone: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
At home: http://moene.org/~toon/; weather: http://moene.org/~hirlam/
Progress of GNU Fortran: http://gcc.gnu.org/wiki/GFortran#news

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problem in bootstrapping trunk - error in stage 2 -mnolzcnt command line option.
  2011-08-02 18:24 Problem in bootstrapping trunk - error in stage 2 -mnolzcnt command line option Toon Moene
@ 2011-08-02 19:24 ` H.J. Lu
  0 siblings, 0 replies; 2+ messages in thread
From: H.J. Lu @ 2011-08-02 19:24 UTC (permalink / raw)
  To: Toon Moene; +Cc: gcc mailing list

On Tue, Aug 2, 2011 at 11:24 AM, Toon Moene <toon@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.lu@intel.com>
+
+	* config/i386/driver-i386.c (host_detect_local_cpu): Fix a typo.
+
 2011-08-02  Richard Henderson  <rth@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,

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-02 19:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-02 18:24 Problem in bootstrapping trunk - error in stage 2 -mnolzcnt command line option Toon Moene
2011-08-02 19:24 ` H.J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).