[LLVMdev] R: Re: LLVM-3.0 fails to build on linux ppc32

acrux_it at libero.it acrux_it at libero.it
Fri Dec 2 11:18:14 PST 2011


>Da: hfinkel at anl.gov
>Data: 02/12/2011 16.27
>A: "acrux_it at libero.it"<acrux_it at libero.it>
>Cc: <llvmdev at cs.uiuc.edu>
>Ogg: Re: [LLVMdev] LLVM-3.0 fails to build on linux ppc32
>
>On Fri, 2011-12-02 at 09:15 -0600, Hal Finkel wrote:
>> On Fri, 2011-12-02 at 06:58 -0600, Hal Finkel wrote:
>> > Nico,
>> > 
>> > There is a third place that '#undef PPC' is needed (at the top of
>> > PPCFixupKinds.h). Alternatively, you can run configure with -UPPC in
>> > your CPPFLAGS. I'll try to get this fixed in trunk shortly.
>> 
>> I just tested this, and I was wrong: passing -UPPC to configure in
>> CPPFLAGS does not work for some reason. Providing CPPFLAGS=-UPPC as an
>> argument to make, however, does seem to work.
>> 
>> $ make CPPFLAGS=-UPPC
>
>Unfortunately, this also causes problems. This seems better:
>
>$ make CXX='g++ -UPPC'
>
>(where g++ should be whatever your original CXX was).
>


ciao Hal,
thanks a lot for your support.
i'll try your last suggestion.

Btw, adding -UPPC to my system cxx flags i.e.:
export CXXFLAGS="$CXXFLAGS -UPPC"

i got, instead,  some tests error:

  Expected Passes    : 5565
  Expected Failures  : 48
  Unsupported Tests  : 15
  Unexpected Failures: 28
make[1]: *** [check-local-lit] Error 1
make[1]: Leaving directory `/mnt/EXT/00/llvm/work/src/llvm-3.0.src/test'
make: *** [check] Error 2



cheers,
--nico




More information about the llvm-dev mailing list