Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760942AbYFKPL3 (ORCPT ); Wed, 11 Jun 2008 11:11:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760841AbYFKPLT (ORCPT ); Wed, 11 Jun 2008 11:11:19 -0400 Received: from saraswathi.solana.com ([198.99.130.12]:43664 "EHLO saraswathi.solana.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760827AbYFKPLS (ORCPT ); Wed, 11 Jun 2008 11:11:18 -0400 Date: Wed, 11 Jun 2008 11:11:00 -0400 From: Jeff Dike To: Sam Ravnborg Cc: linux-kbuild , LKML Subject: Re: kbuild breaks um - fails to find util when linking Message-ID: <20080611151100.GA8066@c2.user-mode-linux.org> References: <20080610190307.GA15983@uranus.ravnborg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080610190307.GA15983@uranus.ravnborg.org> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 840 Lines: 24 On Tue, Jun 10, 2008 at 09:03:07PM +0200, Sam Ravnborg wrote: > In an attempt to make the final link of vmlinux > readable/hackable I have broken um build. > > um used a special rule so it could use gcc as linker. > With my changes we need to use ld to link vmlinux and > ld now fails to locate util. > > I hope you have a clue why. I tried various things but > did not find out why ld cannot locate util. Looks to me like replacing the "-rpath foo" with -Lfoo does the trick. I'll work up an incremental patch for this. Jeff -- Work email - jdike at linux dot intel dot com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/