public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/56752] New: GCC fails to bootstrap on Debian GNU/Linux 7.0 (wheezy) when x32 libraries aren't installed
@ 2013-03-27 10:32 prosfilaes at gmail dot com
  2013-03-27 10:42 ` [Bug bootstrap/56752] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: prosfilaes at gmail dot com @ 2013-03-27 10:32 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 56752
           Summary: GCC fails to bootstrap on Debian GNU/Linux 7.0
                    (wheezy) when x32 libraries aren't installed
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: prosfilaes@gmail.com


Created attachment 29737
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29737
Last lines of compilation

I ran CC=gcc-4.6 ../gcc-4.8.0/configure
--prefix=/home/prosfilaes/bin/gcc-4.8.0/
--enable-languages=ada,c,c++,java,fortran
and then
make bootstrap
It fails with 
In file included from /usr/include/stdio.h:28:0,
                 from ../../../../gcc-4.8.0/libgcc/../gcc/tsystem.h:87,
                 from ../../../../gcc-4.8.0/libgcc/libgcc2.c:27:
/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or
directory
 #include <bits/predefs.h>
                          ^
compilation terminated.
make[5]: *** [_muldi3.o] Error 1
make[5]: Leaving directory
`/home/prosfilaes/Program_Source/gcc-480-objdir/x86_64-unknown-linux-gnu/32/libgcc'
(fuller log attached)
Poking at it, this seems to be telling me that I don't have a 32-bit
development package installed, which is true, but shouldn't it stop at
configure and tell me that instead of erring out in the middle of compilation
with an unhelpful error message?


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

* [Bug bootstrap/56752] GCC fails to bootstrap on Debian GNU/Linux 7.0 (wheezy) when x32 libraries aren't installed
  2013-03-27 10:32 [Bug bootstrap/56752] New: GCC fails to bootstrap on Debian GNU/Linux 7.0 (wheezy) when x32 libraries aren't installed prosfilaes at gmail dot com
@ 2013-03-27 10:42 ` rguenth at gcc dot gnu.org
  2013-03-27 10:55 ` prosfilaes at gmail dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-03-27 10:42 UTC (permalink / raw)
  To: gcc-bugs


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> 2013-03-27 10:42:24 UTC ---
No, that's the way it always has been.


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

* [Bug bootstrap/56752] GCC fails to bootstrap on Debian GNU/Linux 7.0 (wheezy) when x32 libraries aren't installed
  2013-03-27 10:32 [Bug bootstrap/56752] New: GCC fails to bootstrap on Debian GNU/Linux 7.0 (wheezy) when x32 libraries aren't installed prosfilaes at gmail dot com
  2013-03-27 10:42 ` [Bug bootstrap/56752] " rguenth at gcc dot gnu.org
@ 2013-03-27 10:55 ` prosfilaes at gmail dot com
  2013-03-27 11:00 ` redi at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: prosfilaes at gmail dot com @ 2013-03-27 10:55 UTC (permalink / raw)
  To: gcc-bugs


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

David Starner <prosfilaes at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |

--- Comment #2 from David Starner <prosfilaes at gmail dot com> 2013-03-27 10:55:02 UTC ---
I don't understand how "that's the way it always has been" is an answer. If
there's a library missing (especially one the installation instructions don't
mention), it should tell you that, not fail in the middle with an obscure error
message. That it has done in it in the past doesn't justify the behavior.


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

* [Bug bootstrap/56752] GCC fails to bootstrap on Debian GNU/Linux 7.0 (wheezy) when x32 libraries aren't installed
  2013-03-27 10:32 [Bug bootstrap/56752] New: GCC fails to bootstrap on Debian GNU/Linux 7.0 (wheezy) when x32 libraries aren't installed prosfilaes at gmail dot com
  2013-03-27 10:42 ` [Bug bootstrap/56752] " rguenth at gcc dot gnu.org
  2013-03-27 10:55 ` prosfilaes at gmail dot com
@ 2013-03-27 11:00 ` redi at gcc dot gnu.org
  2013-03-27 11:08 ` [Bug bootstrap/56752] GCC fails to bootstrap on Debian GNU/Linux 7.0 (wheezy) when 32-bit " redi at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: redi at gcc dot gnu.org @ 2013-03-27 11:00 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-03-27 11:00:16 UTC ---
How do you propose to check that?

You might not have a 32-bit compiler with which to test those headers during
configuration, so it's not easy to test them until after we've bootstrapped a
multilib compiler.


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

* [Bug bootstrap/56752] GCC fails to bootstrap on Debian GNU/Linux 7.0 (wheezy) when 32-bit libraries aren't installed
  2013-03-27 10:32 [Bug bootstrap/56752] New: GCC fails to bootstrap on Debian GNU/Linux 7.0 (wheezy) when x32 libraries aren't installed prosfilaes at gmail dot com
                   ` (2 preceding siblings ...)
  2013-03-27 11:00 ` redi at gcc dot gnu.org
@ 2013-03-27 11:08 ` redi at gcc dot gnu.org
  2013-03-29 10:00 ` prosfilaes at gmail dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: redi at gcc dot gnu.org @ 2013-03-27 11:08 UTC (permalink / raw)
  To: gcc-bugs


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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |documentation
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-03-27
            Summary|GCC fails to bootstrap on   |GCC fails to bootstrap on
                   |Debian GNU/Linux 7.0        |Debian GNU/Linux 7.0
                   |(wheezy) when x32 libraries |(wheezy) when 32-bit
                   |aren't installed            |libraries aren't installed
     Ever Confirmed|0                           |1

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-03-27 11:08:20 UTC ---
Also this is nothing to do with x32, which is a different ABI, you just mean
32-bit.

Confirming as a dcoumentation bug,
http://gcc.gnu.org/install/specific.html#x86-64-x-x could mention that building
a bi-arch compiler requires both 32-bit and 64-bit libc


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

* [Bug bootstrap/56752] GCC fails to bootstrap on Debian GNU/Linux 7.0 (wheezy) when 32-bit libraries aren't installed
  2013-03-27 10:32 [Bug bootstrap/56752] New: GCC fails to bootstrap on Debian GNU/Linux 7.0 (wheezy) when x32 libraries aren't installed prosfilaes at gmail dot com
                   ` (3 preceding siblings ...)
  2013-03-27 11:08 ` [Bug bootstrap/56752] GCC fails to bootstrap on Debian GNU/Linux 7.0 (wheezy) when 32-bit " redi at gcc dot gnu.org
@ 2013-03-29 10:00 ` prosfilaes at gmail dot com
  2021-07-19  6:10 ` pinskia at gcc dot gnu.org
  2021-07-19  6:12 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: prosfilaes at gmail dot com @ 2013-03-29 10:00 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #5 from David Starner <prosfilaes at gmail dot com> 2013-03-29 10:00:04 UTC ---
You could check that right after building the multilib compiler before trying
to compile real code. That would at least give an error message that said what
was wrong, instead of one that's opaque to the causal installer.


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

* [Bug bootstrap/56752] GCC fails to bootstrap on Debian GNU/Linux 7.0 (wheezy) when 32-bit libraries aren't installed
  2013-03-27 10:32 [Bug bootstrap/56752] New: GCC fails to bootstrap on Debian GNU/Linux 7.0 (wheezy) when x32 libraries aren't installed prosfilaes at gmail dot com
                   ` (4 preceding siblings ...)
  2013-03-29 10:00 ` prosfilaes at gmail dot com
@ 2021-07-19  6:10 ` pinskia at gcc dot gnu.org
  2021-07-19  6:12 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-07-19  6:10 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56752

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

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

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Been fixed since r0-127201 .

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

* [Bug bootstrap/56752] GCC fails to bootstrap on Debian GNU/Linux 7.0 (wheezy) when 32-bit libraries aren't installed
  2013-03-27 10:32 [Bug bootstrap/56752] New: GCC fails to bootstrap on Debian GNU/Linux 7.0 (wheezy) when x32 libraries aren't installed prosfilaes at gmail dot com
                   ` (5 preceding siblings ...)
  2021-07-19  6:10 ` pinskia at gcc dot gnu.org
@ 2021-07-19  6:12 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-07-19  6:12 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56752

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gerald at pfeifer dot com

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 54444 has been marked as a duplicate of this bug. ***

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

end of thread, other threads:[~2021-07-19  6:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-27 10:32 [Bug bootstrap/56752] New: GCC fails to bootstrap on Debian GNU/Linux 7.0 (wheezy) when x32 libraries aren't installed prosfilaes at gmail dot com
2013-03-27 10:42 ` [Bug bootstrap/56752] " rguenth at gcc dot gnu.org
2013-03-27 10:55 ` prosfilaes at gmail dot com
2013-03-27 11:00 ` redi at gcc dot gnu.org
2013-03-27 11:08 ` [Bug bootstrap/56752] GCC fails to bootstrap on Debian GNU/Linux 7.0 (wheezy) when 32-bit " redi at gcc dot gnu.org
2013-03-29 10:00 ` prosfilaes at gmail dot com
2021-07-19  6:10 ` pinskia at gcc dot gnu.org
2021-07-19  6:12 ` pinskia at gcc dot gnu.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).