Gentoo Archives: gentoo-dev

From: Alexis Ballier <aballier@g.o>
To: gentoo-dev@l.g.o
Cc: mgorny@g.o
Subject: Re: [gentoo-dev] [PATCH autotools-multilib] Check installed headers for consistency.
Date: Sun, 27 Jan 2013 12:44:33
Message-Id: 20130127094423.6a375cd0@gentoo.org
In Reply to: [gentoo-dev] [PATCH autotools-multilib] Check installed headers for consistency. by "Michał Górny"
1 On Sun, 27 Jan 2013 12:21:01 +0100
2 Michał Górny <mgorny@g.o> wrote:
3
4 > The installed headers are supposed not to change between ABIs. If they
5 > do, we need to do something special about them or everything is going
6 > to end up real bad.
7 >
8 > Therefore, do a checksum of headers installed in /usr/include after
9 > each ABI's src_install() and die if they don't match.
10
11 sounds a bit restrictive IMHO, but such a kind of check is probably
12 necessary and has to be added before the eclass is widespread.
13 you could probably add a way to disable those checks for the
14 hypothetical case there is a false positive (ie: yes the headers
15 differ but it doesn't matter).
16
17 Alexis.

Replies