This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [RFC] Do we care about binary compatibility of code produced by cross-compilers?
- From: Ian Lance Taylor <iant at google dot com>
- To: Paolo Bonzini <bonzini at gnu dot org>
- Cc: Paolo Carlini <paolo dot carlini at oracle dot com>, Mark Mitchell <mark at codesourcery dot com>, libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Tue, 02 Sep 2008 06:52:34 -0700
- Subject: Re: [RFC] Do we care about binary compatibility of code produced by cross-compilers?
- References: <48A05898.9000705@oracle.com> <m37iane6sw.fsf@google.com> <48B160E6.3040908@oracle.com> <m3prnyksyx.fsf@google.com> <48B1DA23.2060404@oracle.com> <m3hc99lgsx.fsf@google.com> <48B2855E.5090907@oracle.com> <m38wulkkuh.fsf@google.com> <48B2FCDC.7080101@oracle.com> <48B30F10.70100@oracle.com> <48B31507.7040007@oracle.com> <m3zln0kdn3.fsf@google.com> <48BBD5F8.2040808@oracle.com> <48BC0DEA.2040908@codesourcery.com> <48BC1122.4080101@oracle.com> <48BCD0F7.8080208@gnu.org> <48BD0A8A.5080102@oracle.com> <48BD1059.8080102@gnu.org>
Paolo Bonzini <bonzini@gnu.org> writes:
>> ... actually, if all the checks presently doing link-tests consistently
>> get a parameter allowing to disable the test completely and also to set
>> its value, I'm thinking with proper documentation nobody could be
>> *really* unhappy with the change... Do you agree?
>
> The cache file is a way to set the value of a test.
As Paolo B knows, we've historically had problems using a single cache
file for all directories. The problem is that different directories
sometimes have subtly different meanings for the same cache variable.
Admittedly this is unlikely to be an issue for cases where they use
the same test out of the top-level config directory, but even there,
we already can see a subtly different case, given that the different
directories run the TLS configure test under different conditions.
I don't think it's worth worrying about the fact that the tests are
run multiple times. If you want to speed up configury, help get Tom's
quagmire project working for gcc (http://code.google.com/p/quagmire/).
Ian