Damir Buskulic <buskulic@lapp.in2p3.fr> writes: > Hi, > > Yes, I tried NULL and the behaviour is the same. This is on LinuxPPC with > gcc 2.95.2 and ROOT version 2.24/04 wich uses CINT 5.14.37. > I didn't try with other machines but I will on monday. > > Cheers > > Damir Hi Damir, do you have to patch the root source to compile on LinuxPPC? I am aware of your port for the older development tools. I had to change a couple of files to compile Root. I am not using LinuxPPC, I have a Debian/potato distribution with gcc-2.95.2 on Pismo Powerbook. The changes I've made don't conflict with yours. gcc-2.95.2 on my system doesn't come with both __linux and __linux__ defined, I had to modify some files to pick up the right branches by __linux__. I don't know what difference these two symbols should make, so I've just extended the conditions in defines. It would vanish if one used just __linux__ instead, it seems to be defined on all systems. It can be checked by gcc --verbose. There are problems with the optimization. I have reported a compiler bug, which manifests itself by non-continuous lines in an arbitrary contour plot. It's fixed on gcc-pre2.96 snapshots and it might affect also other systems than linux/ppc. The workaroud for 2.95 is to compile HISTPAINTER_HistPainter.cxx with -O2 -fno-strength-reduce. Then I have to compile two files EG_DatabasePDG.cxx and EG_AttParticle.cxx without -O2, I had no time to investigate this but an optimized compilation results in the following errors g++ -g -O2 -Wall -fPIC -DR__GLIBC -fsigned-char -c EG_DatabasePDG.cxx /tmp/cctbbN2Y.s: Assembler messages: /tmp/cctbbN2Y.s:41818: Error: operand out of range (-33768 not between -32768 and 32767) /tmp/cctbbN2Y.s:41832: Error: operand out of range (-33692 not between -32768 and 32767) [.....] Have you found similar problems? I've modified Makefile.linuxdeb2 to pick up -fsigned-char when it's invoked on powerpc system. I've been running root on linux/ppc for about two months. I haven't found other problems but of course I'm using just a subset of Root. Here comes the patch file. I'd like to hear experience other people might have with running root on linux/ppc. Best regards, Jiri
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:25 MET