This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Requirements on Binutils and Linux kernel for GCC + Libsanitizer (was: Re: Bootstrap broken on x86_64 Linux?)
- From: Konstantin Serebryany <konstantin dot s dot serebryany at gmail dot com>
- To: FX <fxcoudert at gmail dot com>
- Cc: GCC Development <gcc at gcc dot gnu dot org>, Tobias Burnus <burnus at net-b dot de>, Kostya Serebryany <kcc at google dot com>, Dmitry Vyukov <dvyukov at google dot com>, Dodji Seketeli <dodji at redhat dot com>, Jakub Jelinek <jakub at redhat dot com>
- Date: Tue, 12 Nov 2013 11:35:59 +0400
- Subject: Re: Requirements on Binutils and Linux kernel for GCC + Libsanitizer (was: Re: Bootstrap broken on x86_64 Linux?)
- Authentication-results: sourceware.org; auth=none
- References: <BB73D69C-56DB-410B-9E8D-B66F2652A2D9 at gmail dot com> <DC9CBACA-ACD2-490D-8355-8F68186C4E55 at gmail dot com> <527F5D05 dot 1020601 at net-b dot de> <A83B7A88-A3DD-472C-90E9-913F2B194B6F at gmail dot com> <CAGQ9bdzQX6A1R-EvhqUDypNVgaquc0C3zqUM3fkVE7xSz70R9w at mail dot gmail dot com> <CAGQ9bdw4cLRJGbbMD+vTkg5RPNKsM6kU6e+OfM6emUqMRk5RbQ at mail dot gmail dot com> <52B586CE-8C2A-44A6-A402-6B7DAFD8A65B at gmail dot com>
[text-only]
On Sun, Nov 10, 2013 at 10:34 PM, FX <fxcoudert@gmail.com> wrote:
>> 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
Agree. From our side we can only guarantee Ubuntu 12.04 and higher.
--kcc
> - 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