https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95680

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <h...@gcc.gnu.org>:

https://gcc.gnu.org/g:c6632dc9a8ee77ad66a8d62d736a9112de9e41c7

commit r11-3080-gc6632dc9a8ee77ad66a8d62d736a9112de9e41c7
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Tue Sep 8 05:54:56 2020 -0700

    libphobos: Include <cet.h> to generate the CET marker for -fcf-protection

    Include <cet.h> to generate the CET marker for -fcf-protection to avoid

    /bin/ld:
../libdruntime/.libs/libgdruntime_convenience.a(libgdruntime_convenience_la-switchcontext.o):
error: missing IBT and SHSTK properties

    when -z cet-report=error is passed to the linker to create libgphobos.so
    and libgdruntime.so.

            PR d/95680
            * libdruntime/config/x86/switchcontext.S: Include <cet.h> to
            generate the CET marker for -fcf-protection.

Reply via email to