﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
23	ppc64 outstanding issues	ken	ken	" Since we're supposed to be creating tickets to discuss non-trivial stuff, this is a general place to record breakage in ppc64.  Some of this actually is trivial, but it's convenient to record it here as a reminder.

1. in chapter 5, for glibc headers and probably for the 64-bit glibc we need to add the following to config.cache:

echo ""libc_cv_mlong_double_128ibm=yes"" >> config.cache
echo ""libc_cv_mlong_double_128=yes"" >> config.cache
echo ""libc_cv_powerpc64_tls=yes"" >> config.cache

2. chapter 7 is problematic - my understanding is that running ybin to bless the boot partition
(yes, that really is the term) will either fail because the host is a machine not using Open
Firmware, or (e.g. on a 32-bit mac) will update the host's bootloader.  Possibly, it can be
done if the host is the same machine running OSX, I don't know and I'm not about to try that.

3. chapter 10 needs to install perl with the Configure_multilib and libc_lib64 patches plus -Dlibpth and -Dcc as in other multilib.

4. chapter 10 needs to build the following as both 32 and 64 bit: zlib, ncurses, readline,
flex, gettext, procps, file, libtool, bzip2, e2fsprogs, shadow,

5. chapter 10 binutils needs --libdir=/usr/lib64, and from memory there might be test failures.
I haven't tested these toolchain versions yet.

6. chapter 10 gcc remove --disable-multilib and add --libdir=/usr/lib64 --libexecdir=/usr/lib64

7. chapter 10 add lib64 references when configuring findutils, gawk, groff.

8. powerpc-utils doesn't want to build with a compiler which defaults to -m64.  I've got a new
version of the patch which allows us to pass ${BUILD32} as EXTRACFLAGS - builds, but I'm not
entirely sure about it: on a distro you can use nvsetenv to enquire about the nvram, but that
doesn't work here.

9. yaboot - we need to pass -m32 to '$(CC) --print-libgcc-file-name' in the Makefile, and
CC is already overridden to ${CROSS}gcc, so I use a sed -
sed -i ""s/\(-print-libgcc-file-name\)/${BUILD32} \1/"" Makefile

 ISTR that it needed more patches to compile - I've got a pile of random patches from fedora,
but although it ompiles and the first-stage (OS chooser) works, the second stage (linux loader)
doesn't work.

10. In general, chapter 10 needs loat of CC=""gcc ${BUILD64}"" and similar CXX, to match the other
multilib arches.  This is purely cosmetic if our default compiler is 64-bit.


"	task	closed	major	CLFS Standard 1.0.0	BOOK	CLFS Standard 1.0.0	fixed		
