From patchwork Wed Feb 26 19:52:21 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 324612 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 03EDA2C0097 for ; Thu, 27 Feb 2014 06:52:36 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=keRPoGdFnwtGLFVx WJIsIeaRcHKfIoRt5+mzEIG6TsPSvVVZXP1cdhdG8fdfFxGOyfUlXqFF1fN9BDVI CKZAwkXpdM8QT6Zv5Y8JhwVCHLaPrt9bUFL8rlnQYaVQ0RMzQ2LUZ2JgKZTIRWL3 3Fyfc9trE7IpkWqzXOl4OT8XYMI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; s=default; bh=heHaXLobBaWmth9JgsCeHG sD4U0=; b=p2Kcx5eFI1W5Ho00aFW9NJpsN/SD6fr7VgdEgLNXBLOVoSSpm5xEy2 SbG00eTzbShq6OtCDQoZaXFu+kk7aJ+S0w1DWXoHzDJQlJfYJQ0it/vnf4hD+YxX 5dgNbSaQXj461jHfrF9nN5OIyZhHPS+22ZvZCeTNT/mfWvlPBkGgE= Received: (qmail 18699 invoked by alias); 26 Feb 2014 19:52:27 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org Received: (qmail 18690 invoked by uid 89); 26 Feb 2014 19:52:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qa0-f46.google.com Received: from mail-qa0-f46.google.com (HELO mail-qa0-f46.google.com) (209.85.216.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 26 Feb 2014 19:52:25 +0000 Received: by mail-qa0-f46.google.com with SMTP id i13so890644qae.33 for ; Wed, 26 Feb 2014 11:52:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=UXFfyOe/bBt/t3U1oPG+Mhkv/Z5TvcctAG0BiFoYLtw=; b=CugppbJk5MDmFEP6QV3GclK2HvhT8jRNXyF7V19sYtvKxugkma2fCkFchxlJ893fgq 7uVoXO+Y/hSoJk5JRklIOulBIO2RHIJmRuh6EjZAO+wYftS7xn5cMP2LbO7FT8qh3hi0 4+8JUHo/bpLAqjSzvDJKjJg7Jg9QgIKlZ0uerjCkMyemMVHtJI1zjjplBqV+1TRIe/4d LRDeMyCYGCBop95abGQIgFX3b9zlwQaKfBUCHq9uGiYS2wNqpeugMYtFGo9B2lhIYpcs 4hkxhkY90SlT0sDGPZBllgl5fiJQg31cpHRnzQez6yuLrYVb036NZks8kc3hK+zexW6x A0dQ== X-Gm-Message-State: ALoCoQlPLHRprBu39EWhokx72kq98hUe7rDNN67QZPqEyfGGXdEir9fnQigjWnAFkdpcQlzBA6eW X-Received: by 10.224.22.199 with SMTP id o7mr10745171qab.51.1393444343407; Wed, 26 Feb 2014 11:52:23 -0800 (PST) Received: from [192.168.141.83] (69-165-220-158.dsl.teksavvy.com. [69.165.220.158]) by mx.google.com with ESMTPSA id t5sm5574101qat.6.2014.02.26.11.52.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 26 Feb 2014 11:52:22 -0800 (PST) Message-ID: <530E45F5.1040404@linaro.org> Date: Wed, 26 Feb 2014 14:52:21 -0500 From: Trevor Woerner User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Ray Donnelly CC: "crossgcc@sourceware.org" Subject: Re: multilib-list References: <530E2237.50603@linaro.org> In-Reply-To: X-IsSubscribed: yes Hello Ray, On 02/26/14 13:33, Ray Donnelly wrote: > AFAIK --with-multilib-list is only supported on intel and sh and in > GCC 4.9 it's also supported for arm. Specifically I have been working with the gcc-arm-embedded code from https://launchpad.net/gcc-arm-embedded (and I've noticed some of the contributors to that project are also subscribed to this list). I assume it is this work which will eventually be the gcc-4.9 you mention? > If you're interested in multilib support, a few of us have been > contributing to the following patch queue: > > https://bitbucket.org/bhundven/crosstool-ng-multilib Any chance you could point me to some information on how to use a second remote patch queue with mercurial? I would like to work with these patches, but I'm rather new to mercurial, never mind its queue add-on. Why not just have a patch that allows the user to specify the list themselves? --- For unsubscribe information see http://sourceware.org/lists.html#faq diff -r 043b9b789b7d config/target.in --- a/config/target.in Wed Feb 26 13:53:25 2014 -0500 +++ b/config/target.in Wed Feb 26 14:45:22 2014 -0500 @@ -77,6 +77,15 @@ NOTE: The multilib feature in crosstool-NG is not well-tested. Use at your own risk, and report success and/or failure. +config MULTILIB_LIST + string + prompt "Additional multilib architectures to support" + depends on MULTILIB + default "" + help + Provide GCC with a comma-separated list of additional architectures for + which to build multilib support. + #-------------------------------------- config ARCH_SUPPORTS_BOTH_MMU bool diff -r 043b9b789b7d scripts/build/cc/gcc.sh --- a/scripts/build/cc/gcc.sh Wed Feb 26 13:53:25 2014 -0500 +++ b/scripts/build/cc/gcc.sh Wed Feb 26 14:45:22 2014 -0500 @@ -377,6 +377,9 @@ if [ "${CT_MULTILIB}" = "y" ]; then extra_config+=("--enable-multilib") + if [ -n "${CT_MULTILIB_LIST}" ]; then + extra_config+=("--with-multilib-list=${CT_MULTILIB_LIST}") + fi else extra_config+=("--disable-multilib") fi