On Fri, 6 Feb 2015, Andrew Haley wrote:
> On 06/02/15 08:00, Hans-Peter Nilsson wrote:
> > On Thu, 8 Jan 2015, Andrew Haley wrote:
> >> Android native GCC can't support LTO because of a lack of support for
> >> dlopen() in the C library.  How should we patch the configury to disable
> >> LTO by default?
> >
> > Doesn't setting unsupported_languages in toplevel configure.ac
> > work for you?
>
> I'm sorry, I don't understand this comment.

Not sure what's not understood.  IIUC you want to disable LTO
when building gcc natively on Android?  As LTO is considered a
"language", disabling it by means of the support for targets or
hosts to disable languages (by setting the shell variable
unsupported_languages) seemed to make sense...though looking
closer, I see the language configury is slightly fudged and
needs some code moving to fix that, as e.g. lto-plugin
conditionals and special lto handling have snuck in before the
unsupported_languages processing.  Bah.  Never mind.

brgds, H-P

Reply via email to