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

Florian Weimer fweimer@redhat.com
Wed Jul 24 08:36:00 GMT 2013


On 07/24/2013 10:17 AM, Andrew Haley wrote:
> On 07/24/2013 01:48 AM, David Starner wrote:
>> I'd like to mention that I too was bit by this one on Debian. I don't
>> have a 32-bit development environment installed; why would I? I'm
>> building primarily for myself, and if I did have to target a 32-bit
>> environment, I'd likely have to mess with more stuff then just the
>> compiler.
>
> No, you probably wouldn't.  Just use -m32 and you'd be fine.

No, that doesn't work.  The glibc development environment on 
Debian/amd64 does not contain the 32-bit header files, and that's where 
the error message comes from.

I don't think that's easy to change because of the way dpkg handles file 
conflicts (even if the files are identical) and how true multi-arch 
support is implemented in Debian.

-- 
Florian Weimer / Red Hat Product Security Team



More information about the Gcc mailing list