From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9753 invoked by alias); 21 Mar 2011 14:37:17 -0000 Received: (qmail 9599 invoked by uid 22791); 21 Mar 2011 14:37:14 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 21 Mar 2011 14:37:02 +0000 Received: (qmail 20212 invoked from network); 21 Mar 2011 14:37:00 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 21 Mar 2011 14:37:00 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.72) (envelope-from ) id 1Q1gE6-0004ma-Tv; Mon, 21 Mar 2011 14:36:58 +0000 Date: Mon, 21 Mar 2011 14:37:00 -0000 From: "Joseph S. Myers" To: gcc@gcc.gnu.org cc: newlib@sourceware.org, nickc@redhat.com, richard.earnshaw@arm.com, paul@codesourcery.com, ramana.radhakrishnan@arm.com, law@redhat.com, schwab@linux-m68k.org, echristo@apple.com, rdsandiford@googlemail.com, geoffk@geoffk.org, dje.gcc@gmail.com Subject: Deprecating config-ml.in multilib selection options Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2011-03/txt/msg00307.txt.bz2 The toplevel config-ml.in configure fragment has some code for a few targets that allows modifying the set of multilibs built, based on configure options, to be different from that given by $CC -print-multi-lib. The options in question are described in GCC's install.texi (but the lists there may not be accurate): Some targets provide finer-grained control over which multilibs are built (e.g., @option{--disable-softfloat}): @table @code @item arm-*-* fpu, 26bit, underscore, interwork, biendian, nofmult. @item m68*-*-* softfloat, m68881, m68000, m68020. @item mips*-*-* single-float, biendian, softfloat. @item powerpc*-*-*, rs6000*-*-* aix64, pthread, softfloat, powercpu, powerpccpu, powerpcos, biendian, sysv, aix. @end table (The option handling for arc-*-elf* is to be removed for GCC 4.7 as part of the ARC target removal.) I'd like to deprecate these options - or more specifically, their implementations in config-ml.in. I don't think this script is a sensible place to hardcode multilib selections for a few particular targets, and I think the preferred way of doing such configuration is by options that actually take effect on GCC when it is configured so that -print-multi-lib gives the desired set of multilibs. The options could in principle be used when building target libraries other than GCC's (in particular, newlib), but if you want to build a set of newlib multilibs different from GCC multilibs I still don't think such target-specific config-ml.in options are the right way to do it (though a generic system to specify multilibs to build / add / remove might be). Comments? What I am proposing is a release-notes-only deprecation - that is, state in gcc-4.6/changes.html that these options are deprecated, without any change to the code, with a view to removing them later in the GCC 4.7 development cycle (to give time for maintainers to reimplement any options they still want, in config.gcc or elsewhere in the gcc/ directory) rather than immediately. If we can't deprecate all of them, deprecating some would still be good. -- Joseph S. Myers joseph@codesourcery.com