[LLVMdev] cross-compiling current trunk fails

Frank Winter fwinter at jlab.org
Mon Mar 17 13:51:30 PDT 2014


The weird thing is that I get different behavior depending on whether 
executing

make

or

make -j 10 install

after configuring. The former results in

checking whether GCC is new enough... no
configure: error:
The selected GCC C++ compiler is not new enough to build LLVM. Please 
upgrade
to GCC 4.7. You may pass --disable-compiler-version-checks to configure to
bypass these sanity checks.


the latter in the result described in the first email.

That's odd. I never had problems with a parallel build.

Ideas?

Frank


On 03/17/2014 03:55 PM, Frank Winter wrote:
> Hi,
>
> cross-compiling LLVM on the ppc64 architecture fails with:
>
> make[1]: *** No rule to make target 
> `../build/llvm-r204075/BuildTools/Debug+Asserts/bin/llvm-tblgen', 
> needed by 
> `../build/llvm-r204075/lib/IR/Debug+Asserts/Intrinsics.gen.tmp'. Stop.
> make[1]: *** Waiting for unfinished jobs....
>
> this fails for me for
> r204075 (today) and
> r203443.
>
> Configuration details:
>
> $LLVMPATH/configure \
>     --prefix=$INSTALL/llvm-$TYPE \
>     --host=powerpc64-bgq-linux \
>     --build=powerpc64-unknown-linux-gnu \
>     --enable-shared \
>     --disable-terminfo \
>     --disable-zlib \
>     --enable-targets=powerpc \
>     CXX=${CXX} \
>     CXXFLAGS="${CXXFLAGS}" \
>     CC=${CC} \
>     CFLAGS="${CFLAGS}" \
>     LDFLAGS="${LDFLAGS}"
>
> with
>
> CXXFLAGS="-O3 -fPIC"
> LDFLAGS="-shared -ldl"
> CC=bgclang
> CXX=bgclang++11
>
>
> Anyone any idea how to track this down?
>
> Thanks,
> Frank
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev





More information about the llvm-dev mailing list