From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19103 invoked by alias); 18 Jan 2009 23:36:58 -0000 Received: (qmail 19066 invoked by uid 48); 18 Jan 2009 23:36:49 -0000 Date: Sun, 18 Jan 2009 23:36:00 -0000 Message-ID: <20090118233649.19065.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug bootstrap/35804] Bootstrap of combined gcc + binutils, with --enable-shared, with sysroot fails In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "amodra at bigpond dot net dot au" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-01/txt/msg02058.txt.bz2 ------- Comment #8 from amodra at bigpond dot net dot au 2009-01-18 23:36 ------- I believe that this is a user error and that this bugzilla should be closed. Your problem with ld "cannot find /tools/lib/libc.so.6 inside /tools" is simply that your glibc is built wrongly for your sysroot. (glibc is not sysroot aware.) You'll find that the script libc.so has a line something like GROUP ( /tools/lib/libc.so.6 /tools/usr/lib/libc_nonshared.a AS_NEEDED ( /tools/lib/ld-linux.so.2 ) ) The /tools sysroot prefix ought not be present on any of these paths. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35804