Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linker Error



Chris Espinosa wrote:

>> powerpc-apple-darwin8-gcc-4.0.1: installation problem, cannot exec  
>> '/ usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/collect2': Argument  
>> list too long
>
>Please paste in your linker invocation line (from the full build
>transcript).  My guess is that you have too, too many recursive search
>directories.
>
>Chris

Although it's not linker-related, are there any known limitations on
recursive search paths for the compiler (other than exceeding ARG_MAX)?

For me, recursive header search paths sometimes fail to expand; they'll
include some of the directories under the top, but not all.


There's an example app on rdar://4169166, but it seems to happen well
before ARG_MAX (256Kb) is exceeded.

It's happened since 2.0, with either gcc 3.x and 4.x, on multiple
machines, doesn't seem to be due to accented characters or whitespace,
and there doesn't seem to be any way to predict which directories will
be left out of the expansion.

Are there any internal limits this might be running into that could be
worked around, vs a bug?


-dair
___________________________________________________
mailto:dair+refnum.com       http://www.refnum.com/
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.