[Clfs-dev] ppc/64 comments

Ken Moffat zarniwhoop73 at googlemail.com
Wed Jul 28 16:33:34 PDT 2010


Hi,

 I'm playing with a native-build 32-bit powerpc on ppc64, which is O/T
for this list.  But a couple
of points might be relevant to people here -

The powerpc headers in linux-2.6.34 are broken for userspace.  The patch is in
2.6.35-rc6 but it doesn't seem to have made it to 2.6.34.1.
http://www.mail-archive.com/linuxppc-dev@lists.ozlabs.org/msg44783.html

Now that I've reverted to 32-bit userspace, I need to make cross-binutils
and the initial cross-gcc to build a 64-bit C compiler for the kernel.  I was
using recent versions of everything, with binutils-2.20.1 and gcc-4.4.3.
On my old partially-multilib systems, the cross compilation from within
linux32 gave no problems.  On the new system, cross-compiling (powerpc
to powerpc64) caused libtool to segfault while building bfd.  Reverting to
binutils-2.20 removed the problem.  Hopefully, this is specific to something
I'm doing wrong and YMMV.  If not, try the older version.

ĸen
-- 
After tragedy, and farce, "OMG poneys!"



More information about the Clfs-dev mailing list