From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31695 invoked by alias); 4 Nov 2015 15:58:16 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 31686 invoked by uid 89); 4 Nov 2015 15:58:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: ausxipps301.us.dell.com Received: from ausxipps301.us.dell.com (HELO ausxipps301.us.dell.com) (143.166.148.223) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Wed, 04 Nov 2015 15:58:14 +0000 X-LoopCount0: from 10.175.216.249 From: To: CC: Subject: Re: sysroot and softlinks Date: Wed, 04 Nov 2015 15:58:00 -0000 Message-ID: <459291D3-52A1-40B7-A142-42B8646F889A@dell.com> References: <736EC98D-ED8D-4179-B82A-984C249E1D8E@dell.com> In-Reply-To: Content-Type: text/plain; charset="us-ascii" Content-ID: <6B514482FDD9C6439CA9F42C4557815C@dell.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes X-SW-Source: 2015-11/txt/msg00003.txt.bz2 > On Nov 4, 2015, at 10:15 AM, Andreas Schwab wrote: >=20 > writes: >=20 >> 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 ye= s, >> prefix sysroot onto the target and repeat. >=20 > 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 fac= t work, but may be the wrong file (different OS or different machine archit= ecture). paul