Changeset 2ca7fca7
- Timestamp:
- 08/27/2024 08:58:46 AM (2 weeks ago)
- Branches:
- 12.2, multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.2, xry111/multilib
- Children:
- 2b76c89, f4f58d4
- Parents:
- 68c63ae
- git-author:
- Xi Ruoyao <xry111@…> (08/27/2024 08:37:07 AM)
- git-committer:
- Xi Ruoyao <xry111@…> (08/27/2024 08:58:46 AM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/gcc.xml
r68c63ae r2ca7fca7 140 140 </important> 141 141 142 <para>One set of tests in the GCC test suite is known to exhaust the default 143 stack, so increase the stack size prior to running the tests:</para> 144 145 <screen><userinput remap="test">ulimit -s 32768</userinput></screen> 142 <para>GCC may need more stack space compiling some extremely complex 143 code patterns. As a precaution for the host distros with a tight stack 144 limit, explicitly set the stack size hard limit to infinite. 145 On most host distros (and the final LFS system) the hard limit is 146 infinite by default, but there's no harm to set it explicitly anyway. 147 It's not needed to change the stack size soft limit because GCC will 148 automatically set it to an appropriate value, as long as the value does 149 not exceed the hard limit:</para> 150 151 <screen><userinput remap="test">ulimit -s -H unlimited</userinput></screen> 146 152 147 153 <para>Now remove/fix several known test failures:</para>
Note:
See TracChangeset
for help on using the changeset viewer.