On Mon, Jan 23, 2012 at 10:41:34AM +0100, Dmitry Blum wrote:

 (I changed the title, in case anyone who knows about llvm is just
skimming the titles)

> LLVM 3.0
> 
>  make[3]: Entering directory `/xc/llvm-3.0.src/lib/Target/X86'
>  llvm[3]: Building X86.td register info implementation with tblgen
>  /xc/llvm-3.0.src/Release/bin/llvm-tblgen: Unknown unexpected exception 
> occurred.
>  make[3]: *** 
> [/xc/llvm-3.0.src/lib/Target/X86/Release/X86GenRegisterInfo.inc.tmp] Ошибка 1
>  make[3]: Leaving directory `/xc/llvm-3.0.src/lib/Target/X86'
>  make[2]: *** [X86/.makeall] Ошибка 2
>  make[2]: Leaving directory `/xc/llvm-3.0.src/lib/Target'
>  make[1]: *** [Target/.makeall] Ошибка 2
>  make[1]: Leaving directory `/xc/llvm-3.0.src/lib'
>  make: *** [all] Ошибка 1
> 
> 
>  What`s wrong?

 llvm is *very* new to most of us - so far, I've managed to avoid
building it for my _old_ current video hardware.  I think we can
assume that Ошибка means Error, but that doesn't get us any nearer
understanding the problem.

 I suppose there is a slim chance that it has become confused about
your hardware (perhaps the build system thinks you are building for
x86_64 when you are actually running on i686), but I have no idea
how to establish that, and I don't think it's very likely - unless
you are doing something really unusual (e.g. are you building xorg
in chroot or in a vm ?).  And what _is_ your hardware (cpu,
32 or 64 bit kernel, amount of RAM) ?

 I assume the 'Unknown unexpected exception occurred' message was the
*only* error message.  Are you building with parallel makeflags (-jN
where N >1) ?  If so, try without them.

 Is your host system LFS-7.0 (or later), or something earlier ?  The
only documentation google found looks a bit old, but notes that some
versions of gcc < 4.4 had problems with llvm.

 When we build gcc, it can severely exercise the hardware.  I assume
this compiler is the same - perhaps you have power-supply or RAM
problems.  If all else fails, try running memtest86 to make sure
that the memory is still good.  Maybe try increasing the amount of
available swap, by using a swap file (watching the build in another
terminal using 'top' should tell you if you are likely to run out of
swap).

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to