Re: kbuild breaks um - fails to find util when linking

From: Jeff Dike
Date: Wed Jun 11 2008 - 11:11:31 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/