This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: fatal error: gnu/stubs-32.h: No such file
- From: Andrew Pinski <pinskia at gmail dot com>
- To: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- Cc: Gabriel Dos Reis <gdr at integrable-solutions dot net>, Florian Weimer <fweimer at redhat dot com>, Bruce Korb <bruce dot korb at gmail dot com>, Jakub Jelinek <jakub at redhat dot com>, Andreas Schwab <schwab at linux-m68k dot org>, GCC <gcc at gcc dot gnu dot org>
- Date: Tue, 16 Jul 2013 07:25:57 -0700
- Subject: Re: fatal error: gnu/stubs-32.h: No such file
- References: <51D83AAC dot 4080200 at gmail dot com> <87y59jo6yq dot fsf at igel dot home> <51D97472 dot 8010704 at gmail dot com> <CAH6eHdSzVcjpVzktBfi6n0cNq=DfBOADAP3BpvTqydmzCFwbCQ at mail dot gmail dot com> <CAAiZkiB0W3Lbv63eXcpP6EYhbj-t4DJ=zvFEsSfer_n6nKM_wA at mail dot gmail dot com> <CAH6eHdS9v+GyLvVYEjVDbuFtGxwn27-VhqEofykYMe0C_tv9aA at mail dot gmail dot com> <CAAiZkiBjh3iR+Gsh2etKRnzO2q=N5iBnXQgwwod4vOELSsbLRA at mail dot gmail dot com> <CA+=Sn1=M9_uUHxEV6r0b-0AQE73v=Lv=AgbWwT9nAMuZ=_M7xQ at mail dot gmail dot com> <CAKRnqNJa840OJfszZPQm7vhfedbTo4XkVVx1ZHz8ybFMxzx_dw at mail dot gmail dot com> <20130708152427 dot GQ2336 at tucnak dot redhat dot com> <CAKRnqN+Y77wh1yQ+0hhudFZtVyZutFt8LHYxSfhqownNePuS4A at mail dot gmail dot com> <51E514CB dot 4050006 at redhat dot com> <CAAiZkiCJFAagOV2J+8Bd62BuFA9fzDUHt8qtsphvj9MhqGnSmg at mail dot gmail dot com> <CAH6eHdTrLrw_d1Wxm3V6oQ1PMqnVWCC0XupPbW8NYqTtk09HoQ at mail dot gmail dot com>
On Tue, Jul 16, 2013 at 6:24 AM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> On 16 July 2013 13:46, Gabriel Dos Reis wrote:
>> On Tue, Jul 16, 2013 at 4:39 AM, Florian Weimer <fweimer@redhat.com> wrote:
>>> I think this is actually a glibc problem. I wonder if it's possible to
>>> install a stubs-32.h file in a suitable location by default which contains
>>> an illuminating #error directive. That file would be hidden by the real one
>>> if you install the actual 32 bit development environment.
>>>
>>> --
>>> Florian Weimer / Red Hat Product Security Team
>>
>> that wouldn't solve the failures on current systems.
>
> GCC sources could contain a gnu/stubs-32.h header with an #error and
> ensure that the right directory to find it is searched when building
> the target libraries, but only after all other directories. It
> wouldn't need to be installed with GCC because it's only needed while
> configuring the target libs.
That only fixes x86_64 (and maybe powerpc), it does not fix the other
targets which use multi-lib (MIPS64 or soon AARCH64).
Thanks,
Andrew