From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16784 invoked by alias); 7 Jan 2014 01:28:16 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 16774 invoked by uid 89); 7 Jan 2014 01:28:15 -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-lb0-f172.google.com Received: from mail-lb0-f172.google.com (HELO mail-lb0-f172.google.com) (209.85.217.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 07 Jan 2014 01:28:14 +0000 Received: by mail-lb0-f172.google.com with SMTP id x18so10470657lbi.3 for ; Mon, 06 Jan 2014 17:28:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=TnKs03MQKJoufQETAb/g1mxIl/irlzQP9UjbmV6Yth4=; b=LadfypA0+nFZtleI2U8YG0tPoW3AQ9XGxQNxX8b+JqKTw57HEdVea4SRnHa59Gvgu1 z3PgvAWQIxIb4lnWq5bxSp7E+u3ESiz8JAI8ap/WG5ZptpwiOahvn0PYgYJadZNGwnOe l/SU6g6Kow8X8dQWrPW4sgO6W7gJiE2eHUi2OYRlcG79Grso2cN7RdBYag467yJDQ/lo oMnwbvA2Y08ZTo7OEbrWxK/aVoS58Ugo97Wf+e2KjYpt0WMchmHP6t8HB4+OR0Fu0Q6j M9+hbnH/xMEyKGaemx6fUaT3vm/joagPd2zvW/jXY/8xtTAThh/UMEaX5CVbO2v/uXzf ZzJg== X-Gm-Message-State: ALoCoQkW0wH259UOLVTESL9dR5znQKPKxQTstAWjxiHAtdcfPYrcG+ibzVROuq4PA+6WTPVvsrw1 MIME-Version: 1.0 X-Received: by 10.112.151.74 with SMTP id uo10mr2277534lbb.45.1389058091009; Mon, 06 Jan 2014 17:28:11 -0800 (PST) Received: by 10.112.25.103 with HTTP; Mon, 6 Jan 2014 17:28:10 -0800 (PST) In-Reply-To: <52CB2A7D.9050902@coloradoengineeringinc.com> References: <52CB2A7D.9050902@coloradoengineeringinc.com> Date: Tue, 07 Jan 2014 01:28:00 -0000 Message-ID: Subject: Re: Build error: link tests are not allowed after GCC_NO_EXECUTABLES From: Zhenqiang Chen To: Danny Gale Cc: "crossgcc@sourceware.org" Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes X-SW-Source: 2014-01/txt/msg00023.txt.bz2 On 7 January 2014 06:13, Danny Gale wrote: > Hi all, > > I've duplicated the 64-bit powerpc build listed on the website, > powerpc64-unknown-linux-gnu. I'm now trying to build specifically for a > Freescale processor using the e6500 core, powerpc64-e6500-linux-gnu. Their > SDK was built using Yocto and bitbake -- the powers that be have decided it > needs to be converted to a Crosstool-NG based build for our use. I'm running > into some trouble. > > The Freescale SDK in question is here > (http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=SDKLINUX&fpsp=1&tab=Design_Tools_Tab) > . I've been working with v1.4, though I see now they've released v1.5. I've > brought over their patches from the Yocto build tree and Crosstool-NG is > configured to use the same versions of the various packages that Freescale > used. While building pass-1 gcc with Crosstool-NG, the build fails with: > configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES . Please try to install multib-gcc and multilib-g++ in your host machine. Or configure your gcc with "--with-system-zlib" > I found and tried a couple of fixes for this, but none of them have resolved > the problem: removing optimization for size on the libraries, not compiling > for c++ support, not statically linking libstdc++. What else can cause this > and how can it be resolved? > > I've attached both my config file and the tail of the log file in case that > will help in diagnosis. Note that multilib is enabled because Freescale says > it's required for building u-boot > > Thanks for your help, > Danny > > -- > For unsubscribe information see http://sourceware.org/lists.html#faq -- For unsubscribe information see http://sourceware.org/lists.html#faq