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: Jakub Jelinek <jakub at redhat dot com>
- Cc: Kostya Serebryany <kcc at google dot com>, FX <fxcoudert at gmail dot com>, GCC Development <gcc at gcc dot gnu dot org>, Tobias Burnus <burnus at net-b dot de>, Dmitry Vyukov <dvyukov at google dot com>, Dodji Seketeli <dodji at redhat dot com>
- Date: Tue, 12 Nov 2013 12:11:11 +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> <CAN=P9piBNfik2J+McH09DHTfB3_FRs4VEEQjdoBdAPCVEuzXuA at mail dot gmail dot com> <20131112075247 dot GN27813 at tucnak dot zalov dot cz>
On Tue, Nov 12, 2013 at 11:52 AM, Jakub Jelinek <jakub@redhat.com> wrote:
> On Tue, Nov 12, 2013 at 11:34:41AM +0400, Kostya Serebryany wrote:
>> 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.
>
> For making sure libsanitizer at least compiles, just installing
> /usr/include/ trees from a couple of important still supported distributions
> from various eras and just using -isystem /path/to/distro1/usr/include/ as
> additional (very quick) test of building the libraries on your bots
> wouldn't be IMHO that difficult.
Then we'll be getting complaints like 'this stuff compiles but doesn't work'.
Still might be worth doing.
Maybe we could create a wiki page somewhere describing the test
process that everyone should follow
when submitting changes to libsanitizer?
--kcc