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)
> > > 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 ptxdist at build time as well.
>
> do you have an idea on how to disable those paths at toolchain build
> time so that I do not even have to run ldconfig on every target?

Sorry, no idea.

> If there are ptxdist rules for building ldconfig (and running it on the
> target / during targetinstall) this would help a lot.
> So far, I did not find anything in the upstream OSELAS.Toolchain rules
> for glibc. I'll look into adapting the OSELAS.Toolchain build process to
> include ldconfig or change the default search paths.

<path/to/toolchain>/sysroot-<toolchain-name>/sbin/ldconfig

> I am curious: Do you also see those weird runtime paths on your ptxdist
> projects or is there something wrong with my toolchain / bsp build?

I saw these search paths on almost every system, independent of the 
distribution (embedded or not).

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Borleis             |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |

_______________________________________________
ptxdist mailing list
[email protected]

Reply via email to