link problems under darwin5.2
Jeff Sturm
jsturm@one-point.com
Mon Jan 7 10:26:00 GMT 2002
On Mon, 7 Jan 2002, Andreas Tobler wrote:
> > This seems wrong since we never want to replace archive members. Perhaps
> > AR_FLAGS="qu" would be a better choice.
>> the -u in combination with the q is not allowed on my ar, I use "q".
Duh. I thought "cq" and wrote "qu". Thanks :)
> Well, this works so far, I only get one undefined symbol. Only one
> _alloca is still missing, will find this as well.
It might be safe to use __builtin_alloca everwhere we have alloca.
(Didn't AG already submit a patch for that?)
> What me confuses is the fact, that on solaris2.6 I have the same ar
> switches (rc) and there it works .....
One possible explanation is a broken ar. Another (more likely, IMO) is
command line length limits: if libtool runs ar in one sweep it's probably
fine, but if it must split the command, the 2nd invocation will operate on
an existing archive, in which case the existing members are subject to
replacement.
I can't think of any reason we wouldn't always want to use "q" for
AR_FLAGS. You might want to explain your problem on the libtool mailing
list, to see if they have other ideas:
http://www.gnu.org/software/libtool/
Jeff
More information about the Java
mailing list