LLVM test fails with "gnu/stubs-32.h: No such file or directory"

Subject says it all.

Looking in /usr/include/gnu, I find stubs-64.h and stubs.h, but no
stubs-32.h.
This is probably related to my machine running a 64-bit install of
Ubuntu. I'm not sure whether this should be rectified in Ubuntu or LLVM.

Regards,
Jo

Sorry I am not following. One of the LLVM dejagnu tests is failing due to this?

Evan

Joachim Durchholz wrote:

Subject says it all.

Looking in /usr/include/gnu, I find stubs-64.h and stubs.h, but no
stubs-32.h.
This is probably related to my machine running a 64-bit install of
Ubuntu. I'm not sure whether this should be rectified in Ubuntu or LLVM.

You don't have i386 and x86-64 devel packages installed. Ask your package
manager what package provies stubs-64.h... or --disable-multilib

- --BDS

- --

Benjamin Smedberg
Platform Guru
Mozilla Corporation
benjamin@smedbergs.us
http://benjamin.smedbergs.us/

Yup, that was it. Due to the magic of apt-file, I was able to determine
that stubs-32.h lives in the libc6-dev-i386 package.
Actually multilib support seems to be a requirement, installing
libc6-dev-i386 requires it. I'll see what ramifications will arise.

There were a few other packages missing; for example, the Debian folks
split GCC into a gcc and a g++ package (for good reasons actually).
I'm in the process of collecting the list of extra packages to install
on a Debian-based distro. I'll publish once it's reasonably stable so
that it can be included in the Getting Started Guide.

Regards,
Jo