[LLVMdev] vmkit: Getting Started

Nicolas Geoffray nicolas.geoffray at gmail.com
Wed May 23 23:55:21 PDT 2012


Hi Patrick,

On Thu, May 24, 2012 at 2:18 AM, Patrik Plihal <patrik.plihal at gmail.com>wrote:

> Hi,
>
> I recently tried to follow the instructions on
>   http://vmkit.llvm.org/get_**started.html<http://vmkit.llvm.org/get_started.html>
>
> but all I get is
>
> -- snip --
>
> In file included from /home/birdspider/vmkit-test/**
> llvm/include/llvm/Support/**SwapByteOrder.h:20:
> /usr/bin/../lib/gcc/x86_64-**unknown-linux-gnu/4.7.0/../../**
> ../../include/c++/4.7.0/**limits:1404:27: error: use of undeclared
> identifier '__int128'; did you mean '__int128_t'?
>    struct numeric_limits<__int128>
>                          ^
> /usr/bin/../lib/gcc/x86_64-**unknown-linux-gnu/4.7.0/../../**
> ../../include/c++/4.7.0/**limits:1478:36: error: expected '>'
>    struct numeric_limits<unsigned __int128>
>                                   ^
> /usr/bin/../lib/gcc/x86_64-**unknown-linux-gnu/4.7.0/../../**
> ../../include/c++/4.7.0/**limits:1478:5: error: cannot combine with
> previous '(error)' declaration specifier
>    struct numeric_limits<unsigned __int128>
>    ^
> /usr/bin/../lib/gcc/x86_64-**unknown-linux-gnu/4.7.0/../../**
> ../../include/c++/4.7.0/**limits:1478:44: error: expected unqualified-id
>    struct numeric_limits<unsigned __int128>
>

The problem seems to be  that llvm does not compile with gcc 4.7. Could you
try an earlier version of gcc?

Nicolas

                                          ^
> 6 errors generated.
> make[1]: *** [/home/birdspider/vmkit-test/**llvm/lib/Support/Release+**Asserts/APFloat.o]
> Fehler 1
> make[1]: Leaving directory `/home/birdspider/vmkit-test/**
> llvm/lib/Support'
> make: *** [all] Fehler 1
> [birdspider at hellsguardlinux llvm]$
>
> there is the whole output of
> ./configure; make
> attached
>
>
> Any ideas? I just wanted to try it out, right now I have no clue what goes
> wrong.
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120524/8737c7b2/attachment.html>


More information about the llvm-dev mailing list