tag 644764 moreinfo thanks On 10/08/2011 10:31 PM, Kyle Moffett wrote: > Source: gcc-4.6 > Version: 4.6.1-13 > Severity: serious > Justification: fails to build from source (but built successfully in the past) > > When trying to rebuild gcc-4.6 natively from source, I get build > failures of the following variety: > asm/errno.h: No such file or directory > > In particular, it seems that recent linux-libc-dev packages have moved > the architecture-specific header files from the path "/usr/include/asm" > to "/usr/include/x86_64-linux-gnu/asm". > > In particular, I have linux-libc-dev 3.0.0-3 installed locally. > > The existing "gcc" on the system finds files in that search path, but > when building libgcc it seems that the temporary built "xgcc" does not. > You can some one example failed command below.
> Error output: > In file included from /usr/include/bits/errno.h:25:0, > from /usr/include/errno.h:36, > from ../../../../src/libgcc/../gcc/tsystem.h:93, > from ../../../../src/libgcc/../gcc/libgcc2.c:29: > /usr/include/linux/errno.h:4:23: fatal error: asm/errno.h: No such file or > directory I don't see this. is /usr/include/asm a symlink? is gcc-multilib the recent version in unstable? If this is a local build, make sure that the gcc-multiarch.diff is applied during the build. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org