source: BOOK/final-system/multilib/glibc.xml@ b9fa514

systemd
Last change on this file since b9fa514 was 58375318, checked in by William Harrington <kb0iic@…>, 8 years ago

Use --enable-stack-protector=strong during GLIBC final system.

  • Property mode set to 100644
File size: 4.2 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
[cbbd1e4]8<sect1 id="ch-system-glibc-32" role="wrap">
9 <?dbhtml filename="glibc.html"?>
[3f8be484]10
[d785e9d]11 <title>Glibc-&glibc-version; 32 Bit Libraries</title>
[3f8be484]12
[cbbd1e4]13 <indexterm zone="ch-system-glibc-32">
[d785e9d]14 <primary sortas="a-Glibc">Glibc</primary>
[3f8be484]15 <secondary>32 Bit</secondary>
16 </indexterm>
17
[dabbced]18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[cbbd1e4]19 href="../common/glibc.xml"
[1cd688b]20 xpointer="xpointer(//*[@role='package'])"/>
[3f8be484]21
22 <sect2 role="installation">
[d785e9d]23 <title>Installation of Glibc</title>
[3f8be484]24
[dabbced]25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[cbbd1e4]26 href="../common/glibc.xml"
[82f7fed]27 xpointer="xpointer(//*[@os='z'])"/>
[3f8be484]28
[22cd957]29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[cbbd1e4]30 href="../common/glibc.xml"
[22cd957]31 xpointer="xpointer(//*[@os='l1'])"/>
32
33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[cbbd1e4]34 href="../common/glibc.xml"
[22cd957]35 xpointer="xpointer(//*[@os='l2'])"/>
36
[dabbced]37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[cbbd1e4]38 href="../common/glibc.xml"
[3f8be484]39 xpointer="xpointer(//*[@os='b'])"/>
[00a58649]40
[dabbced]41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[cbbd1e4]42 href="../common/glibc.xml"
[3f8be484]43 xpointer="xpointer(//*[@os='e'])"/>
44
[dabbced]45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[cbbd1e4]46 href="../common/glibc.xml"
[3f8be484]47 xpointer="xpointer(//*[@os='f'])"/>
48
[dabbced]49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[cbbd1e4]50 href="../common/glibc.xml"
[3f8be484]51 xpointer="xpointer(//*[@os='g'])"/>
52
[d3a4fc0]53<screen os="h"><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
[7cd7f99]54../glibc-&glibc-version;/configure \
55 --prefix=/usr \
56 --enable-kernel=&glibc-kernel-version; \
57 --libexecdir=/usr/lib/glibc \
58 --host=${CLFS_TARGET32} \
[58375318]59 --enable-stack-protector=strong \
[52ed4da]60 --enable-obsolete-rpc</userinput></screen>
[3f8be484]61
[dabbced]62 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[cbbd1e4]63 href="../common/glibc.xml"
[3f8be484]64 xpointer="xpointer(//*[@os='i'])"/>
65
[dabbced]66 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[cbbd1e4]67 href="../common/glibc.xml"
[3f8be484]68 xpointer="xpointer(//*[@os='j'])"/>
69
[dabbced]70 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[cbbd1e4]71 href="../common/glibc.xml"
[3f8be484]72 xpointer="xpointer(//*[@os='k'])"/>
73
[dabbced]74 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[cbbd1e4]75 href="../common/glibc.xml"
[3f8be484]76 xpointer="xpointer(//*[@os='l'])"/>
77
[71f750e]78 <para os="l1b">In multilib, we tend to think that compiling for
[44aaa3d0]79 <literal>${CLFS_TARGET32}</literal> is <emphasis>not</emphasis>
[d785e9d]80 cross-compiling. Glibc takes the traditional view that if you are building
[ac3984c]81 for a different host then you are cross-compiling, so you won't be running
82 the tests and therefore you don't need the locale files. When we run
[44aaa3d0]83 the tests, many will fail if the locale files are missing. The following
84 sed allows these tests to succeed:</para>
85
[cbbd1e4]86<screen os="l2b"><userinput>sed -i '/cross-compiling/s@ifeq@ifneq@g' ../glibc-&glibc-version;/localedata/Makefile</userinput></screen>
[44aaa3d0]87
[dabbced]88 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[cbbd1e4]89 href="../common/glibc.xml"
[3f8be484]90 xpointer="xpointer(//*[@os='m'])"/>
91
[dabbced]92 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[cbbd1e4]93 href="../common/glibc.xml"
[3f8be484]94 xpointer="xpointer(//*[@os='n'])"/>
95
[dabbced]96 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[cbbd1e4]97 href="../common/glibc.xml"
[3f8be484]98 xpointer="xpointer(//*[@os='o'])"/>
99
[dabbced]100 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[cbbd1e4]101 href="../common/glibc.xml"
[3f8be484]102 xpointer="xpointer(//*[@os='p'])"/>
103
[dabbced]104 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[cbbd1e4]105 href="../common/glibc.xml"
[3f8be484]106 xpointer="xpointer(//*[@os='q'])"/>
107
[dabbced]108 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[cbbd1e4]109 href="../common/glibc.xml"
[3f8be484]110 xpointer="xpointer(//*[@os='r'])"/>
111
[dabbced]112 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[cbbd1e4]113 href="../common/glibc.xml"
[3f8be484]114 xpointer="xpointer(//*[@os='s'])"/>
115
[dabbced]116 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[cbbd1e4]117 href="../common/glibc.xml"
[3f8be484]118 xpointer="xpointer(//*[@os='t'])"/>
119
120 </sect2>
121
122 <sect2 role="content">
123 <title/>
124
125 <para>Details on this package are located in <xref
[cbbd1e4]126 linkend="contents-glibc" role="."/></para>
[3f8be484]127
128 </sect2>
129
130</sect1>
Note: See TracBrowser for help on using the repository browser.