Closed
Bug 644081
Opened 14 years ago
Closed 14 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
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: smontagu, Assigned: glandium)
References
Details
Attachments
(2 files, 2 obsolete files)
270.38 KB,
text/plain
|
Details | |
20.68 KB,
patch
|
Details | Diff | Splinter Review |
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
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → mh+mozilla
Assignee | ||
Comment 1•14 years ago
|
||
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...
Assignee | ||
Comment 3•14 years ago
|
||
Requires python 2.6
Assignee | ||
Comment 4•14 years ago
|
||
Attachment #521274 -
Attachment is obsolete: true
Attachment #521472 -
Flags: review?(ted.mielczarek)
Comment 5•14 years ago
|
||
FWIW, the patch allows Thunderbird to build against trunk moz-central.
Comment 7•14 years ago
|
||
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+
Assignee | ||
Comment 8•14 years ago
|
||
(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.
Assignee | ||
Comment 9•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 10•14 years ago
|
||
Attachment #521472 -
Attachment is obsolete: true
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•