source: BOOK/temp-system/ppc64/choose.xml @ d785e9d

clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since d785e9d was d785e9d, checked in by Chris Staub <chris@…>, 9 years ago

Standardize capitalization of Glibc

  • Property mode set to 100644
File size: 1.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4  <!ENTITY % general-entities SYSTEM "../../general.ent">
5  %general-entities;
6]>
7
8<sect1 id="ch-temp-system-choose">
9  <?dbhtml filename="choose.html"?>
10
11  <title>To Boot or to Chroot?</title>
12
13    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
14    href="../common/choose.xml"
15    xpointer="xpointer(//*[@os='a'])"/>
16
17    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
18    href="../common/choose.xml"
19    xpointer="xpointer(//*[@os='b'])"/>
20
21  <para>Powerpc64 is slightly different from some of the other
22  architectures, because a 64-bit kernel running 32-bit userspace can
23  successfully chroot and execute 64-bit programs.  However, if the
24  kernel personality has been set to 32-bit by a utility such as
25  linux32, it will eventually fail when Glibc thinks it is building
26  on a 32-bit system and tries to include incompatible assembler code
27  in the 64-bit glibc.</para>
28
29  <para>To see if you can successfully chroot to build the final powerpc64
30  system, enter the following command which tests if you are running a
31  64-bit Linux 2.6 kernel (with a 64-bit personality):</para>
32
33<screen><userinput>uname -a | grep '^Linux.*2\.6\..*ppc64' &amp;&amp; \
34    echo "ok to chroot" || echo "you must boot"</userinput></screen>
35
36    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
37    href="../common/choose.xml"
38    xpointer="xpointer(//*[@os='e'])"/>
39
40    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
41    href="../common/choose.xml"
42    xpointer="xpointer(//*[@os='f'])"/>
43
44</sect1>
Note: See TracBrowser for help on using the repository browser.