Da: hfinkel@anl.gov
Data: 02/12/2011 16.27
A: "acrux_it@libero.it"<acrux_it@libero.it>
Cc: <llvmdev@cs.uiuc.edu>
Ogg: Re: [LLVMdev] LLVM-3.0 fails to build on linux ppc32
> 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"
>Da: hfinkel@anl.gov
>Data: 02/12/2011 16.27
>A: "acrux_it@libero.it"<acrux_it@libero.it>
>Cc: <llvmdev@cs.uiuc.edu>
>Ogg: Re: [LLVMdev] LLVM-3.0 fails to build on linux ppc32
>
>> > 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:
Indeed; it appears that JIT is broken on PPC/Linux, and so the tests
that actually try to run code fail. I'll look at this in greater detail
when I have some time.
>
> 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:
Indeed; it appears that JIT is broken on PPC/Linux, and so the tests
that actually try to run code fail. I'll look at this in greater
detail when I have some time.
_omissis__
> >
> > 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:
>
> Indeed; it appears that JIT is broken on PPC/Linux, and so the tests
> that actually try to run code fail. I'll look at this in greater
> detail when I have some time.
>
> -Hal
>
> >
> > 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
> >
hi Hal,
did you already opened a bug ticket ?
I've not opened tickets for these failures because I've not specifically
looked into the individual causes (in other words, I'd like to
characterize each failure as an assertion failure (with the failing
assertion noted), linking errors, a segfault, etc.) If you could do
that, that would be great (these are not prerequisites to filing a bug
report, but I think it would be quite useful).
I've not opened tickets for these failures because I've not specifically
looked into the individual causes (in other words, I'd like to
characterize each failure as an assertion failure (with the failing
assertion noted), linking errors, a segfault, etc.) If you could do
that, that would be great (these are not prerequisites to filing a bug
report, but I think it would be quite useful).
-Hal
here attached my full buildlog thus you can compare it with your own failures.