fatal error: asm/errno.h: No such file or directory during bootstrap
Georg-Johann Lay
avr@gjlay.de
Thu Jan 18 14:19:00 GMT 2018
On 17.01.2018 18:17, Bernd Edlinger wrote:
> On 01/17/18 17:58, Georg-Johann Lay wrote:
>> On 17.01.2018 17:27, Bernd Edlinger wrote:
>>> I think you need to apt-get install multiarch-support
>>
>> Says
>> ...
>> multiarch-support is already the newest version (2.23-0ubuntu10)
>> ...
>> 0 upgraded, 0 newly installed, 0 to remove and 204 not upgraded
>>
>
> Do you have linux-libc-dev:i386 installed?
After installing it it works now, great.
Strange that it isn't part of linux-libc-dev which was already
present...
>>> or build with --disable-multilib
>> The strange thing is that it used to work. I am not bootstrapping
>> gcc on regular basis, and it's several months ago since I
>> bootstrapped trunk (same OS, same build-gcc, etc.)
>
> Something must have become broken since then.
> Have you tried this:
>
> echo "#include <asm/errno.h>" | gcc -xc - -m32 -H
error without linux-libc-dev:i386, now it works.
> Is your host gcc able to link -m32 executables?
>
>
> Bernd.
Thanks, Johann
More information about the Gcc-help
mailing list