[Bug bootstrap/59580] New: --with-arch=generic is allowed to configure GCC
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sun Dec 22 19:23:00 GMT 2013
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
More information about the Gcc-bugs
mailing list