[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v3] build: remove shim related targets



>>> On 28.02.18 at 16:47, <roger.pau@xxxxxxxxxx> wrote:
> On Wed, Feb 28, 2018 at 08:30:12AM -0700, Jan Beulich wrote:
>> >>> On 28.02.18 at 16:02, <roger.pau@xxxxxxxxxx> wrote:
>> > But that raises the question, if prefix=/usr/local this will become:
>> > 
>> > /usr/local/lib/usr/local/lib/xen/...
>> 
>> /usr/local/lib/debug/usr/local/lib/xen/...
>> 
>> > Should this instead be:
>> > 
>> > /usr/local/lib/usr/lib/xen/...
>> 
>> /usr/local/lib/debug/usr/lib/xen/...
> 
> Right.
> 
>> > I don't think so, but want to be sure.
>> 
>> Neither, I would say (without knowing whether there are any
>> conventions for ${prefix}/lib/debug) - what has the full path got to
>> do in the middle in there? The more when it's /home/... or
>> something even more obscure?
> 
> I would expect debuggers like gdb to search /usr/lib/debug and
> /usr/local/lib/debug in order to find the debug symbols of a binary,
> so that what's inside the debug/ directory needs to have the same path
> as where the binary resides, hence I think it should be:
> 
> /usr/local/lib/debug/usr/local/lib/xen/

Makes sense for stuff under /usr and /usr/local, but not really
for stuff under e.g. /home or some network mount.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.