Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: <Paul_Koning@Dell.com>
To: <schwab@suse.de>
Cc: <gdb@sourceware.org>
Subject: Re: sysroot and softlinks
Date: Wed, 04 Nov 2015 15:58:00 -0000	[thread overview]
Message-ID: <459291D3-52A1-40B7-A142-42B8646F889A@dell.com> (raw)
In-Reply-To: <mvmvb9h3if7.fsf@hawking.suse.de>


> On Nov 4, 2015, at 10:15 AM, Andreas Schwab <schwab@suse.de> wrote:
> 
> <Paul_Koning@Dell.com> writes:
> 
>> The other solution would be for solid_find to test for this case: check if
>> the name is a softlink and if so, whether its target is absolute.  If yes,
>> prefix sysroot onto the target and repeat.
> 
> How would you mark symlinks that are supposed to be relative to the host
> root?

One possible answer is not to handle that case.  Another possibility is to try that if the sysroot-prefixed version doesn't work.

The reason for trying sysroot first is that the name on the host may in fact work, but may be the wrong file (different OS or different machine architecture).

	paul


  reply	other threads:[~2015-11-04 15:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-04 14:56 Paul_Koning
2015-11-04 15:15 ` Andreas Schwab
2015-11-04 15:58   ` Paul_Koning [this message]
2015-11-04 16:48     ` Jan Kratochvil
2015-11-04 16:57       ` Paul_Koning

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=459291D3-52A1-40B7-A142-42B8646F889A@dell.com \
    --to=paul_koning@dell.com \
    --cc=gdb@sourceware.org \
    --cc=schwab@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox