Closed
Bug 940324
Opened 11 years ago
Closed 11 years ago
Build fails with error LNK2005
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 912371
People
(Reporter: longsonr, Assigned: m_kato)
Details
Attachments
(1 file)
71.08 KB,
application/zip
|
Details |
msvcprtd.lib(MSVCP100D.dll) : error LNK2005: "public: static double __cdecl std::numeric_limits<double>::infinity(void)" (?infinity@?$numeric_limits@N@std@@SANXZ) already defined in js_static.lib(digitlst.obj) Creating library jsapi-tests.lib and object jsapi-tests.exp LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library jsapi-tests.exe : fatal error LNK1169: one or more multiply defined symbols found
Reporter | ||
Comment 1•11 years ago
|
||
This changeset causes the problem for me: https://hg.mozilla.org/integration/mozilla-inbound/rev/4110a8986a2a .mozconfig mk_add_options AUTOCLOBBER=1 ac_add_options --enable-debug ac_add_options --disable-optimize
Comment 2•11 years ago
|
||
Brian, is this something you can help with?
Comment 3•11 years ago
|
||
For .mozconfig: # Options for client.mk. mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/_obj-browser-debug mk_add_options MOZ_MAKE_FLAGS=-j9 # Options for 'configure' (same as command-line options). #ac_add_options --enable-jemalloc export MOZ_DEBUG_SYMBOLS=1 ac_add_options --enable-application=browser ac_add_options --enable-debug ac_add_options --disable-optimize ac_add_options --enable-shared ac_add_options --disable-static ac_add_options --enable-tests ac_add_options --enable-logging ac_add_options --enable-visual-event-tracer ac_add_options --disable-installer ac_add_options --enable-chrome-format=flat ac_add_options --enable-warnings-as-errors ac_add_options --disable-crashreporter ac_add_options --disable-directshow # 905592 export MOZ_PSEUDO_DERECURSE=no-pymake
Comment 4•11 years ago
|
||
Ah, it's 'infinity' not 'insanity' :) sorry Brian...
Updated•11 years ago
|
Severity: normal → blocker
Comment 5•11 years ago
|
||
This sounds like bug 899948 to me, in essence.
Comment 6•11 years ago
|
||
Or rather, some sort of generalization of it.
Assignee | ||
Comment 8•11 years ago
|
||
This was fixed by adding -Od if not optimize build.
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•