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

Bug#638867: linux-libc-dev: errno.h includes non-existent asm/errno.h for -m32



On 2011-08-22 17:07 +0200, François Revol wrote:

> Package: linux-libc-dev
> Version: 3.0.0-2
> Severity: important
>
> Last update seems to break compiling some Haiku build tools which currently
> require -m32. Build log below.
>
> cf. https://www.haiku-os.org/guides/building
>
> $ (cd generated-x86-gcc4/; jam -q haiku-vmware-image)
> ....patience...
> ....patience...
> ....patience...
> ....patience...
> ....patience...
> ....patience...
> ....patience...
> ....patience...
> ....patience...
> ....patience...
> ....found 98358 target(s)...
> ....updating 4654 target(s)...
> InitScript1 /home/revol/devel/haiku/trunk/generated-x86-gcc4/haiku.image-init-vars 
> C++ /home/revol/devel/haiku/trunk/generated-x86-gcc4/objects/linux/x86/release/build/libroot/atomic.o 
> In file included from /usr/include/bits/errno.h:25:0,
>                  from /usr/include/errno.h:36,
>                  from /home/revol/devel/haiku/trunk/headers/build/os/support/Errors.h:15,
>                  from /home/revol/devel/haiku/trunk/headers/build/BeOSBuildCompatibility.h:32,
>                  from /home/revol/devel/haiku/trunk/src/build/libroot/atomic.cpp:1:
> /usr/include/linux/errno.h:4:23: fatal error: asm/errno.h: No such file or directory
> compilation terminated.

I bet /usr/include/asm is an empty directory on your system while it's
supposed to be a symlink to x86_64-linux-gnu/asm.  See
http://bugs.debian.org/638418 for details.

Cheers,
       Sven



Reply to: