From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31902 invoked by alias); 14 Dec 2011 00:09:46 -0000 Received: (qmail 31879 invoked by uid 22791); 14 Dec 2011 00:09:38 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from smtp06.smtpout.orange.fr (HELO smtp.smtpout.orange.fr) (80.12.242.128) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 14 Dec 2011 00:09:24 +0000 Received: from treguer.localnet ([90.32.19.6]) by mwinf5d12 with ME id 8o9M1i00D07rqCi03o9MgV; Wed, 14 Dec 2011 01:09:22 +0100 From: "Yann E. MORIN" To: crossgcc@sourceware.org Subject: Re: gold vs. CT_STATIC_TOOLCHAIN Date: Wed, 14 Dec 2011 00:09:00 -0000 User-Agent: KMail/1.13.5 (Linux/3.1.5-treguer; KDE/4.4.5; x86_64; ; ) Cc: Johannes Stezenbach References: <20111202132450.GA24105@sig21.net> In-Reply-To: <20111202132450.GA24105@sig21.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201112140109.21263.yann.morin.1998@anciens.enib.fr> 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 X-SW-Source: 2011-12/txt/msg00056.txt.bz2 Johannes, All, On Friday 02 December 2011 14:24:50 Johannes Stezenbach wrote: > with CT_STATIC_TOOLCHAIN ./scripts/build/binutils/binutils.sh > adds -all-static to LDFLAGS. However, -all-static is a libtool > option and gold is not libtoolized. Maybe cg-ng should just > disable gold when CT_STATIC_TOOLCHAIN is selected? It works here for me: $ file bin/armeb-unknown-linux-uclibcgnueabi-ld.gold bin/armeb-unknown-linux-uclibcgnueabi-ld.gold: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, for GNU/Linux 2.6.18, not stripped So, it is a statically-linked executable, exactly what we wanted. How does it break for you? Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' -- For unsubscribe information see http://sourceware.org/lists.html#faq