[Bug 825574] Re: cant compile native gcc /usr/include/linux/errno.h:4:23: fatal error: asm/errno.h: No such file or directory"

Khem Raj 825574 at bugs.launchpad.net
Sat Aug 13 18:13:45 UTC 2011


After todays updates I am getting

/usr/bin/ld: cannot find crti.o: No such file or directory
collect2: error: ld returned 1 exit status
make[3]: *** [libgcc_s.so] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/tmp/gcc/x86_64-unknown-linux-gnu/libgcc'
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory `/tmp/gcc'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/tmp/gcc'
make: *** [all] Error 2

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/825574

Title:
  cant compile native gcc /usr/include/linux/errno.h:4:23: fatal error:
  asm/errno.h: No such file or directory"

Status in “gcc-defaults” package in Ubuntu:
  Confirmed

Bug description:
  I tried to compile upstream gcc natively

  /b/foss/gcc/configure --enable-languages=c,c++ --disable-nls --enable-
  bootstrap --target=x86_64-linux-gnu --build=x86_64-linux-gnu
  --host=x86_64-linux-gnu

  make

  It ends up with
  make[5]: *** [_ashrdi3.o] Error 1
  In file included from /usr/include/bits/errno.h:25:0,
                   from /usr/include/errno.h:36,
                   from /b/foss/gcc/libgcc/../gcc/tsystem.h:94,
                   from /b/foss/gcc/libgcc/../gcc/libgcc2.c:29:
  /usr/include/linux/errno.h:4:23: fatal error: asm/errno.h: No such file or directory
  compilation terminated.
  make[5]: *** [_ashldi3.o] Error 1
  In file included from /usr/include/bits/errno.h:25:0,
                   from /usr/include/errno.h:36,
                   from /b/foss/gcc/libgcc/../gcc/tsystem.h:94,
                   from /b/foss/gcc/libgcc/../gcc/libgcc2.c:29:
  /usr/include/linux/errno.h:4:23: fatal error: asm/errno.h: No such file or directory
  compilation terminated.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/825574/+subscriptions




More information about the foundations-bugs mailing list