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

--- Comment #27 from Sam James <sjames at gcc dot gnu.org> ---
(In reply to Frank Scheiner from comment #26)
> (In reply to Sam James from comment #25)
> > --enable-checking=yes,extra is the default for non-released compilers unless
> > you override it with --enable-checking=release. I build thousands of
> > packages (and their testsuites, and then use the result for real) with
> > --enable-checking=yes,extra,rtl.
> 
> That's what I wanted to know, thanks for clarification. Can this checking in
> the compiler then be switched off for a kernel build (or specific files
> only)? Because obviously an ia64 kernel can't be built successfully with a
> GCC made with `--enable-checking=yes,extra,rtl`.

You can do -fno-checking to disable some bits at runtime. If that isn't enough
for this case, you may want to drop the calls to qsort_chk or stub it out.

Reply via email to