Closed Bug 644081 Opened 11 years ago Closed 11 years ago
Build failure on OSX: error trying to exec '/usr/libexec/gcc/i686-apple-darwin10/4
.2 .1/collect2': execv: Argument list too long
i686-apple-darwin10-g++-4.2.1: error trying to exec '/usr/libexec/gcc/i686-apple-darwin10/4.2.1/collect2': execv: Argument list too long
As per irc, using relative paths instead of absolute makes it work, so it's a command line length issue, and not an argument count issue. The fix would be pretty simple if we'd require python 2.6, but we require python 2.5, which doesn't have os.path.relpath...
Is there a workaround for this?
Requires python 2.6
FWIW, the patch allows Thunderbird to build against trunk moz-central.
Duplicate of this bug: 644890
Comment on attachment 521472 [details] [diff] [review] Use relative paths as much as possible in expandlibs.py >+def relativize(path): Can you stick a short docstring comment here? I gather that this produces a path relative to the current working directory, but it would be good to have that noted. Looks fine otherwise. Do we get screwed on mac because of the old gcc version? I thought we were using linker scripts where possible.
Attachment #521472 - Flags: review?(ted.mielczarek) → review+
(In reply to comment #7) > Looks fine otherwise. Do we get screwed on mac because of the old gcc version? yes > I thought we were using linker scripts where possible. we do, except mac is where it's not possible, because mac ld doesn't support link scripts.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.