Changes in chapter08/gcc.xml [5f2ba8c:340e17a]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/gcc.xml
r5f2ba8c r340e17a 41 41 <sect2 role="installation"> 42 42 <title>Installation of GCC</title> 43 <!-- 44 <para>At first, fix an issue breaking 45 <filename class="libraryfile">libasan.a</filename> building this package 46 with Glibc-2.34 or later:</para> 47 48 <screen><userinput remap="pre">sed -e '/static.*SIGSTKSZ/d' \ 49 -e 's/return kAltStackSize/return SIGSTKSZ * 4/' \ 50 -i libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp</userinput></screen> 51 --> 52 <!-- 53 <para>First fix a problem with the latest version of glibc:</para> 54 55 <screen><userinput remap="pre">patch -Np1 -i ../&gcc-upstream-fixes-patch;</userinput></screen> 56 --> 43 57 44 <para>If building on x86_64, change the default directory name for 64-bit 58 45 libraries to <quote>lib</quote>:</para> … … 77 64 --enable-default-pie \ 78 65 --enable-default-ssp \ 66 --enable-host-pie \ 79 67 --disable-multilib \ 80 68 --disable-bootstrap \ … … 148 136 important, but it takes a long time. First-time builders are 149 137 encouraged to run the test suite. The time to run the tests can be 150 reduced significantly by adding -jx to the <command>make -k check</command> command below,151 where x is the number of CPU cores on your system.</para>138 reduced significantly by adding -jx to the <command>make -k check</command> 139 command below, where x is the number of CPU cores on your system.</para> 152 140 </important> 153 141 … … 156 144 157 145 <screen><userinput remap="test">ulimit -s 32768</userinput></screen> 146 147 <para>Now remove/fix several known test failures:</para> 148 149 <screen><userinput remap="test">sed -e '/cpython/d' -i ../gcc/testsuite/gcc.dg/plugin/plugin.exp 150 sed -e 's/no-pic /&-no-pie /' -i ../gcc/testsuite/gcc.target/i386/pr113689-1.c 151 sed -e 's/300000/(1|300000)/' -i ../libgomp/testsuite/libgomp.c-c++-common/pr109062.c 152 sed -e 's/{ target nonpic } //' \ 153 -e '/GOTPCREL/d' -i ../gcc/testsuite/gcc.target/i386/fentryname3.c</userinput></screen> 158 154 159 155 <para>Test the results as a non-privileged user, but do not stop at errors:</para> … … 172 168 url="&test-results;"/> and 173 169 <ulink url="https://gcc.gnu.org/ml/gcc-testresults/"/>.</para> 174 170 <!-- 175 171 <para> 176 172 Eight gcc tests (out of over 185,000): 177 <!- - https://gcc.gnu.org/PR106375 --><filename>pr56837.c</filename>173 <!- - https://gcc.gnu.org/PR106375 - -><filename>pr56837.c</filename> 178 174 and seven tests in the <filename class='directory'>analyzer</filename> 179 175 directory are known to fail. 180 176 181 <!- - https://gcc.gnu.org/PR109353 -->177 <!- - https://gcc.gnu.org/PR109353 - -> 182 178 One libstdc++ test (out of over 15000), <filename>copy.cc</filename>, is 183 179 known to fail. … … 191 187 <filename class='directory'>vect</filename> directory are known to fail 192 188 if the hardware does not support AVX.</para> 193 194 <para>A few unexpected failures cannot always be avoided. The GCC developers 195 are usually aware of these issues, but have not resolved them yet. 189 --> 190 <para>A few unexpected failures cannot always be avoided. In some cases 191 test failures depend on the specific hardware of the system.<!--The GCC developers 192 are usually aware of these issues, but have not resolved them yet.--> 196 193 Unless the test results are vastly different from those at the above URL, 197 194 it is safe to continue.</para>
Note:
See TracChangeset
for help on using the changeset viewer.