H2root, libHbook do not work on a PPC (PowerBook G4)

Hello,

I used the latest SVN version of root (5.23/05) to build root on a PPC (PowerBook G4). Root seems to run fine however I get the same problem as has been mentioned earlier:

I configured the ppc with
[ul]./configure macosx.[/ul]

The only error message during compilation happens at the end:
[ul]gfortran -O2 -o bin/g2root main/src/g2root.o
-Llib lib/libminicern.so
/usr/local/lib/gcc/powerpc-apple-darwin8/4.2.1/…/…/…/libgfortran.dylib /usr/local/lib/gcc/powerpc-apple-darwin8/4.2.1/libgfortranbegin.a -lm -Wl,-rpath,@loader_path/…/lib -pthread -ldl
ld: -rpath can only be used when targeting Mac OS X 10.5 or later

collect2: ld returned 1 exit status
make: *** [bin/g2root] Error 1[/ul]

But I am not sure it is related

Here is what happens with h2root:

[ul] >h2root ~/3126.rzdat
Converting directory //example

*** Break *** segmentation violation
/data/boeglin.1/root/46864: No such file or directory.
Attaching to process 46864.
Reading symbols for shared libraries . done
Reading symbols for shared libraries … done
0x918d6f24 in wait4 ()

========== STACKS OF ALL THREADS ==========

Thread 1 (process 46864 thread 0x10b):
#0 0x918d6f24 in wait4 ()
#1 0x918d49b0 in system$UNIX2003 ()
#2 0x009b4410 in TUnixSystem::StackTrace ()
#3 0x009b7704 in TUnixSystem::DispatchSignals ()
#4
warning: unrecognized length (0xbfffe1d8) for sigtramp context
#5
warning: unrecognized length (0xbfffe1d8) for sigtramp context
Previous frame identical to this frame (gdb could not unwind past this frame)

or from within root:

root [3] tt = new THbookFile(“3126.rzdat”)

*** Break *** segmentation violation
/Users/boeglinw/46950: No such file or directory.
Attaching to process 46950.
Reading symbols for shared libraries . done
Reading symbols for shared libraries … done
0x918d6f24 in wait4 ()

========== STACKS OF ALL THREADS ==========

Thread 1 (process 46950 thread 0x10b):
#0 0x918d6f24 in wait4 ()
#1 0x918d49b0 in system$UNIX2003 ()
#2 0x009b4410 in TUnixSystem::StackTrace ()
#3 0x009b7704 in TUnixSystem::DispatchSignals ()
#4
Cannot access memory at address 0x202020f4
I also get the same problem on a new Mac (Intel Core duo)
[/ul]
Any help is appreciated

Werner

Olivier will investigate this problem once he will be back.

Rene

I’ll look at it. It works on other macs (Intel ?) …

Hi Olivier,

I compiled it on an iMac with a core duo processor and there it worked.

Werner

Hi Werner,
Yes we noticed that. Only the Power PC (PPC) makes problems.
Olivier