[patch] string cosmetics for SUSV3_LEGACY

Mike Frysinger vapier at gentoo.org
Thu Jul 6 19:43:09 UTC 2006


On Thursday 06 July 2006 10:01, Bernhard Fischer wrote:
> On Thu, Jul 06, 2006 at 03:21:47PM +0200, Peter S. Mazinger wrote:
> >On Thu, 6 Jul 2006, Bernhard Fischer wrote:
> >> Hi,
> >>
> >> The attached patch makes sure that we do not create empty object files
> >> when SUSV3_LEGACY functions are turned off.
> >
> >We discussed this some time ago and a better/generic solution would be to
> >scan all the produced objects being empty and omit them from the archives.
> >We have many other empty objects that depend on a specific syscall
> >being present for example
>
> Do you mean looking at each object if it contained any symbol and else
> remove it?
> $(NM) $$i | grep -q "^.*$" && echo $$i
> for the $^ used for cmd_ar

i'm hesitant to say yes here, but yes :)

> Perhaps it would be easier to patch ar to drop empty objects..

considering we cant even get people to upgrade their old *broken* redhat crap 
boxes, i doubt we can get them to apply custom patches to binutils ...
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20060706/7ccb6e79/attachment-0002.pgp 


More information about the uClibc mailing list