Changeset 0d487e0


Ignore:
Timestamp:
09/13/2022 04:03:45 PM (19 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
951e075
Parents:
fb5ad92
Message:

gcc: update sanity check command and output for default PIE

Scrt1.o is used for PIE, instead of crt1.o.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/gcc.xml

    rfb5ad92 r0d487e0  
    228228  <para>Now make sure that we're setup to use the correct start files:</para>
    229229
    230 <screen><userinput>grep -o '/usr/lib.*/crt[1in].*succeeded' dummy.log</userinput></screen>
     230<screen><userinput>grep -E -o '/usr/lib.*/S?crt[1in].*succeeded' dummy.log</userinput></screen>
    231231
    232232  <para>The output of the last command should be:</para>
    233233
    234 <screen><computeroutput>/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crt1.o succeeded
     234<screen><computeroutput>/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/Scrt1.o succeeded
    235235/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crti.o succeeded
    236236/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crtn.o succeeded</computeroutput></screen>
Note: See TracChangeset for help on using the changeset viewer.