From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 124519 invoked by alias); 14 Nov 2019 03:06:21 -0000 Mailing-List: contact libffi-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libffi-discuss-owner@sourceware.org Received: (qmail 124436 invoked by uid 89); 14 Nov 2019 03:06:21 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,KAM_SHORT,SPF_PASS autolearn=unavailable version=3.3.1 spammy= X-HELO: esa3.mentor.iphmx.com Received: from esa3.mentor.iphmx.com (HELO esa3.mentor.iphmx.com) (68.232.137.180) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 14 Nov 2019 03:06:19 +0000 IronPort-SDR: Ye069x4v4wmkchjeoc1vWzTg0vOMq030TB4sP+zTOVozxtcIslRU5mjX2h+gjVR3sdGHzurSW9 kpyP3JwXEprM8eaocYeTK65hioOX3Yacnc/ftPUiCOXDVAz7jZg1pIP/vTHSqB2n29Byk0kwl3 c9MyVIM3EI65GLKSWRLCvpqISgdjMwEbS97Ag1sAhV0e/lN5HSRjx+BojXnIALvllAP6DKNUE9 qFhlg//GtFh/WEFeHViNGMOL5abNqXc6ly2ugeKErUWZaiw76rOPvFdE9r8ZNPWQFkEGt2qX7K fn0= Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa3.mentor.iphmx.com with ESMTP; 13 Nov 2019 19:06:10 -0800 IronPort-SDR: ogk7EmIXM+RAlHJjnXFnp3dY1GsEexap5p23SSCCesB82yP2aOyXZr+BT1S4hAuNz4Dmo520MU ZIUEtuyNnT5Q54dweMyd9CkgPJ1dWYk5HOPmW30hH9fzWpawRzfZjBqqqsoW+eOQZUDZyiXcH5 qC1UTcG9VrpiXbihtTtu1A+SGvqCatK0hyKxbAYvCl7P0rXmJDsesFDNNiORTan8ROCg4tUQat BtDzyY6+u8aRS4EztJPyuHaC7SnG40iLyg5HkYThsynx5GghDTJSpv9q0hzjOZXc6f/oDTKGkz zPc= Date: Thu, 14 Nov 2019 03:06:00 -0000 From: Joseph Myers To: "Maciej W. Rozycki" CC: , , , Subject: Re: [PATCH] Add `--with-install-sysroot=' configuration option In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Return-Path: joseph@codesourcery.com X-SW-Source: 2019/txt/msg00080.txt.bz2 On Thu, 14 Nov 2019, Maciej W. Rozycki wrote: > Questions, comments, OK to apply? 1. This needs documentation in install.texi. 2. A common macro in config/ would be better than duplicating code in each configure.ac file. 3. To confirm (this should be made clear in the documentation), this is nonsensical given --enable-version-specific-runtime-libs? If so, maybe the configure macro should give an error for the combination if possible. 4. How does this interact with sysroot suffixes (again, this should be made clear in the documentation)? 5. With this option, does the multilib OS directory (e.g. "../lib64") get used for anything at all outside the sysroot? If not, is it valid with this option to have the same value of that directory for more than one multilib (that use different sysroot suffixes)? (The basic complication in configurations with multiple sysroots is that the multilib OS directory currently gets used outside the sysroot, so needs to be unique. But you also want a version that's only unique inside the sysroot - if you have sysroots for different CPU variants, each should have libraries in e.g. lib64 inside that sysroot. At present, in such cases, you need to set STARTFILE_PREFIX_SPEC for the libraries to be found at link time inside the sysroot; see for some commentary on that.) -- Joseph S. Myers joseph@codesourcery.com