From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11150 invoked by alias); 19 Jun 2013 21:38:32 -0000 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 Received: (qmail 11140 invoked by uid 89); 19 Jun 2013 21:38:32 -0000 X-Spam-SWARE-Status: No, score=-4.9 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.1 Received: from mail-ie0-f173.google.com (HELO mail-ie0-f173.google.com) (209.85.223.173) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 19 Jun 2013 21:38:32 +0000 Received: by mail-ie0-f173.google.com with SMTP id k13so14818036iea.4 for ; Wed, 19 Jun 2013 14:38:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=PQ2k69Udc75v7T2LiwY5tYHlEetsp4TIS34bz2Nw9/s=; b=j+yAQIyQVgCYHY9SirY6eHtztnf4IDUzgi6vAKttaXzta3LBnUuo9Kfonn8ZT5y3sC g6Tcz5W3aU7VSxiPNkMSO99aEz4mY8lBx+c8IkNjZHdiRZ93PjOxOS6ZNQDbyxaJC3Rz 3dqqCvy0ajItT554DbpBAXHVkg8Ov+JDhLwCktZQSejN2rKyUZHeTggn3zd7YnjVrUD1 WLn2uwY9pNMLPFOBY6fiu2UpmIlZhOEk/N/arDDpGQAY9BCj7tplCdKipMWCMbWHAEm2 MOrlYcm63l3HSUWX4/V8lbmaHFeZ6y4+a1J6AGtnNz0e61T8K0ZXQ2IdjwvlzcGAklEp AGgA== MIME-Version: 1.0 X-Received: by 10.50.43.227 with SMTP id z3mr647873igl.62.1371677910617; Wed, 19 Jun 2013 14:38:30 -0700 (PDT) Received: by 10.64.171.76 with HTTP; Wed, 19 Jun 2013 14:38:30 -0700 (PDT) In-Reply-To: References: Date: Wed, 19 Jun 2013 21:38:00 -0000 Message-ID: Subject: Re: Trouble building AR From: Ian Lance Taylor To: Uri Moszkowicz Cc: gcc-help Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlQPV+Nod3ybDb/Vtoplw6uLbW2vjHwGcY7MHL6ZWzNo21DPmtbtI4HsvSnSeawmNnT4sT7Ais+isGe+gakVrPCxEYHAhQ5ltnp5hr0ldJRQboVqnlFmP4I082SHWo6VswAbpBAYBy5/CZnYGLQsyrbFDcNfJY958qn1NlpLLuLFPWPWhpdvjkKIQpC/cmDUA9vp156 X-SW-Source: 2013-06/txt/msg00166.txt.bz2 On Wed, Jun 19, 2013 at 2:20 PM, Uri Moszkowicz wrote: > No luck - same error :( I see the following list in config.log: > > /tools/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../x86_64-unknown-linux-gnu/bin/ld: > cannot find -lpwl > collect2: error: ld returned 1 exit status Errors in config.log are normal. > Is that of interest? Maybe I should just try a different GCC / > binutils combination. Any other suggestions to help figure out what's > wrong? You said the program is failing when you try to use it. Try running gcc -o foo foo.c -Wl,-debug That should show all the places where the collect2 program is looking for ld. Then we need to find out why it is not looking in the right place. Ian