|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] [PATCH 00/37] Generate a proper LIBS variable |
Date: | Wed, 22 Jul 2009 07:57:07 -0500 |
User-agent: | Thunderbird 2.0.0.21 (X11/20090320) |
address@hidden wrote:
A consequence of this patch series is that LIBS becomes unified for -softmmu and for -linux-user. While this isn't necessarily a bad thing, linux-user uses a special ld script that has the following (at least for x86_64.ld):From: Juan Quintela <address@hidden>
SEARCH_DIR("/lib64"); SEARCH_DIR("/usr/lib64"); SEARCH_DIR("/usr/local/lib64");
I use Fedora which doesn't package vde, so as a consequence, I have libvdeplug.so installed in /usr/local/lib. When not explicitly specifying search paths, things link quite happily which leads me to believe that this is a valid thing for me to do.
I think you need to make one of the following changes:1) Build separate LIBS variables for -softmmu and -linux-user to restore the behavior from default 2) Figure out how to set the search dirs in the ld script to what ld normally defaults to 3) Figure out a way to use an ld script while still using the default search path
In the interim, if you rebase your other series I can push those while you work out the LIBS issues.
Regards, Anthony Liguori
[Prev in Thread] | Current Thread | [Next in Thread] |