Discussion:
error while building a release(official) version on window error: Gecko exception wrapping doesn't understand your your MSVC/SDK. Please file a bug describing this error and your build configuration.
Amirhossein Ghafari
2018-11-06 15:28:34 UTC
Permalink
Hi,

I'm trying to build the release version of the firefox on the windows host.

The problem is I can easily follow the build instruction for windows provided (https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Windows_Prerequisites) but when I'm trying to compile a released version like (https://archive.mozilla.org/pub/firefox/releases/62.0/source/firefox-62.0.source.tar.xz) I will get the error in the building process.

I'm so frustrated right now I would shake your hand if you tell me what's wrong.

here is the error:

0:41.82 checking for dia2.h... yes
0:43.66 checking for overridable _RAISE... no
0:43.66 configure: error: Gecko exception wrapping doesn't understand your your MSVC/SDK. Please file a bug describing this error and your build configuration.
0:43.67 DEBUG: <truncated - see config.log for full output>
0:43.67 DEBUG: configure:2433: checking for ranlib
0:43.67 DEBUG: configure:2465: checking for ml
0:43.67 DEBUG: configure:2519: checking for ar
0:43.67 DEBUG: configure:2554: checking for strip
0:43.67 DEBUG: configure:2589: checking for windres
0:43.67 DEBUG: configure:2624: checking for otool
0:43.67 DEBUG: configure:2726: checking for midl
0:43.67 DEBUG: configure:2775: cl.exe -c -TC -nologo conftest.c 1>&5
0:43.67 DEBUG: conftest.c
0:43.67 DEBUG: configure:2800: cl.exe -c -TP -nologo conftest.C 1>&5
0:43.67 DEBUG: conftest.C
0:43.67 DEBUG: configure:2851: checking for dia2.h
0:43.67 DEBUG: configure:2864: cl.exe -c -TC -nologo conftest.c 1>&5
0:43.67 DEBUG: conftest.c
0:43.67 DEBUG: configure:2978: checking for overridable _RAISE
0:43.67 DEBUG: configure:3005: cl.exe -c -TP -nologo -w15038 -wd5026 -wd5027 -Zc:sizedDealloc- -wd4091 -wd4577 -D_HAS_EXCEPTIONS=0 conftest.C 1>&5
0:43.67 DEBUG: conftest.C
0:43.67 DEBUG: C:\PROGRA~2\MICROS~1\2017\COMMUN~1\VC\Tools\MSVC\1415~1.267\include\yvals.h(512): warning C4005: '_RAISE': macro redefinition
0:43.67 DEBUG: configure(2997): note: see previous definition of '_RAISE'
0:43.67 DEBUG: configure: error: Gecko exception wrapping doesn't understand your your MSVC/SDK. Please file a bug describing this error and your build configuration.
0:43.67 ERROR: old-configure failed
0:43.75 *** Fix above errors and then restart with\
0:43.75 "c:/mozilla-build/bin/mozmake.EXE -f client.mk build"
0:43.77 mozmake.EXE: *** [client.mk:149: configure] Error 1
Gabriele Svelto
2018-11-06 21:02:51 UTC
Permalink
Hi Amirhossein,
Post by Amirhossein Ghafari
0:43.67 DEBUG: configure:3005: cl.exe -c -TP -nologo -w15038 -wd5026 -wd5027 -Zc:sizedDealloc- -wd4091 -wd4577 -D_HAS_EXCEPTIONS=0 conftest.C 1>&5
0:43.67 DEBUG: conftest.C
0:43.67 DEBUG: C:\PROGRA~2\MICROS~1\2017\COMMUN~1\VC\Tools\MSVC\1415~1.267\include\yvals.h(512): warning C4005: '_RAISE': macro redefinition
0:43.67 DEBUG: configure(2997): note: see previous definition of '_RAISE'
0:43.67 DEBUG: configure: error: Gecko exception wrapping doesn't understand your your MSVC/SDK. Please file a bug describing this error and your build configuration.
0:43.67 ERROR: old-configure failed
0:43.75 *** Fix above errors and then restart with\
0:43.75 "c:/mozilla-build/bin/mozmake.EXE -f client.mk build"
0:43.77 mozmake.EXE: *** [client.mk:149: configure] Error 1
That error usually crops up when something's wrong with the Windows SDK,
the most likely explanation is that you don't have the correct version
installed. IIRC you need either SDK 10.0.15063.0 or 10.0.17134.0.

Additionally I'd suggest you to try building the current mozilla-central
codebase instead of a release version and use ./mach bootstrap to get
all your dependencies installed.

Gabriele
Masatoshi Kimura
2018-11-06 22:12:25 UTC
Permalink
You cannot build Firefox 62 or earlier using Visual Studio 2017 Update 8
because of <https://bugzilla.mozilla.org/show_bug.cgi?id=1484184>.
Post by Amirhossein Ghafari
Hi,
I'm trying to build the release version of the firefox on the windows host.
The problem is I can easily follow the build instruction for windows provided (https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Windows_Prerequisites) but when I'm trying to compile a released version like (https://archive.mozilla.org/pub/firefox/releases/62.0/source/firefox-62.0.source.tar.xz) I will get the error in the building process.
I'm so frustrated right now I would shake your hand if you tell me what's wrong.
0:41.82 checking for dia2.h... yes
0:43.66 checking for overridable _RAISE... no
0:43.66 configure: error: Gecko exception wrapping doesn't understand your your MSVC/SDK. Please file a bug describing this error and your build configuration.
0:43.67 DEBUG: <truncated - see config.log for full output>
0:43.67 DEBUG: configure:2433: checking for ranlib
0:43.67 DEBUG: configure:2465: checking for ml
0:43.67 DEBUG: configure:2519: checking for ar
0:43.67 DEBUG: configure:2554: checking for strip
0:43.67 DEBUG: configure:2589: checking for windres
0:43.67 DEBUG: configure:2624: checking for otool
0:43.67 DEBUG: configure:2726: checking for midl
0:43.67 DEBUG: configure:2775: cl.exe -c -TC -nologo conftest.c 1>&5
0:43.67 DEBUG: conftest.c
0:43.67 DEBUG: configure:2800: cl.exe -c -TP -nologo conftest.C 1>&5
0:43.67 DEBUG: conftest.C
0:43.67 DEBUG: configure:2851: checking for dia2.h
0:43.67 DEBUG: configure:2864: cl.exe -c -TC -nologo conftest.c 1>&5
0:43.67 DEBUG: conftest.c
0:43.67 DEBUG: configure:2978: checking for overridable _RAISE
0:43.67 DEBUG: configure:3005: cl.exe -c -TP -nologo -w15038 -wd5026 -wd5027 -Zc:sizedDealloc- -wd4091 -wd4577 -D_HAS_EXCEPTIONS=0 conftest.C 1>&5
0:43.67 DEBUG: conftest.C
0:43.67 DEBUG: C:\PROGRA~2\MICROS~1\2017\COMMUN~1\VC\Tools\MSVC\1415~1.267\include\yvals.h(512): warning C4005: '_RAISE': macro redefinition
0:43.67 DEBUG: configure(2997): note: see previous definition of '_RAISE'
0:43.67 DEBUG: configure: error: Gecko exception wrapping doesn't understand your your MSVC/SDK. Please file a bug describing this error and your build configuration.
0:43.67 ERROR: old-configure failed
0:43.75 *** Fix above errors and then restart with\
0:43.75 "c:/mozilla-build/bin/mozmake.EXE -f client.mk build"
0:43.77 mozmake.EXE: *** [client.mk:149: configure] Error 1
_______________________________________________
dev-platform mailing list
https://lists.mozilla.org/listinfo/dev-platform
Loading...