Changeset 9dfc02f for chapter05/gcc-pass2.xml
- Timestamp:
- 05/03/2004 09:28:58 PM (20 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, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 5f505ff, c8ba565
- Parents:
- 411ceb8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/gcc-pass2.xml
r411ceb8 r9dfc02f 84 84 85 85 <screen><userinput>../gcc-&gcc-version;/configure --prefix=/tools \ 86 --with-local-prefix=/tools \ 87 --enable-clocale=gnu --enable-shared \ 88 --enable-threads=posix --enable-__cxa_atexit \ 89 --enable-languages=c,c++</userinput></screen> 86 --libexecdir=/tools/lib --with-local-prefix=/tools \ 87 --enable-clocale=gnu --enable-shared --enable-threads=posix \ 88 --enable-__cxa_atexit --enable-languages=c,c++</userinput></screen> 90 89 91 90 <para>The meaning of the new configure options:</para> … … 142 141 mailing list for similar configurations to your own. For an example of how 143 142 current GCC-&gcc-version; should look on i686-pc-linux-gnu, see 144 <ulink url="http://gcc.gnu.org/ml/gcc-testresults/2004-01/msg00826.html"/>.</para> 145 146 <para>Note that the results contain:</para> 147 148 <screen>* 1 XPASS (unexpected pass) for g++ 149 * 1 FAIL (unexpected failure) for gcc 150 * 24 XPASS's for libstdc++</screen> 151 152 <para>The unexpected pass for g++ is due to the use of 153 <emphasis>--enable-__cxa_atexit</emphasis>. Apparently not all platforms 154 supported by GCC have support for <quote>__cxa_atexit</quote> in their C 155 libraries, so this test is not always expected to pass.</para> 156 157 <para>The 24 unexpected passes for libstdc++ are due to the use of 158 <emphasis>--enable-clocale=gnu</emphasis>. This option, which is the correct 159 choice on Glibc-based systems of versions 2.2.5 and above, enables in the GNU C 160 library a locale support that is superior to the otherwise selected 161 <emphasis>generic</emphasis> model (which may be applicable if for instance you 162 were using Newlibc, Sun-libc or whatever other libc). The libstdc++ test suite 163 is apparently expecting the <emphasis>generic</emphasis> model, hence those 164 tests are not always expected to pass.</para> 143 <ulink url="http://gcc.gnu.org/ml/gcc-testresults/2004-04/msg00414.html"/>.</para> 165 144 166 145 <para>Having a few unexpected failures often cannot be avoided. The GCC 167 146 developers are usually aware of these, but haven't yet gotten around to fixing 168 them. One particular case in point is the filebuf_members test in the C++ 169 standard library testsuite. This test has been observed to fail in some 170 situations, but succeeed in others. In short, unless your results are vastly 171 different from those at the above URL, it is safe to continue.</para> 147 them. In short, unless your results are vastly different from those at the above 148 URL, it is safe to continue.</para> 172 149 173 150 <para>And finally install the package:</para>
Note:
See TracChangeset
for help on using the changeset viewer.