Changeset 98e7ac4
- Timestamp:
- 12/18/2016 03:14:26 PM (6 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 8.0, 8.0-rc1, 8.1, 8.1-rc1, 8.1-rc2, 8.2, 8.2-rc1, 8.3, 8.3-rc1, 8.3-rc2, 8.4, 8.4-rc1, 9.0, 9.0-rc1, 9.1, 9.1-rc1, arm, bdubbs/gcc13, cross-chap5, ml-11.0, multilib, old-trunk, s6-init, trunk, xry111/arm64, xry111/clfs-ng, xry111/git-transition, xry111/glibc-2.34, xry111/glibc-2.37, xry111/kcfg-revise, xry111/lfs-next, xry111/pip3, xry111/queue-11.3, xry111/rust-wip-20221008, xry111/tester-nohack, xry111/usr-move
- Children:
- ed3be61
- Parents:
- be3d9f3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
rbe3d9f3 r98e7ac4 44 44 --> 45 45 <listitem> 46 <para>2016-12-18</para> 47 <itemizedlist> 48 <listitem> 49 <para>[dj] - Update toolchain sanity checks to use values for 50 x86_64.</para> 51 </listitem> 52 </itemizedlist> 53 </listitem> 54 55 <listitem> 46 56 <para>2016-12-17</para> 47 57 <itemizedlist> … … 49 59 <para>[dj] - Remove {,/usr}/lib64 symlinks for x86_64 builds. Add 50 60 /lib64 directory with symlinks to dynamic loader. Adjust installation 51 of glibc, gcc, and libcap to account for filesystemd changes.</para> 61 of glibc, gcc, and libcap to account for directory layout 62 changes.</para> 52 63 </listitem> 53 64 </itemizedlist> -
chapter06/adjusting.xml
rbe3d9f3 r98e7ac4 51 51 platform-specific differences in dynamic linker name):</para> 52 52 53 <screen os="c"><computeroutput>[Requesting program interpreter: /lib /ld-linux.so.2]</computeroutput></screen>53 <screen os="c"><computeroutput>[Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]</computeroutput></screen> 54 54 55 55 <para>Note that <filename class="directory">/lib</filename> is now 56 56 the prefix of our dynamic linker.</para> 57 57 58 <note><para>On 64-bit systems the interpreter should be59 /lib 64/ld-linux-x86-64.so.2.</para></note>58 <note><para>On 32-bit systems the interpreter should be 59 /lib/ld-linux.so.2.</para></note> 60 60 61 61 <para os="d">Now make sure that we're setup to use the correct start files:</para> … … 65 65 <para os="f">The output of the last command should be:</para> 66 66 67 <screen><computeroutput>/usr/lib/crt1.o succeeded 68 /usr/lib/crti.o succeeded 69 /usr/lib/crtn.o succeeded</computeroutput></screen> 70 71 <note><para>On 64-bit systems, the path above will be 72 /usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib64/. This 73 reduces to /usr/lib64 and /usr/lib64 is a symlink that points to 74 /usr/lib.</para></note> 67 <screen><computeroutput>/usr/lib/../lib/crt1.o succeeded 68 /usr/lib/../lib/crti.o succeeded 69 /usr/lib/../lib/crtn.o succeeded</computeroutput></screen> 75 70 76 71 <para os="g">Verify that the compiler is searching for the correct header … … 92 87 93 88 <screen><computeroutput>SEARCH_DIR("/usr/lib") 94 SEARCH_DIR("/lib") ;</computeroutput></screen>89 SEARCH_DIR("/lib")</computeroutput></screen> 95 90 96 91 <para os="l">Next make sure that we're using the correct libc:</para> … … 98 93 <screen os="m"><userinput>grep "/lib.*/libc.so.6 " dummy.log</userinput></screen> 99 94 100 <para os="n">The output of the last command (allowing for a lib64 directory 101 on 64-bit hosts) should be:</para> 95 <para os="n">The output of the last command should be:</para> 102 96 103 97 <screen os="o"><computeroutput>attempt to open /lib/libc.so.6 succeeded</computeroutput></screen> … … 107 101 <screen os="q"><userinput>grep found dummy.log</userinput></screen> 108 102 109 <para os="r"> The output of the last command should be (allowing for 110 platform-specific differences in dynamic linker name and a lib64 directory on 111 64-bit hosts):</para> 103 <para os="r">The output of the last command should be (allowing for 104 platform-specific differences in dynamic linker name):</para> 112 105 113 <screen os="s"><computeroutput>found ld-linux .so.2 at /lib/ld-linux.so.2</computeroutput></screen>106 <screen os="s"><computeroutput>found ld-linux-x86-64.so.2 at /lib/ld-linux-x86-64.so.2</computeroutput></screen> 114 107 115 108 <para os="t">If the output does not appear as shown above or is not received -
chapter06/gcc.xml
rbe3d9f3 r98e7ac4 121 121 122 122 <para>Results can be compared with those located at <ulink 123 url="&test-results;"/> and <ulink url="http://gcc.gnu.org/ml/gcc-testresults/"/>.</para> 123 url="&test-results;"/> and 124 <ulink url="http://gcc.gnu.org/ml/gcc-testresults/"/>.</para> 124 125 125 126 <para>A few unexpected failures cannot always be avoided. The GCC developers … … 180 181 xpointer="xpointer(//*[@os='f'])"/> 181 182 182 <screen><computeroutput>/usr/lib/gcc/ i686-pc-linux-gnu/&gcc-version;/../../../crt1.o succeeded183 /usr/lib/gcc/ i686-pc-linux-gnu/&gcc-version;/../../../crti.o succeeded184 /usr/lib/gcc/ i686-pc-linux-gnu/&gcc-version;/../../../crtn.o succeeded</computeroutput></screen>183 <screen><computeroutput>/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crt1.o succeeded 184 /usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crti.o succeeded 185 /usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crtn.o succeeded</computeroutput></screen> 185 186 186 187 <para>Depending on your machine architecture, the above may differ slightly, … … 202 203 203 204 <screen><computeroutput>#include <...> search starts here: 204 /usr/lib/gcc/ i686-pc-linux-gnu/&gcc-version;/include205 /usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/include 205 206 /usr/local/include 206 /usr/lib/gcc/ i686-pc-linux-gnu/&gcc-version;/include-fixed207 /usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/include-fixed 207 208 /usr/include</computeroutput></screen> 208 209 … … 226 227 href="adjusting.xml" 227 228 xpointer="xpointer(//*[@os='k'])"/> 229 230 <screen><computeroutput>SEARCH_DIR("/usr/x86_64-pc-linux-gnu/lib64") 231 SEARCH_DIR("/usr/local/lib64") 232 SEARCH_DIR("/lib64") 233 SEARCH_DIR("/usr/lib64") 234 SEARCH_DIR("/usr/x86_64-pc-linux-gnu/lib") 235 SEARCH_DIR("/usr/local/lib") 236 SEARCH_DIR("/lib") 237 SEARCH_DIR("/usr/lib");</computeroutput></screen> 238 239 <para>A 32-bit system may see a few different directories. For example, here 240 is the output from an i686 machine:</para> 228 241 229 242 <screen><computeroutput>SEARCH_DIR("/usr/i686-pc-linux-gnu/lib32") … … 236 249 SEARCH_DIR("/usr/lib");</computeroutput></screen> 237 250 238 <para>A 64-bit system may see a few different directories. For example, here239 is the output from an x86_64 machine:</para>240 241 <screen><computeroutput>SEARCH_DIR("/usr/x86_64-unknown-linux-gnu/lib64")242 SEARCH_DIR("/usr/local/lib64")243 SEARCH_DIR("/lib64")244 SEARCH_DIR("/usr/lib64")245 SEARCH_DIR("/usr/x86_64-unknown-linux-gnu/lib")246 SEARCH_DIR("/usr/local/lib")247 SEARCH_DIR("/lib")248 SEARCH_DIR("/usr/lib");</computeroutput></screen>249 250 251 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 251 252 href="adjusting.xml"
Note:
See TracChangeset
for help on using the changeset viewer.