[cfe-dev] build error in git master
Alexey Samsonov
samsonov at google.com
Thu Oct 4 05:25:24 PDT 2012
I think your build script is OK.
r165222 should fix the problem for you.
On Thu, Oct 4, 2012 at 4:15 PM, Carsten Mattner <carstenmattner at gmail.com>wrote:
> On Thu, Oct 4, 2012 at 2:10 PM, Дмитрий Дьяченко <dimhen at gmail.com> wrote:
> > few days ago i saw similar on Linux-x86_64
> > with slightly different err "fatal error: 'gnu/stubs-32.h' file not
> found"
> > --> after glibc-devel-i386 installation err go away
> >
> > llvm/clang were configured with --enable-targets=host
>
> Anything wrong or improvable in the way I configure and build:
> CC=gcc CXX=g++ \
> ../llvm/configure \
> --prefix=$PREFIX \
> --libdir=$PREFIX/lib/llvm \
> --sysconfdir=$PREFIX/etc \
> --enable-shared \
> --enable-targets=all \
> --disable-expensive-checks \
> --disable-debug-runtime \
> --disable-assertions \
> --with-binutils-include=/usr/include \
> --enable-optimized
>
> Is --enable-targets=all a bad idea? I think I copied the flags from
> a distro package.
>
> After configure is done I call "make REQUIRES_RTTI=1" also inspired
> by a distro package build script.
>
> > Dmitry
> >
> > 2012/10/4 Carsten Mattner <carstenmattner at gmail.com>:
> >> Does anybody else see the following build-error on linux-386?
> >>
> >> COMPILE: clang_linux/asan-x86_64/x86_64:
> >> /tmp/src/llvm/llvm/projects/compiler-rt/lib/asan/asan_linux.cc
> >> In file included from
> >> /tmp/src/llvm/llvm/projects/compiler-rt/lib/asan/asan_linux.cc:24:
> >> In file included from /usr/include/sys/time.h:22:
> >> In file included from /usr/include/features.h:399:
> >> /usr/include/gnu/stubs.h:10:11: fatal error: 'gnu/stubs-64.h' file not
> found
> >> # include <gnu/stubs-64.h>
> >> ^
> >> 1 error generated.
> >> _______________________________________________
> >> cfe-dev mailing list
> >> cfe-dev at cs.uiuc.edu
> >> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
--
Alexey Samsonov, MSK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20121004/b7caec8f/attachment.html>
More information about the cfe-dev
mailing list