public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/59580] New: --with-arch=generic is allowed to configure GCC
@ 2013-12-22 19:23 hjl.tools at gmail dot com
  2014-01-18 13:26 ` [Bug bootstrap/59580] " hjl at gcc dot gnu.org
  2014-01-18 14:12 ` hjl.tools at gmail dot com
  0 siblings, 2 replies; 3+ messages in thread
From: hjl.tools at gmail dot com @ 2013-12-22 19:23 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59580

            Bug ID: 59580
           Summary: --with-arch=generic is allowed to configure GCC
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: ubizjak at gmail dot com
            Target: x86-64, x86

When GCC is configured with

/export/gnu/import/git/gcc/configure --enable-clocale=gnu --with-system-zlib
--with-demangler-in-ld  --enable-shared i686-linux --prefix=/usr/gcc-4.9.0
--with-local-prefix=/usr/local --with-arch=generic --with-fpmath=sse

bootstrap fails with

/i686-linux/include -isystem /usr/gcc-4.9.0/i686-linux/sys-include   
checking for suffix of object files... configure: error: in
`/export/build/gnu/gcc-test-32bit/build-i686-linux/i686-linux/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.

configure:3602: /export/build/gnu/gcc-test-32bit/build-i686-linux/./gcc/xgcc
-B/export/build/gnu/gcc-test-32bit/build-i686-linux/./gcc/
-B/usr/gcc-4.9.0/i686-linux/bin/ -B/usr/gcc-4.9.0/i686-linux/lib/ -isystem
/usr/gcc-4.9.0/i686-linux/include -isystem
/usr/gcc-4.9.0/i686-linux/sys-include    -c -g -O2  conftest.c
>&5conftest.c:1:0: error: generic CPU can be used only for -mtune= switch


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

* [Bug bootstrap/59580] --with-arch=generic is allowed to configure GCC
  2013-12-22 19:23 [Bug bootstrap/59580] New: --with-arch=generic is allowed to configure GCC hjl.tools at gmail dot com
@ 2014-01-18 13:26 ` hjl at gcc dot gnu.org
  2014-01-18 14:12 ` hjl.tools at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: hjl at gcc dot gnu.org @ 2014-01-18 13:26 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59580

--- Comment #1 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Sat Jan 18 13:25:40 2014
New Revision: 206756

URL: http://gcc.gnu.org/viewcvs?rev=206756&root=gcc&view=rev
Log:
Update x86 --with-arch/--with-cpu= configure handling

    PR bootstrap/59580
    PR bootstrap/59583
    * config.gcc (x86_archs): New variable.
    (x86_64_archs): Likewise.
    (x86_cpus): Likewise.
    Use $x86_archs, $x86_64_archs and $x86_cpus to check valid
    --with-arch/--with-cpu= options.
    Support --with-arch=/--with-cpu={nehalem,westmere,
    sandybridge,ivybridge,haswell,broadwell,bonnell,silvermont}.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config.gcc


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

* [Bug bootstrap/59580] --with-arch=generic is allowed to configure GCC
  2013-12-22 19:23 [Bug bootstrap/59580] New: --with-arch=generic is allowed to configure GCC hjl.tools at gmail dot com
  2014-01-18 13:26 ` [Bug bootstrap/59580] " hjl at gcc dot gnu.org
@ 2014-01-18 14:12 ` hjl.tools at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: hjl.tools at gmail dot com @ 2014-01-18 14:12 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59580

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |4.9.0

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed.


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

end of thread, other threads:[~2014-01-18 14:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-22 19:23 [Bug bootstrap/59580] New: --with-arch=generic is allowed to configure GCC hjl.tools at gmail dot com
2014-01-18 13:26 ` [Bug bootstrap/59580] " hjl at gcc dot gnu.org
2014-01-18 14:12 ` hjl.tools at gmail dot com

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).