acrux_it at libero.it
2011-Dec-02 19:18 UTC
[LLVMdev] R: Re: LLVM-3.0 fails to build on linux ppc32
>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
On Fri, 2011-12-02 at 20:18 +0100, acrux_it at libero.it wrote:> >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: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 > > > > cheers, > --nico >-- Hal Finkel Postdoctoral Appointee Leadership Computing Facility Argonne National Laboratory
On Fri, 02 Dec 2011 13:23:07 -0600 Hal Finkel <hfinkel at anl.gov> wrote: _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 ? cheers, --nico -- GNU/Linux on Power Architecture CRUX PPC - http://cruxppc.org/
Possibly Parallel Threads
- [LLVMdev] R: Re: LLVM-3.0 fails to build on linux ppc32
- [LLVMdev] R: Re: LLVM-3.0 fails to build on linux ppc32
- [LLVMdev] R: Re: LLVM-3.0 fails to build on linux ppc32
- [LLVMdev] LLVM-3.0 fails to build on linux ppc32
- [LLVMdev] LLVM-3.0 fails to build on linux ppc32