I’m trying to build Root on a 32-bit PowerPC. This is listed as a supported architecture on root.cern.ch/drupal/content/supp … hitectures
I originally started trying 64 bits - also listed as a supported architecture.
I run ./configure linuxppc64gcc --minimal --enable-builtin-lzma --enable-builtin-zlib --enable-builtin-freetype --enable-builtin-pcre
and rootcint_tmp crashes. As far as I can tell, it’s a big-endian issue, and I don’t understand how it ever worked.
For my first 32-bit attempt, I tried ./configure linuxppcgcc --minimal --enable-builtin-lzma --enable-builtin-zlib --enable-builtin-freetype --enable-builtin-pcre
This does the same thing, although I suspect that, despite the name, this is actually 64-bit as well. From make:
checking build system type... powerpc64-unknown-linux-gnu
checking host system type... powerpc64-unknown-linux-gnu
checking whether the gcc linker (/usr/bin/ld -m elf64ppc) supports shared libraries... yes
Next, I tried ./configure linux --minimal --enable-builtin-lzma --enable-builtin-zlib --enable-builtin-freetype --enable-builtin-pcre
This seems to be genuine 32-bit (-m32 options in gcc) and gives me a working rootcint_tmp. The build goes as far as trying to make libCore.so, and fails on a number of undefined references
[code]
TApplication.cxx:(.text+0x494): undefined reference to ROOT::GenerateInitInstance(TApplication const*)' core/base/src/TApplication.o:(.got2+0x4): undefined reference to
vtable for TIter’
core/base/src/TApplication.o:(.got2+0x40): undefined reference to vtable for TSysEvtHandler' core/base/src/TApplication.o:(.got2+0x2d0): undefined reference to
vtable for TTime’
TApplication.cxx:(.text._ZNK15TApplicationImp3IsAEv[TApplicationImp::IsA() const]+0x20): undefined reference to TApplicationImp::Class()' TApplication.cxx:(.text._ZNK6TTimer3IsAEv[TTimer::IsA() const]+0x30): undefined reference to
TTimer::Class()'
TApplication.cxx:(.text._ZNK12TApplication3IsAEv[TApplication::IsA() const]+0x30): undefined reference to TApplication::Class()' core/base/src/TApplication.o:(.data.rel.ro._ZTV12TApplication[vtable for TApplication]+0xe8): undefined reference to
TApplication::ShowMembers(TMemberInspector&)'
core/base/src/TApplication.o:(.data.rel.ro._ZTV12TApplication[vtable for TApplication]+0xec): undefined reference to TApplication::Streamer(TBuffer&)' core/base/src/TApplication.o:(.data.rel.ro._ZTV12TApplication[vtable for TApplication]+0x1b0): undefined reference to
non-virtual thunk to TApplication::ShowMembers(TMemberInspector&)‘
core/base/src/TApplication.o:(.data.rel.ro._ZTV12TApplication[vtable for TApplication]+0x1b4): undefined reference to `non-virtual thunk to TApplication::Streamer(TBuffer&)’
…
TUnixSystem.cxx:(.text._ZNK11TUnixSystem3IsAEv[TUnixSystem::IsA() const]+0x20): undefined reference to TUnixSystem::Class()' core/unix/src/TUnixSystem.o:(.data.rel.ro._ZTV11TUnixSystem[vtable for TUnixSystem]+0xe8): undefined reference to
TUnixSystem::ShowMembers(TMemberInspector&)‘
core/unix/src/TUnixSystem.o:(.data.rel.ro._ZTV11TUnixSystem[vtable for TUnixSystem]+0xec): undefined reference to `TUnixSystem::Streamer(TBuffer&)[/code]’
What is my next step?