https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96203
--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Richard Biener from comment #4) > Arguably the simplest solution is to demote the error to a warning, > --enable-cet > is supposed to only enable CET instrumentation of (part of) the runtime. If > we want to keep the error we'd need to build several variants of libiberty > (in this case). Not sure why libiberty was CET enabled in the first place - > is it used in target libraries? No. It is for liblto_plugin.so. See PR 94739.