diff options
author | Zack Winkles <winkie@linuxfromscratch.org> | 2004-05-03 21:28:58 +0000 |
---|---|---|
committer | Zack Winkles <winkie@linuxfromscratch.org> | 2004-05-03 21:28:58 +0000 |
commit | 9dfc02ff38f26117daffe7d8b822ebb64a3fed04 (patch) | |
tree | c3ea0521973ac75238f6ab5f674d5b4fc4032df8 /chapter05/gcc-pass2.xml | |
parent | 411ceb86b8150183a447f89b4789395bf16fddf0 (diff) |
Current BE-LFS (but w/ GCC 3.3.3) merged -> 6.0 branch
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3445 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/gcc-pass2.xml')
-rw-r--r-- | chapter05/gcc-pass2.xml | 35 |
1 files changed, 6 insertions, 29 deletions
diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml index d89d82e82..fbf321af4 100644 --- a/chapter05/gcc-pass2.xml +++ b/chapter05/gcc-pass2.xml @@ -83,10 +83,9 @@ variables that override the default optimization flags.</para> <para>Now prepare GCC for compilation:</para> <screen><userinput>../gcc-&gcc-version;/configure --prefix=/tools \ - --with-local-prefix=/tools \ - --enable-clocale=gnu --enable-shared \ - --enable-threads=posix --enable-__cxa_atexit \ - --enable-languages=c,c++</userinput></screen> + --libexecdir=/tools/lib --with-local-prefix=/tools \ + --enable-clocale=gnu --enable-shared --enable-threads=posix \ + --enable-__cxa_atexit --enable-languages=c,c++</userinput></screen> <para>The meaning of the new configure options:</para> @@ -141,34 +140,12 @@ a summary of the test suite results, run this:</para> <para>You can compare your results to those posted to the gcc-testresults mailing list for similar configurations to your own. For an example of how current GCC-&gcc-version; should look on i686-pc-linux-gnu, see -<ulink url="http://gcc.gnu.org/ml/gcc-testresults/2004-01/msg00826.html"/>.</para> - -<para>Note that the results contain:</para> - -<screen>* 1 XPASS (unexpected pass) for g++ -* 1 FAIL (unexpected failure) for gcc -* 24 XPASS's for libstdc++</screen> - -<para>The unexpected pass for g++ is due to the use of -<emphasis>--enable-__cxa_atexit</emphasis>. Apparently not all platforms -supported by GCC have support for <quote>__cxa_atexit</quote> in their C -libraries, so this test is not always expected to pass.</para> - -<para>The 24 unexpected passes for libstdc++ are due to the use of -<emphasis>--enable-clocale=gnu</emphasis>. This option, which is the correct -choice on Glibc-based systems of versions 2.2.5 and above, enables in the GNU C -library a locale support that is superior to the otherwise selected -<emphasis>generic</emphasis> model (which may be applicable if for instance you -were using Newlibc, Sun-libc or whatever other libc). The libstdc++ test suite -is apparently expecting the <emphasis>generic</emphasis> model, hence those -tests are not always expected to pass.</para> +<ulink url="http://gcc.gnu.org/ml/gcc-testresults/2004-04/msg00414.html"/>.</para> <para>Having a few unexpected failures often cannot be avoided. The GCC developers are usually aware of these, but haven't yet gotten around to fixing -them. One particular case in point is the filebuf_members test in the C++ -standard library testsuite. This test has been observed to fail in some -situations, but succeeed in others. In short, unless your results are vastly -different from those at the above URL, it is safe to continue.</para> +them. In short, unless your results are vastly different from those at the above +URL, it is safe to continue.</para> <para>And finally install the package:</para> |