uClibc & prelink

View: New views
6 Messages — Rating Filter:   Alert me  

uClibc & prelink

by Carmelo Amoroso :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,
just to inform you that we (@STMicroelectronics) are working
to extend uClibc ld.so to support prelinking.
This would go through several steps because there are some
missing feature in uClibc.

So in he near future I'm planning to post some patches for review.

Steps should be as follows

1 Support for ld.so stand-alone mode (done)
2 Extend tracing for prelink (in progress)
  2.1 Support global and local scope for symbols resolution (done)
  2.2 Handle symbol resolution conflicts (in progress)
  2.3 Symbols resolution caching (???)
3 Support prelinked DSO (TBD)

Step 1 is already available on ST uClibc git
You can get a first look at this @ http://git.stlinux.com/?p=stm/uclibc.git;a=shortlog;h=prelink

I'm working to port the patch against master head shortly.

Cheers,
Carmelo
_______________________________________________
uClibc mailing list
uClibc@...
http://lists.busybox.net/mailman/listinfo/uclibc

Re: uClibc & prelink

by Joakim Tjernlund-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>
> Hi All,
> just to inform you that we (@STMicroelectronics) are working
> to extend uClibc ld.so to support prelinking.
> This would go through several steps because there are some
> missing feature in uClibc.
>
> So in he near future I'm planning to post some patches for review.
>
> Steps should be as follows
>
> 1 Support for ld.so stand-alone mode (done)

Great, I have been meaning to do this for a long time but never gotten around
to do it. My motivation was to simplify debugging and to support --library-path PATH
as this has been requested a few times.

 Jocke

_______________________________________________
uClibc mailing list
uClibc@...
http://lists.busybox.net/mailman/listinfo/uclibc

Re: uClibc & prelink

by Carmelo Amoroso :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Joakim Tjernlund wrote:

>> Hi All,
>> just to inform you that we (@STMicroelectronics) are working
>> to extend uClibc ld.so to support prelinking.
>> This would go through several steps because there are some
>> missing feature in uClibc.
>>
>> So in he near future I'm planning to post some patches for review.
>>
>> Steps should be as follows
>>
>> 1 Support for ld.so stand-alone mode (done)
>
> Great, I have been meaning to do this for a long time but never gotten around
> to do it. My motivation was to simplify debugging and to support --library-path PATH
> as this has been requested a few times.
>
>  Jocke
>

Hi Jocke,
yeah, stand-alone for debugging is actually really useful.
At this tage we are not supporting extra arguments passed to ld.so
because we are focused on tracing capabilities for the prelink,
but it should be almost straightforward to extend it once integrated.

carmelo


_______________________________________________
uClibc mailing list
uClibc@...
http://lists.busybox.net/mailman/listinfo/uclibc

Re: uClibc & prelink

by Carmelo Amoroso :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Joakim Tjernlund wrote:

>> Hi All,
>> just to inform you that we (@STMicroelectronics) are working
>> to extend uClibc ld.so to support prelinking.
>> This would go through several steps because there are some
>> missing feature in uClibc.
>>
>> So in he near future I'm planning to post some patches for review.
>>
>> Steps should be as follows
>>
>> 1 Support for ld.so stand-alone mode (done)
>
> Great, I have been meaning to do this for a long time but never gotten around
> to do it. My motivation was to simplify debugging and to support --library-path PATH
> as this has been requested a few times.
>
now we have --library-path support too.

Please, hold on for a while; we are working to prepare a set of patch
for review.

>  Jocke
>
Carmelo

>

_______________________________________________
uClibc mailing list
uClibc@...
http://lists.busybox.net/mailman/listinfo/uclibc

Re: uClibc & prelink

by Mike Frysinger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Friday 23 October 2009 15:53:53 Carmelo Amoroso wrote:

> Joakim Tjernlund wrote:
> >> Hi All,
> >> just to inform you that we (@STMicroelectronics) are working
> >> to extend uClibc ld.so to support prelinking.
> >> This would go through several steps because there are some
> >> missing feature in uClibc.
> >>
> >> So in he near future I'm planning to post some patches for review.
> >>
> >> Steps should be as follows
> >>
> >> 1 Support for ld.so stand-alone mode (done)
> >
> > Great, I have been meaning to do this for a long time but never gotten
> > around to do it. My motivation was to simplify debugging and to support
> > --library-path PATH as this has been requested a few times.
>
> now we have --library-path support too.
>
> Please, hold on for a while; we are working to prepare a set of patch
> for review.
please put it behind a new config option like the original stand alone code
should have been
CONFIG_LDSO_STANDALONE

while this is great for development, it has very limited application in actual
deployment
-mike


_______________________________________________
uClibc mailing list
uClibc@...
http://lists.busybox.net/mailman/listinfo/uclibc

signature.asc (853 bytes) Download Attachment

Re: uClibc & prelink

by Carmelo Amoroso :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mike Frysinger wrote:

> On Friday 23 October 2009 15:53:53 Carmelo Amoroso wrote:
>> Joakim Tjernlund wrote:
>>>> Hi All,
>>>> just to inform you that we (@STMicroelectronics) are working
>>>> to extend uClibc ld.so to support prelinking.
>>>> This would go through several steps because there are some
>>>> missing feature in uClibc.
>>>>
>>>> So in he near future I'm planning to post some patches for review.
>>>>
>>>> Steps should be as follows
>>>>
>>>> 1 Support for ld.so stand-alone mode (done)
>>> Great, I have been meaning to do this for a long time but never gotten
>>> around to do it. My motivation was to simplify debugging and to support
>>> --library-path PATH as this has been requested a few times.
>> now we have --library-path support too.
>>
>> Please, hold on for a while; we are working to prepare a set of patch
>> for review.
>
> please put it behind a new config option like the original stand alone code
> should have been
> CONFIG_LDSO_STANDALONE
>
Hi Mike,
we intend to support --library-path only in standalone mode, so it is already
controlled by a config option.

> while this is great for development, it has very limited application in actual
> deployment

absolutely agreed.

> -mike

carmelo
_______________________________________________
uClibc mailing list
uClibc@...
http://lists.busybox.net/mailman/listinfo/uclibc