- Timestamp:
- 05/18/2024 03:52:51 PM (4 months ago)
- Branches:
- 12.2, gimp3, lazarus, trunk, xry111/for-12.3, xry111/spidermonkey128
- Children:
- 7069ea6
- Parents:
- 75b018e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/gcc.xml
r75b018e rcd3f88c 8 8 <!ENTITY gcc-download-ftp " "> 9 9 <!-- Update this also on the grub-uefi page --> 10 <!ENTITY gcc-md5sum " e0e48554cc6e4f261d55ddee9ab69075">11 <!ENTITY gcc-size "8 4MB">12 <!ENTITY gcc-buildsize "1 3 GB (2.9GB installed with all listed languages; add 1.5 GB for tests)">13 <!ENTITY gcc-time "1 3 SBU (add 29SBU for tests; both with parallelism=8)">10 <!ENTITY gcc-md5sum "24195dca80ded5e0551b533f46a4481d"> 11 <!ENTITY gcc-size "88 MB"> 12 <!ENTITY gcc-buildsize "11 GB (3.4 GB installed with all listed languages; add 1.5 GB for tests)"> 13 <!ENTITY gcc-time "12 SBU (add 32 SBU for tests; both with parallelism=8)"> 14 14 ]> 15 15 … … 169 169 --enable-default-pie \ 170 170 --enable-default-ssp \ 171 --enable-host-pie \ 171 172 --disable-fixincludes \ 172 173 --enable-languages=c,c++,fortran,go,objc,obj-c++,m2 && 173 174 make</userinput></screen> 174 175 175 <para> 176 <para>If running tests, as in LFS, remove/fix several known test failures:</para> 177 178 <screen><userinput>sed -e '/cpython/d' -i ../gcc/testsuite/gcc.dg/plugin/plugin.exp 179 sed -e 's/no-pic /&-no-pie /' -i ../gcc/testsuite/gcc.target/i386/pr113689-1.c 180 sed -e 's/300000/(1|300000)/' -i ../libgomp/testsuite/libgomp.c-c++-common/pr109062.c 181 sed -e 's/{ target nonpic } //' \ 182 -e '/GOTPCREL/d' -i ../gcc/testsuite/gcc.target/i386/fentryname3.c</userinput></screen> 183 184 <para> 176 185 If you have installed additional packages such as 177 186 <application>valgrind</application> and <application>gdb</application>, 178 187 the <application>gcc</application> part of the test suite will run more 179 188 tests than in LFS. Some of those will report FAIL and others XPASS 180 (pass when expected to FAIL). As of gcc-1 3.2.0, about 65 FAILoccur189 (pass when expected to FAIL). As of gcc-14.1.0, about 74 FAILs occur 181 190 in the <quote>guality</quote> suite, as well as miscellaneous failures 182 191 throughout the rest of the test suite. 183 If all the compilers above are built, there will be a little over 80 184 unexpected failures out of over 546,000 tests. To run the tests, issue: 185 </para> 192 If all the compilers above are built, there will be a little over 110 193 unexpected failures out of over 617,000 tests. To run the tests, issue: 194 </para> 195 186 196 187 197 <screen><userinput>ulimit -s 32768 && … … 249 259 compiling programs. <xref linkend="gSSP"/> is a technique preventing 250 260 alteration of the program flow by corrupting the parameter stack. 261 </para> 262 263 <para> 264 <parameter>--enable-host-pie</parameter>: Makes the compiler 265 executables PIE (Position Independent Executable). This can be used to 266 enhance protection against ROP (Return Oriented Programming) attacks, 267 and can be viewed as part of a wider trend to harden binaries. 251 268 </para> 252 269
Note:
See TracChangeset
for help on using the changeset viewer.