Closed
Bug 550811
Opened 14 years ago
Closed 14 years ago
bustage on Windows x64 build for js-ctypes
Categories
(Core :: js-ctypes, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.9.3a3
People
(Reporter: m_kato, Assigned: m_kato)
References
Details
Attachments
(1 file)
1.88 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
After landing bug 538216, there is three problems. - since uname in mozilla-build is 32-bit process, uname cannot return correct host. So we should add --build and --host for configure of libffi - msvcc.sh needs -m64 for x64 compiler. - disable some warnings (different size cast etc) due to -WX argument.
Assignee | ||
Comment 1•14 years ago
|
||
Assignee | ||
Updated•14 years ago
|
Attachment #431031 -
Flags: review?(ted.mielczarek)
Updated•14 years ago
|
Attachment #431031 -
Flags: review?(ted.mielczarek) → review+
Comment 2•14 years ago
|
||
The msvcc.sh change will need to wind up upstream.
Assignee | ||
Comment 3•14 years ago
|
||
landed after merging benjamin's check in. http://hg.mozilla.org/mozilla-central/rev/c82a85fe6cc3
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Summary: bustage on Windows x64 buiild for js-ctypes → bustage on Windows x64 build for js-ctypes
Comment 4•14 years ago
|
||
So, hang on. Question. The original author of msvcc.sh had a case for -m64, which translated the flag into calling cl64.exe and link64.exe (or something like that; maybe it was cc and link from the separate VC directory where the 64bit tools are installed). Is that not required now? Do cl and link know that -m64 means "call the 64bit versions"? Or did MS just roll cl64 and link64 into cl and link directly?
Comment 5•14 years ago
|
||
When building for x64 on Windows, we require that you use a different MozillaBuild batch file, which puts the x64 compilers (they're separate binaries) in your PATH.
Comment 6•14 years ago
|
||
Ah, ok. Why is the -m64 even required, then?
Assignee | ||
Comment 7•14 years ago
|
||
(In reply to comment #6) > Ah, ok. Why is the -m64 even required, then? MASM for x64 is ml64.exe, not ml.exe. msvcc.sh sets ml is ml64.exe if using -m64.
Comment 8•14 years ago
|
||
(In reply to comment #7) > MASM for x64 is ml64.exe, not ml.exe. msvcc.sh sets ml is ml64.exe if using > -m64. Oh, duh. I thought I removed that bit when I wrote the wrapper. Evidently I left it in. :) Thanks!
Updated•14 years ago
|
Flags: in-testsuite-
Target Milestone: --- → mozilla1.9.3a3
You need to log in
before you can comment on or make changes to this bug.
Description
•