From: FX <fxcoudert@gmail.com>
To: gcc@gcc.gnu.org
Cc: prosfilaes@gmail.com, jwakely.gcc@gmail.com
Subject: Re: fatal error: gnu/stubs-32.h: No such file
Date: Sun, 28 Jul 2013 13:24:00 -0000 [thread overview]
Message-ID: <AA0A6252-438B-49DB-BDF6-0544CA1330BD@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 369 bytes --]
> The fact it's not listed as a prerequesite has already been pointed
> out as a problem with the docs.
As a consensual first step toward addressing this issue, I suggest the following patch to the doc. I hope it is clear enough, but suggestions are obviously welcome. (I haven't even compiled the docs with it, as I'm on my laptop with little battery.)
FX
[-- Attachment #2: multilib_patch.txt --]
[-- Type: text/plain, Size: 1280 bytes --]
Index: install.texi
===================================================================
--- install.texi (revision 201292)
+++ install.texi (working copy)
@@ -255,6 +255,26 @@ may need to use @option{--disable-stage1
bootstrapping the compiler with such earlier compilers is strongly
discouraged.
+@item C standard library and headers
+
+In order to build GCC, the C standard library and headers must be present
+for all target variants for which target libraries will be built (and not
+only the variant of the host C++ compiler).
+
+This affects the popular @samp{x86_64-unknown-linux-gnu} platform (among
+other multilib targets), for which 64-bit (@samp{x86_64}) and 32-bit
+(@samp{i386}) libc headers are usually packaged separately. If you do a
+build of a native compiler on @samp{x86_64-unknown-linux-gnu}, beware of
+either:
+
+@itemize @bullet
+@item having 32-bit libc developer package properly installed (the exact
+name of the package depends on your distro); otherwise, you may encounter an
+error such as @samp{fatal error: gnu/stubs-32.h: No such file}
+@item building GCC as a 64-bit only compiler, by configuring with the
+option @option{--disable-multilib}
+@end itemize
+
@item GNAT
In order to build the Ada compiler (GNAT) you must already have GNAT
next reply other threads:[~2013-07-28 13:24 UTC|newest]
Thread overview: 76+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-28 13:24 FX [this message]
2013-07-29 13:06 ` FX
2013-07-29 13:23 ` Andrew Haley
2013-07-29 13:55 ` Bruce Korb
2013-07-29 14:20 ` Andrew Haley
2013-07-30 4:28 ` David Starner
2013-07-30 4:50 ` David Starner
2013-07-30 4:58 ` Andrew Pinski
2013-07-30 13:13 ` David Starner
2013-07-30 7:56 ` Andrew Haley
2013-07-30 12:52 ` David Starner
2013-07-30 14:34 ` Andrew Haley
2013-07-30 11:06 ` Michael Veksler
2013-07-30 13:54 ` FX
2013-07-31 19:44 ` Matthias Klose
2013-07-31 20:14 ` Jonathan Wakely
2013-07-31 20:23 ` Russ Allbery
-- strict thread matches above, loose matches on Subject: below --
2013-07-24 0:48 David Starner
2013-07-24 8:17 ` Andrew Haley
2013-07-24 8:36 ` Florian Weimer
2013-07-24 8:39 ` Andrew Haley
2013-07-24 9:05 ` Florian Weimer
2013-07-24 9:18 ` Andrew Haley
2013-07-24 10:32 ` David Starner
2013-07-24 11:14 ` Andrew Haley
2013-07-24 12:26 ` David Starner
2013-07-24 13:44 ` Andrew Haley
2013-07-24 12:37 ` Gabriel Dos Reis
2013-07-24 13:45 ` Andrew Haley
2013-07-24 15:38 ` Gabriel Dos Reis
2013-07-24 15:50 ` Andrew Haley
2013-07-24 22:52 ` David Starner
2013-07-25 8:17 ` Andrew Haley
2013-07-26 0:00 ` David Starner
2013-07-26 9:01 ` Andrew Haley
2013-07-27 13:56 ` David Starner
2013-07-27 19:23 ` Jonathan Wakely
2013-07-27 22:54 ` Gabriel Dos Reis
2013-07-27 23:10 ` David Starner
2013-07-27 23:53 ` Gabriel Dos Reis
2013-07-06 15:41 Bruce Korb
2013-07-06 16:02 ` Andrew Haley
2013-07-06 16:09 ` Bruce Korb
2013-07-06 18:53 ` Andreas Schwab
2013-07-07 14:00 ` Bruce Korb
2013-07-07 17:44 ` Jonathan Wakely
2013-07-07 20:33 ` Gabriel Dos Reis
2013-07-07 23:02 ` Jonathan Wakely
2013-07-08 5:17 ` Gabriel Dos Reis
2013-07-08 5:19 ` Andrew Pinski
2013-07-08 5:55 ` Gabriel Dos Reis
2013-07-08 5:59 ` Andrew Pinski
2013-07-08 6:33 ` Gabriel Dos Reis
2013-07-08 8:43 ` Andrew Haley
2013-07-08 9:00 ` Gabriel Dos Reis
2013-07-08 7:13 ` Jakub Jelinek
2013-07-08 7:18 ` Gabriel Dos Reis
2013-08-14 8:53 ` Alexandre Oliva
2013-08-14 16:39 ` Andreas Schwab
2013-08-14 19:01 ` Gabriel Dos Reis
2013-07-08 15:11 ` Bruce Korb
2013-07-08 15:24 ` Jakub Jelinek
2013-07-08 15:39 ` Bruce Korb
2013-07-08 17:27 ` Jonathan Wakely
2013-07-08 18:08 ` Bruce Korb
2013-07-16 9:40 ` Florian Weimer
2013-07-16 12:46 ` Gabriel Dos Reis
2013-07-16 13:24 ` Jonathan Wakely
2013-07-16 14:26 ` Andrew Pinski
2013-07-16 14:35 ` Bruce Korb
2013-07-16 15:04 ` Gabriel Dos Reis
2013-07-16 15:11 ` Jonathan Wakely
2013-07-16 15:13 ` Gabriel Dos Reis
2013-07-16 15:40 ` Bruce Korb
2013-07-08 8:42 ` Andrew Haley
2013-07-07 20:31 ` Gabriel Dos Reis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AA0A6252-438B-49DB-BDF6-0544CA1330BD@gmail.com \
--to=fxcoudert@gmail.com \
--cc=gcc@gcc.gnu.org \
--cc=jwakely.gcc@gmail.com \
--cc=prosfilaes@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).