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: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Bruce Korb <bruce dot korb at gmail dot com>
- Cc: Andrew Pinski <pinskia at gmail dot com>, Jonathan Wakely <jwakely dot gcc at gmail dot com>, Florian Weimer <fweimer at redhat 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 10:04:00 -0500
- 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> <CA+=Sn1mdgHwqZkkg_APf68_tuXPDtbg1TXVj4TVNyJANOQLDJA at mail dot gmail dot com> <CAKRnqNKDJ9oAFcg=vjN-Jw5W0s2jXRBs-6BNHZMf_V0-OB=FDw at mail dot gmail dot com>
On Tue, Jul 16, 2013 at 9:35 AM, Bruce Korb <bruce.korb@gmail.com> wrote:
> On Tue, Jul 16, 2013 at 7:25 AM, Andrew Pinski <pinskia@gmail.com> wrote:
>>> 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).
>
> Isn't a partial fix better than no fix? And if the most common
> architecture is, in fact,
> x86-64, wouldn't a partial fix that fixed most users make it even more useful?
Agreed. It is surprising that we allowed ourselves to
break the most common target this way.
-- Gaby