This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: Possible to run an program dynamic linked with glibc on uclibc target?
- From: Florian Weimer <fweimer at redhat dot com>
- To: Kit Park <tegipark at gmail dot com>, libc-help at sourceware dot org
- Date: Thu, 5 Oct 2017 19:07:21 +0200
- Subject: Re: Possible to run an program dynamic linked with glibc on uclibc target?
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx02.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx02.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=fweimer at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 4A8F78763A
- References: <CAOdUc4-jBOBzsJwHxo+XXsLqFpUSk+uri1N7po2Jwy9ygPwmQA@mail.gmail.com>
On 10/05/2017 06:48 PM, Kit Park wrote:
I will be very appreciated if you give me some pointers on this. I have
been trying to port uclibc platfrom to glibc and I have a problem of
getting glibc dynamic loader running a uclibc mips target. The way I did is:
* load up a kernel only on a target which is uclibc libraries.
* run glibc ld.so as standalone to see if it works, e.g.,
./lib/ld-2.13.so --library-path /xxx/glibc-libs/lib ./a.out-dynamic
...
20294: symbol=free; lookup in file=./minit-dynamic [0]
Has this file been compiled and linked against glibc? If it has, it
should work.
You'll have to enable coredumps and check where, it exactly, it crashes.
Florian