Closed
Bug 1059626
Opened 10 years ago
Closed 10 years ago
Bustage: > 0:34.61 MSVCRT.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
Categories
(Core Graveyard :: Widget: WinRT, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla36
People
(Reporter: masayuki, Assigned: jimm)
References
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
alessarik
:
review+
|
Details | Diff | Splinter Review |
> 0:34.61 Executing: link -NOLOGO -OUT:CommandExecuteHandler.exe -PDB:CommandExecuteHandler.pdb -SUBSYSTEM:CONSOLE,5.01 -LARGEADDRESSAWARE -NXCOMPAT -DYNAMICBASE -SAFESEH -DEBUG -DEBUGTYPE:CV @a:\mozilla\mc-c\fx-dbg\browser\metro\shell\commandexecutehandler\tmp1ro9an.list module.res kernel32.lib user32.lib gdi32.lib winmm.lib wsock32.lib advapi32.lib secur32.lib netapi32.lib kernel32.lib user32.lib ole32.lib shlwapi.lib propsys.lib advapi32.lib wininet.lib
> 0:34.61 a:\mozilla\mc-c\fx-dbg\browser\metro\shell\commandexecutehandler\tmp1ro9an.list:
> 0:34.61 CEHHelper.obj
> 0:34.61 CommandExecuteHandler.obj
> 0:34.61
> 0:34.61 MSVCRT.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
> 0:34.61
> 0:34.61 CommandExecuteHandler.exe : fatal error LNK1120: 1 unresolved externals
> 0:34.61
> 0:34.62 a:/mozilla/mc-c/src/config/rules.mk:676: recipe for target 'CommandExecuteHandler.exe' failed
> 0:34.62 mozmake.EXE[5]: *** [CommandExecuteHandler.exe] Error 1120
> 0:34.63 a:/mozilla/mc-c/src/config/recurse.mk:85: recipe for target 'browser/metro/shell/commandexecutehandler/target' failed
> 0:34.63 mozmake.EXE[4]: *** [browser/metro/shell/commandexecutehandler/target] Error 2
> 0:34.63 mozmake.EXE[4]: *** Waiting for unfinished jobs....
I can reproduce this with current m-c. I couldn't reproduce this yesterday's m-c.
Reporter | ||
Comment 1•10 years ago
|
||
FYI: If --enable-metro is not specified, this bug isn't reproduced.
Assignee | ||
Comment 2•10 years ago
|
||
I'll take a look, I haven't built w/metro code in a couple weeks. :/
Comment 3•10 years ago
|
||
maybe this is regression of bug 1001332?
Comment 4•10 years ago
|
||
(In reply to Jim Mathies [:jimm] from comment #2)
> I'll take a look, I haven't built w/metro code in a couple weeks. :/
Do you need help for this bug? We realy need to synchronize bug 977003 to project/metro branch.
Assignee | ||
Comment 5•10 years ago
|
||
(In reply to Maksim Lebedev from comment #4)
> (In reply to Jim Mathies [:jimm] from comment #2)
> > I'll take a look, I haven't built w/metro code in a couple weeks. :/
> Do you need help for this bug? We realy need to synchronize bug 977003 to
> project/metro branch.
waiting on a resolution to bug 1071568.
Comment 6•10 years ago
|
||
(In reply to Masayuki Nakano (:masayuki) (Mozilla Japan) from comment #0)
> > 0:34.61 Executing: link -NOLOGO -OUT:CommandExecuteHandler.exe -SUBSYSTEM:CONSOLE,5.01
> > 0:34.61 MSVCRT.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main
Some investigation:
Maybe the issue is in wrong -SUBSYSTEM:CONSOLE,5.01
Maybe the correct value is -SUBSYSTEM:WINDOWS,5.01
Because CommandExecuteHandler.cpp contains "int APIENTRY wWinMain" function
Comment 7•10 years ago
|
||
Some investigation:
Maybe we should #define flag MOZ_WINCONSOLE as 0
Assignee | ||
Comment 8•10 years ago
|
||
stole this from plugin-container.exe.
Assignee: nobody → jmathies
Attachment #8507423 -
Flags: review?(alessarik)
Assignee | ||
Comment 9•10 years ago
|
||
Comment on attachment 8507423 [details] [diff] [review]
fix
I might have something cleaner.
Attachment #8507423 -
Flags: review?(alessarik)
Assignee | ||
Comment 10•10 years ago
|
||
Attachment #8507423 -
Attachment is obsolete: true
Assignee | ||
Comment 11•10 years ago
|
||
Comment on attachment 8507507 [details] [diff] [review]
fix
can you check this to be sure it addresses the problem? I had to do a mach build to get it to kick in.
Attachment #8507507 -
Flags: review?(alessarik)
Comment 12•10 years ago
|
||
Comment on attachment 8507507 [details] [diff] [review]
fix
(In reply to Jim Mathies [:jimm] from comment #11)
> can you check this to be sure it addresses the problem? I had to do a mach
> build to get it to kick in.
Yes. Patch fixed issue. I got file CommandExecureHandler.exe
Attachment #8507507 -
Flags: review?(alessarik) → review+
Assignee | ||
Comment 13•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
Updated•9 years ago
|
Keywords: regressionwindow-wanted
Updated•6 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•