From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30224 invoked by alias); 20 Aug 2011 23:50:58 -0000 Received: (qmail 30216 invoked by uid 22791); 20 Aug 2011 23:50:57 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from einhorn.in-berlin.de (HELO einhorn.in-berlin.de) (192.109.42.8) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 20 Aug 2011 23:50:42 +0000 X-Envelope-From: doko@ubuntu.com Received: from [192.168.42.109] (dslb-088-073-073-173.pools.arcor-ip.net [88.73.73.173]) (authenticated bits=0) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id p7KNoWuC008896; Sun, 21 Aug 2011 01:50:32 +0200 Message-ID: <4E504848.7000306@ubuntu.com> Date: Sun, 21 Aug 2011 02:22:00 -0000 From: Matthias Klose User-Agent: Mozilla/5.0 (X11; Linux i686; rv:6.0) Gecko/20110809 Thunderbird/6.0 MIME-Version: 1.0 To: Jakub Jelinek CC: Matthias Klose , GCC Patches , Steve Langasek Subject: Re: [patch] support for multiarch systems References: <4E501045.40102@ubuntu.com> <20110820200750.GJ2687@tyan-ft48-01.lab.bos.redhat.com> In-Reply-To: <20110820200750.GJ2687@tyan-ft48-01.lab.bos.redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-08/txt/msg01678.txt.bz2 On 08/20/2011 10:07 PM, Jakub Jelinek wrote: > On Sat, Aug 20, 2011 at 09:51:33PM +0200, Matthias Klose wrote: >> Tested on non-multilib'd and multilib'd systems, both native and cross builds. >> Ok for the trunk? > > I don't think we want to do this unconditionally, we already search way too > many directories by default. This is a Debian/Ubuntu specific setup, I > don't think many others are going to use such a setup. > So, IMHO you should make it configure time selectable whether those extra > dirs are searched or not. And by default either don't enable it, or enable > it only on Debian/Ubuntu. Ok, I made it conditional, enabled only if the crti.o file is found in a multiarch path.