Re: ld: table of contents for archive out of date?
Re: ld: table of contents for archive out of date?
- Subject: Re: ld: table of contents for archive out of date?
- From: Craig Rodrigues <email@hidden>
- Date: Wed, 28 Sep 2005 18:05:55 -0400
On Wed, Sep 28, 2005 at 10:51:53PM +0100, Dair Grant wrote:
> We've also run into this issue, and found it a little bizarre that
> simply copying a .a file around can "break" it by virtue of bumping its
> mod date...
>
> Our evil workaround, which really requires cvs, is to run ranlib prior
> to check in and then to hack the ,v file by hand to modify the check in
> date for that revision. I.e., run ranlib to insert the current time
> (22:43) into the .a file, check it in, and edit the ,v file to rewind
> the check in time to 22:30.
>
>
> Provided your cvs client sets the local mod time to match the check in
> time when checking out, after check out the mod time will be earlier
> than the "ranlib time" and so the library remains linkable.
>
> It is gruesome, but means we can keep 3rd party Mach-O libs under
> revision control the same way we keep CW/VC++ libs.
Wow, that *is* evil! :) I use ClearCase here, so that particular
evil won't work for me, but I want to avoid going down the road of evil
hacks.
I filed my patch as Radar bug # 4278062, so hopefully
these hacks won't be needed in future.
--
Craig Rodrigues
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden