This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fatal error: gnu/stubs-32.h: No such file


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]