public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/26673]  New: Bootstrap of GCC trunk failed when configured with --host=...
@ 2006-03-14  7:05 grigory_zagorodnev at linux dot intel dot com
  2006-03-14  7:10 ` [Bug bootstrap/26673] " grigory_zagorodnev at linux dot intel dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: grigory_zagorodnev at linux dot intel dot com @ 2006-03-14  7:05 UTC (permalink / raw)
  To: gcc-bugs

Bootstrap of GCC trunk (revision 112028) failed on ia64, x86_64 and i686 when
configured with --host=... option.


$ ../src/configure --prefix=/opt/gcc-42 --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --host=x86_64-redhat-linux  


$ make bootstrap >LOG
Makefile:13360: warning: overriding commands for target `restrap'
Makefile:12652: warning: ignoring old commands for target `restrap'
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
...
make[1]: x86_64-redhat-linux-ar: Command not found


-- 
           Summary: Bootstrap of GCC trunk failed when configured with --
                    host=...
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: grigory_zagorodnev at linux dot intel dot com
  GCC host triplet: x86_64-redhat-linux


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


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

* [Bug bootstrap/26673] Bootstrap of GCC trunk failed when configured with --host=...
  2006-03-14  7:05 [Bug bootstrap/26673] New: Bootstrap of GCC trunk failed when configured with --host= grigory_zagorodnev at linux dot intel dot com
@ 2006-03-14  7:10 ` grigory_zagorodnev at linux dot intel dot com
  2006-03-14 10:27 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: grigory_zagorodnev at linux dot intel dot com @ 2006-03-14  7:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from grigory_zagorodnev at linux dot intel dot com  2006-03-14 07:10 -------
With recent version of 'configure', came in revision 112028, generated Makefile
contains wrong tool names for the native build.

$ grep x86_64-redhat-linux Makefile
AS = x86_64-redhat-linux-as
AR = x86_64-redhat-linux-ar
CC = x86_64-redhat-linux-gcc
CXX = x86_64-redhat-linux-c++


-- 


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


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

* [Bug bootstrap/26673] Bootstrap of GCC trunk failed when configured with --host=...
  2006-03-14  7:05 [Bug bootstrap/26673] New: Bootstrap of GCC trunk failed when configured with --host= grigory_zagorodnev at linux dot intel dot com
  2006-03-14  7:10 ` [Bug bootstrap/26673] " grigory_zagorodnev at linux dot intel dot com
@ 2006-03-14 10:27 ` rguenth at gcc dot gnu dot org
  2006-03-14 13:32 ` grigory_zagorodnev at linux dot intel dot com
  2006-03-14 13:35 ` rguenth at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-03-14 10:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2006-03-14 10:27 -------
if the output of config.guess does not match your --host=... string you are
building a cross compiler.  Try making those match or also specify --build.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug bootstrap/26673] Bootstrap of GCC trunk failed when configured with --host=...
  2006-03-14  7:05 [Bug bootstrap/26673] New: Bootstrap of GCC trunk failed when configured with --host= grigory_zagorodnev at linux dot intel dot com
  2006-03-14  7:10 ` [Bug bootstrap/26673] " grigory_zagorodnev at linux dot intel dot com
  2006-03-14 10:27 ` rguenth at gcc dot gnu dot org
@ 2006-03-14 13:32 ` grigory_zagorodnev at linux dot intel dot com
  2006-03-14 13:35 ` rguenth at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: grigory_zagorodnev at linux dot intel dot com @ 2006-03-14 13:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from grigory_zagorodnev at linux dot intel dot com  2006-03-14 13:32 -------
It appears that configuration scheme changed in revision 112028 of trunk
without any notice. 

[trunk revision 112027]
Host type:
  --build=BUILD           configure for building on BUILD [BUILD=HOST]
  --host=HOST             configure for HOST [guessed]
  --target=TARGET         configure for TARGET [TARGET=HOST]

[trunk revision 112028]
System types:
  --build=BUILD     configure for building on BUILD [guessed]
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  --target=TARGET   configure for building compilers for TARGET [HOST]

Thus for my purpose I need --build instead of --host for the trunk.


-- 


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


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

* [Bug bootstrap/26673] Bootstrap of GCC trunk failed when configured with --host=...
  2006-03-14  7:05 [Bug bootstrap/26673] New: Bootstrap of GCC trunk failed when configured with --host= grigory_zagorodnev at linux dot intel dot com
                   ` (2 preceding siblings ...)
  2006-03-14 13:32 ` grigory_zagorodnev at linux dot intel dot com
@ 2006-03-14 13:35 ` rguenth at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-03-14 13:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2006-03-14 13:35 -------
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.2.0


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


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

end of thread, other threads:[~2006-03-14 13:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-14  7:05 [Bug bootstrap/26673] New: Bootstrap of GCC trunk failed when configured with --host= grigory_zagorodnev at linux dot intel dot com
2006-03-14  7:10 ` [Bug bootstrap/26673] " grigory_zagorodnev at linux dot intel dot com
2006-03-14 10:27 ` rguenth at gcc dot gnu dot org
2006-03-14 13:32 ` grigory_zagorodnev at linux dot intel dot com
2006-03-14 13:35 ` rguenth at gcc dot gnu dot org

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