Re: fatal error: asm/errno.h: No such file or directory during bootstrap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux