This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Requirements on Binutils and Linux kernel for GCC + Libsanitizer (was: Re: Bootstrap broken on x86_64 Linux?)


> Unfortunately, we are not able to keep up with the old kernels.
> Two possible ways to go:
>  - disable libsanitizer on older kernels
>  - someone needs to work with us in upstream repository (llvm) to keep the code old-kernel-compatible

(It appears to be not only kernel, but binutils.)

I think, at least the following should be done:

  - identify and document the minimal requirements
  - test for necessary features at compilation time (we have full autoconf, presence of crucial headers should be tested) and issue a meaningful error message if they are not found
  - ideally, but I know it is more work: disable libsanitizer automatically from toplevel configure if requirements are not met

This is what is done for dependencies of all default parts of the compiler, as far as I can tell.

FX

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]