[Bug bootstrap/48879] Compilation cannot find file asm/errno.h

2018-01-18 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48879

--- Comment #9 from Georg-Johann Lay  ---
Hi, installing linux-libc-dev:i386 resolved this issue for me (linux-libc-dev
was already installed).

[Bug bootstrap/48879] Compilation cannot find file asm/errno.h

2011-11-15 Thread davek at 6thstreetradio dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48879

davek at 6thstreetradio dot org changed:

   What|Removed |Added

 CC||davek at 6thstreetradio dot
   ||org

--- Comment #6 from davek at 6thstreetradio dot org 2011-11-15 21:11:04 UTC ---
On Ubuntu 11.10 (oneiric), linux-libc-dev installs to
/usr/include/i386-linux-gnu (or whatever your arch is, I suspect).  In order to
get gcc to build, I had to symlink the dir:

sudo ln -s /usr/include/i386-linux-gnu/asm /usr/include/asm

Whether it's a bug in ubuntu gcc, or the libc-dev package, I dunno.


[Bug bootstrap/48879] Compilation cannot find file asm/errno.h

2012-07-03 Thread aric999 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48879

eric  changed:

   What|Removed |Added

 CC||aric999 at gmail dot com

--- Comment #7 from eric  2012-07-03 16:12:57 UTC ---
I had the same problem, and fixed it by copying "/usr/include/i386-linux-gnu/"
from another 32bit system to your current system.

I your system doesn't have /usr/include/i386-linux-gnu/, GCC cannot find the
right PATH to i386-linux-gnu


[Bug bootstrap/48879] Compilation cannot find file asm/errno.h

2011-05-05 Thread mancilla at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48879

Blanca Mancilla  changed:

   What|Removed |Added

  Component|c++ |bootstrap

--- Comment #5 from Blanca Mancilla  
2011-05-05 22:09:28 UTC ---
(In reply to comment #2)
> Shouldn't this be Component=bootstrap not c++ ?

Yes, sorry.

> I assume the linux-libc-dev package is installed? That provides asm/errno.h

Yes that is installed.

> What compiler are you using to bootstrap? If it's the standard system compiler
> it should know to look in /usr/include/x86_64-linux-gnu, if not then it's a 
> bug
> in the Ubuntu gcc package

4.5.2, which came with the distribution.

> What is the output of "gcc -v -x c /dev/null -c" ?

Is is attached.

A bug in the Ubuntu gcc package confirms the fact that problems started after
the upgrade. Thanks for clearing things out.

Regards,
Blanca


[Bug bootstrap/48879] Compilation cannot find file asm/errno.h

2013-10-21 Thread branko.drevensek at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48879

Branko Drevensek  changed:

   What|Removed |Added

 CC||branko.drevensek at gmail dot 
com

--- Comment #8 from Branko Drevensek  ---
This still happens with Ubuntu 12.04.3 and gcc 4.8.2. Are you sure this is just
ubuntu error?
I had to install linux-libc-dev:i386, but I'm building on 64 bit system for the
host (which has properly installed linux-libc-dev that existing gcc has in
include search path).