From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29092 invoked by alias); 26 Dec 2011 17:29:20 -0000 Received: (qmail 29083 invoked by uid 22791); 26 Dec 2011 17:29:20 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,TW_RW,TW_WX X-Spam-Check-By: sourceware.org Received: from smtp02.smtpout.orange.fr (HELO smtp.smtpout.orange.fr) (80.12.242.124) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 26 Dec 2011 17:29:07 +0000 Received: from treguer.localnet ([90.32.2.129]) by mwinf5d56 with ME id DtV51i00C2n0NGy03tV5b0; Mon, 26 Dec 2011 18:29:05 +0100 From: "Yann E. MORIN" To: crossgcc@sourceware.org Subject: Re: [PATCH 1/1] Add multilib build support for libc target. Libc is build -times in seperate sysroot directories. In a last step links are created to reflect the expected multilib structure. Date: Mon, 26 Dec 2011 17:29:00 -0000 User-Agent: KMail/1.13.5 (Linux/3.1.6-treguer; KDE/4.4.5; x86_64; ; ) Cc: "konrad.gaisler" References: <1321267079-14623-1-git-send-email-konrad@gaisler.com> <201112240022.18409.yann.morin.1998@anciens.enib.fr> <4EF6400F.8060400@gaisler.com> In-Reply-To: <4EF6400F.8060400@gaisler.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201112261829.05183.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/msg00080.txt.bz2 Konrad, All, On Saturday 24 December 2011 22:11:43 konrad.gaisler wrote: [--SNIP--] > > With this sed expression, you are not rewriting the dynamic linker path, > > which means a multilib variant still uses the default "ld.so". > You might be right. My particular toolchain doesnt care as for the > ld.so probably doesnt differ. The toolchain that I built (yours, minus the Leon patches) has the following multilibs: # sparc-leon3-linux-gnu-gcc -print-multi-lib .; soft;@msoft-float And the dynamic linkers are different: # ls -l sysroot/lib/ld-2.14.so \ sysroot/soft/lib/ld-2.14.so -rwxr-xr-x 1 ymorin ymorin 816566 Dec 23 21:46 sysroot/lib/ld-2.14.so -rwxr-xr-x 1 ymorin ymorin 816110 Dec 23 21:51 sysroot/soft/lib/ld-2.14.so The 'soft' one is 456 bytes smaller than the default one. FWIW... 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