Re: [ptxdist] Strange system library search paths with OSELAS.Toolchain

2016-02-11 Thread Michael Olbrich
On Tue, Feb 09, 2016 at 05:42:31PM +0100, Clemens Gruber wrote: > On Tue, Feb 09, 2016 at 10:31:22AM +0100, Juergen Borleis wrote: > > /sysroot-/sbin/ldconfig > > Very nice, thank you! After running ldconfig on the target, running strace > with /bin/true shows only one access for /etc/ld.so.preloa

Re: [ptxdist] Strange system library search paths with OSELAS.Toolchain

2016-02-09 Thread Clemens Gruber
Hi Juergen, On Tue, Feb 09, 2016 at 10:31:22AM +0100, Juergen Borleis wrote: > /sysroot-/sbin/ldconfig Very nice, thank you! After running ldconfig on the target, running strace with /bin/true shows only one access for /etc/ld.so.preload before using the /etc/ld.so.cache successfully. That's a ma

Re: [ptxdist] Strange system library search paths with OSELAS.Toolchain

2016-02-09 Thread Juergen Borleis
Hi Clemens, On Tuesday 09 February 2016 01:04:21 Clemens Gruber wrote: > On Mon, Feb 08, 2016 at 09:58:58AM +0100, Juergen Borleis wrote: > > On Saturday 06 February 2016 16:33:55 Clemens Gruber wrote: > > > [...] > > > stat64("/lib/vfp", 0x7eb4d6c0) = -1 ENOENT (No such file or directory) > > > o

Re: [ptxdist] Strange system library search paths with OSELAS.Toolchain

2016-02-08 Thread Clemens Gruber
On Mon, Feb 08, 2016 at 09:58:58AM +0100, Juergen Borleis wrote: > Hi Clemens, > > On Saturday 06 February 2016 16:33:55 Clemens Gruber wrote: > > [...] > > stat64("/lib/vfp", 0x7eb4d6c0) = -1 ENOENT (No such file or directory) > > open("/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 > > Try to run "ld

Re: [ptxdist] Strange system library search paths with OSELAS.Toolchain

2016-02-08 Thread Juergen Borleis
Hi Clemens, On Saturday 06 February 2016 16:33:55 Clemens Gruber wrote: > [...] > stat64("/lib/vfp", 0x7eb4d6c0) = -1 ENOENT (No such file or directory) > open("/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 Try to run "ldconfig" on your target and re-check. With some tricks you can do this with ptxdi

[ptxdist] Strange system library search paths with OSELAS.Toolchain

2016-02-06 Thread Clemens Gruber
Hi, when debugging a missing library issue on a ptxdist-2016.01.0 system built with the latest OSELAS.Toolchain, glibc and arm-v7a-linux-gnueabihf as toolchain target, I stumbled across the following strange library search paths, which are searched over and over again for each and every process wh