From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8246 invoked by alias); 3 Aug 2008 05:12:25 -0000 Received: (qmail 8238 invoked by uid 22791); 3 Aug 2008 05:12:25 -0000 X-Spam-Check-By: sourceware.org Received: from dessent.net (HELO dessent.net) (69.60.119.225) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 03 Aug 2008 05:11:36 +0000 Received: from localhost.localdomain ([127.0.0.1] helo=dessent.net) by dessent.net with esmtp (Exim 4.50) id 1KPVsS-0006Sn-TQ; Sun, 03 Aug 2008 05:11:33 +0000 Message-ID: <48953E03.A3955F01@dessent.net> Date: Sun, 03 Aug 2008 05:12:00 -0000 From: Brian Dessent Reply-To: gcc-help@gcc.gnu.org X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: Gaurav Jain CC: gcc-help@gcc.gnu.org, Jay Subject: Re: Error Compiling GCC on Solaris 10 / x86 References: <1217689174.6455.ezmlm@gcc.gnu.org> <48952BA7.72853359@dessent.net> <42f6506e0808022127l3b5a961dgf8f9c62ed0459430@mail.gmail.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-08/txt/msg00018.txt.bz2 Gaurav Jain wrote: > In fact, I specifically need to *try out* the GNU ld / GNU as > combination to debug some issue in the binary Oh. That wasn't clear. So, it looks like gcc is passing a -T option for a linker script that the Solaris-provided GNU ld can't find. Run the failing link command with -### to see what the invocation of the linker is, and then figure out if the linker script that gcc is passing exists, and if so where. If not, figure out why it's not included. 'elf_i386.xsc' should be the variant for 32 bit shared libraries built with -z combreloc. What version is this /usr/sfw/bin/gld anyway? If it's ancient it may be too old for gcc 4.1. > Even if it's not recommended, but I'm sure it sure does build fine > with that combination? I can't parse this. Are you asking why GNU ld doesn't generally work with Solaris 10? It's because of a new type of shared library that GNU ld doesn't yet support, as far as I can tell: . I don't know if you can expect a gcc bootstrap to complete or not with GNU ld even if you fix the missing linker script problem. Brian