should use -Fo instead of -o on MASM (LINK : fatal error LNK1181: cannot open input file 'methodjit/TrampolineMasmX64.obj')

RESOLVED FIXED in mozilla9

Status

()

Core
Build Config
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: m_kato, Assigned: m_kato)

Tracking

(Blocks: 2 bugs)

Trunk
mozilla9
x86_64
Windows Vista
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1311893165.1311904617.14231.gz

ml64.exe -o TrampolineMasmX64.obj  -c /e/builds/moz2_slave/m-cen-w64/build/js/src/methodjit/TrampolineMasmX64.asm
MASM : warning A4018:invalid command-line option : -o
 Assembling: e:/builds/moz2_slave/m-cen-w64/build/js/src/methodjit/TrampolineMasmX64.asm
Created attachment 549300 [details] [diff] [review]
fix
(Assignee)

Updated

6 years ago
Attachment #549300 - Flags: review?(ted.mielczarek)
Attachment #549300 - Flags: review?(ted.mielczarek) → review+
Created attachment 554041 [details] [diff] [review]
fix v2

When I wrote previous fix, yasm didn't works due to bug 675568.  This fix considers that AS is yasm for libjpeg-turbo.
Attachment #549300 - Attachment is obsolete: true
(Assignee)

Updated

6 years ago
Attachment #554041 - Flags: review?(ted.mielczarek)
(Assignee)

Updated

6 years ago
Blocks: 678867
(Assignee)

Updated

6 years ago
Blocks: 471090
We need to fix this to get the builds green again.

Adjusting summary to help tbpl match this bug.

ml64.exe -o methodjit/TrampolineMasmX64.obj  -c /e/builds/moz2_slave/m-cen-w64/build/js/src/methodjit/TrampolineMasmX64.asm
MASM : warning A4018:invalid command-line option : -o
 Assembling: e:/builds/moz2_slave/m-cen-w64/build/js/src/methodjit/TrampolineMasmX64.asm
ml64.exe -o jswin64.obj  -c /e/builds/moz2_slave/m-cen-w64/build/js/src/jswin64.asm
MASM : warning A4018:invalid command-line option : -o
 Assembling: e:/builds/moz2_slave/m-cen-w64/build/js/src/jswin64.asm
rm -f js_static.lib js_static.lib.desc
c:/mozilla-build/python/python2.6.exe /e/builds/moz2_slave/m-cen-w64/build/js/src/config/pythonpath.py -I./config /e/builds/moz2_slave/m-cen-w64/build/js/src/config/expandlibs_exec.py --extract -- lib -NOLOGO -OUT:"js_static.lib" jsalloc.obj jsanalyze.obj jsapi.obj jsarena.obj jsarray.obj jsatom.obj jsbool.obj jsclone.obj jscntxt.obj jscompartment.obj jsdate.obj jsdbgapi.obj jsdhash.obj jsdtoa.obj jsemit.obj jsexn.obj jsfriendapi.obj jsfun.obj jsgc.obj jsgcmark.obj jsgcchunk.obj jsgcstats.obj jscrashreport.obj jshash.obj jsinterp.obj jsinvoke.obj jsiter.obj jslock.obj jslog2.obj jsmath.obj jsnativestack.obj jsnum.obj jsobj.obj json.obj jsonparser.obj jsopcode.obj jsparse.obj jsproxy.obj jsprf.obj jsprobes.obj jspropertycache.obj jspropertytree.obj jsreflect.obj jsregexp.obj jsscan.obj jsscope.obj jsscript.obj jsstr.obj jstypedarray.obj jsutil.obj jswatchpoint.obj jsweakmap.obj jswrapper.obj jsxdrapi.obj jsxml.obj prmjtime.obj sharkctl.obj vm/Debugger.obj vm/GlobalObject.obj vm/Stack.obj vm/String.obj frontend/ParseMaps.obj vm/Unicode.obj jstracer.obj nanojit/Assembler.obj nanojit/Allocator.obj nanojit/CodeAlloc.obj nanojit/Containers.obj nanojit/Fragmento.obj nanojit/LIR.obj nanojit/njconfig.obj nanojit/RegAlloc.obj nanojit/avmplus.obj nanojit/NativeX64.obj jsbuiltins.obj nanojit/VMPI.obj tracejit/Writer.obj methodjit/MethodJIT.obj methodjit/StubCalls.obj methodjit/Compiler.obj methodjit/FrameState.obj methodjit/FastArithmetic.obj methodjit/FastOps.obj methodjit/StubCompiler.obj methodjit/MonoIC.obj methodjit/PolyIC.obj methodjit/ImmutableSync.obj methodjit/InvokeHelpers.obj methodjit/Retcon.obj methodjit/TrampolineCompiler.obj v8-dtoa/checks.obj v8-dtoa/conversions.obj v8-dtoa/diy-fp.obj v8-dtoa/v8-dtoa.obj v8-dtoa/fast-dtoa.obj v8-dtoa/platform.obj v8-dtoa/utils.obj Assertions.obj ExecutableAllocatorPosix.obj ExecutableAllocatorWin.obj ExecutableAllocatorOS2.obj ExecutableAllocator.obj ARMAssembler.obj Logging.obj MacroAssemblerARM.obj MacroAssemblerX86Common.obj OSAllocatorOS2.obj OSAllocatorPosix.obj OSAllocatorWin.obj PageBlock.obj YarrInterpreter.obj YarrJIT.obj YarrPattern.obj YarrSyntaxChecker.obj ctypes/CTypes.obj ctypes/Library.obj perf/jsperf.obj perf/pm_stub.obj methodjit/TrampolineMasmX64.obj jswin64.obj  ctypes/libffi/.libs/libffi.lib 
Microsoft (R) Macro Assembler (x64) Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.

Microsoft (R) Macro Assembler (x64) Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.

LINK : fatal error LNK1181: cannot open input file 'methodjit/TrampolineMasmX64.obj'
make[5]: Leaving directory `/e/builds/moz2_slave/m-cen-w64/build/obj-firefox/js/src'
make[4]: Leaving directory `/e/builds/moz2_slave/m-cen-w64/build/obj-firefox'
make[3]: Leaving directory `/e/builds/moz2_slave/m-cen-w64/build/obj-firefox'
make[2]: Leaving directory `/e/builds/moz2_slave/m-cen-w64/build/obj-firefox'
make[1]: Leaving directory `/e/builds/moz2_slave/m-cen-w64/build'
make[5]: *** [js_static.lib] Error 157
make[4]: *** [libs_tier_js] Error 2
make[3]: *** [tier_js] Error 2
make[2]: *** [default] Error 2
make[1]: *** [realbuild] Error 2
make: *** [profiledbuild] Error 2
Summary: should use -Fo instead of -o on MASM → should use -Fo instead of -o on MASM (LINK : fatal error LNK1181: cannot open input file 'methodjit/TrampolineMasmX64.obj')
Blocks: 558448
Blocks: 680395
(Assignee)

Updated

6 years ago
Duplicate of this bug: 680477

Comment 5

6 years ago
Can someone help me understand why 680477 is marked as a duplicate?  x64 builds were being produced until 8/15, but this bug is from 7/28.
(In reply to alanjstr from comment #5)
> Can someone help me understand why 680477 is marked as a duplicate?  x64
> builds were being produced until 8/15, but this bug is from 7/28.

To land bug 678867 is causing bustage for Win64 build.  But it can fix by this bug.
Attachment #554041 - Flags: review?(ted.mielczarek) → review+
http://hg.mozilla.org/integration/mozilla-inbound/rev/b370f47da297
Whiteboard: [inbound]
http://hg.mozilla.org/mozilla-central/rev/b370f47da297
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
Target Milestone: --- → mozilla9
You need to log in before you can comment on or make changes to this bug.