[LLVMdev] install question
shackan at gmail.com
Fri Aug 15 10:31:45 PDT 2008
On Fri, Aug 15, 2008 at 6:48 PM, Rubin, Norman <Norman.Rubin at amd.com> wrote:
> I'm trying to install llvm on my windows development box and hit a
> I'm using cygwin
> cygwin% gcc --version
> gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
> I downloaded both the top of tree via svn
> I ran ./configure
> make: Entering directory `/cygdrive/c/llvm/lib/Support'
> llvm: Compiling APFloat.cpp for Debug build
> llvm: Compiling APInt.cpp for Debug build
> APInt.cpp: In member function `void
> llvm::APInt::Profile(llvm::FoldingSetNodeID&) const':
> APInt.cpp:170: error: call of overloaded `AddInteger(const uint32_t&)'
> is ambiguous
> /cygdrive/c/llvm/include/llvm/ADT/FoldingSet.h:216: note: candidates
> are: void llvm::FoldingSetNodeID::AddInteger(int)
> /cygdrive/c/llvm/include/llvm/ADT/FoldingSet.h:217: note: void
> llvm::FoldingSetNodeID::AddInteger(unsigned int)
> /cygdrive/c/llvm/include/llvm/ADT/FoldingSet.h:218: note: void
> /cygdrive/c/llvm/include/llvm/ADT/FoldingSet.h:219: note: void
> make: *** [/cygdrive/c/llvm/lib/Support/Debug/APInt.o] Error 1
> make: Leaving directory `/cygdrive/c/llvm/lib/Support'
> make: *** [all] Error 1
> I also tried the 2.3 release and got the same error.
> I must have done something wrong - some care to enlighten me?
> Hopefully this has not been asked many times already. If it is well
> known, where should I have looked for the answer?
it's a cygwin problem, they finally fixed it upstream a couple of months ago
here's the (trivial) diff of the file you have to edit
More information about the llvm-dev