Build bustage with MSVC9: mozilla-central\gfx\2d\Tools.h(81) : error C3861: 'hypotf': identifier not found

RESOLVED FIXED in mozilla15

Status

()

Core
Graphics
P2
blocker
RESOLVED FIXED
5 years ago
a year ago

People

(Reporter: mayhemer, Assigned: mayhemer)

Tracking

({regression})

Trunk
mozilla15
x86_64
Windows 7
regression
Points:
---
Dependency tree / graph
Bug Flags:
in-testsuite -

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
# Options for client.mk.
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/_obj-browser-debug
mk_add_options MOZ_MAKE_FLAGS=-j9

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-profiling
ac_add_options --disable-installer
ac_add_options --enable-chrome-format=flat
ac_add_options --disable-crashreporter
ac_add_options --disable-webm
ac_add_options --disable-accessibility
ac_add_options --disable-angle 

pymake parallel build (I don't think this is caused by pymake, though).
My best guess is in this configuration math.h is not included. Try including it at the top and see if it makes a difference!
(Assignee)

Comment 2

5 years ago
When going to the parent revision b7b6565d12a0 (part 1 patch for the same bug) I see more errors:


/c/Mozilla/src/mozilla-central/_obj-browser-debug
$ pymake -C gfx/2d/
make.py[0]: Entering directory 'c:\Mozilla\src\mozilla-central\_obj-browser-debug\gfx/2d/'
make.py[1]: Entering directory 'c:\Mozilla\src\mozilla-central\_obj-browser-debug\gfx\2d'
c:\Mozilla\src\mozilla-central\config\rules.mk:736:0$ c:/Mozilla/mozilla-build/python/python2.6.exe c:/Mozilla/src/mozilla-central/config/buildlist.py ../../c
onfig/final-link-libs gfx2d
evaluation from c:\Mozilla\src\mozilla-central\config\rules.mk:1335:42:3:0$ c:/Mozilla/src/mozilla-central/_obj-browser-debug/config/nsinstall.exe -m 644 c:/M
ozilla/src/mozilla-central/gfx/2d/2D.h c:/Mozilla/src/mozilla-central/gfx/2d/BasePoint.h c:/Mozilla/src/mozilla-central/gfx/2d/BasePoint3D.h c:/Mozilla/src/mo
zilla-central/gfx/2d/BasePoint4D.h c:/Mozilla/src/mozilla-central/gfx/2d/BaseMargin.h c:/Mozilla/src/mozilla-central/gfx/2d/BaseRect.h c:/Mozilla/src/mozilla-
central/gfx/2d/BaseSize.h c:/Mozilla/src/mozilla-central/gfx/2d/Blur.h c:/Mozilla/src/mozilla-central/gfx/2d/PathHelpers.h c:/Mozilla/src/mozilla-central/gfx/
2d/Point.h c:/Mozilla/src/mozilla-central/gfx/2d/Matrix.h c:/Mozilla/src/mozilla-central/gfx/2d/Rect.h c:/Mozilla/src/mozilla-central/gfx/2d/Types.h c:/Mozill
a/src/mozilla-central/gfx/2d/UserData.h ../../dist/include/mozilla/gfx
make.py[1]: Leaving directory 'c:\Mozilla\src\mozilla-central\_obj-browser-debug\gfx\2d'
make.py[1]: Entering directory 'c:\Mozilla\src\mozilla-central\_obj-browser-debug\gfx\2d'
ImageScalingSSE2.cpp
c:\Mozilla\src\mozilla-central\config\rules.mk:1162:0$ c:/Mozilla/mozilla-build/python/python2.6.exe -O c:/Mozilla/src/mozilla-central/build/cl.py cl -FoImage
ScalingSSE2.obj -c -D_HAS_EXCEPTIONS=0 -I../../dist/stl_wrappers  -DMOZ_GFX -DUSE_CAIRO -DGFX2D_INTERNAL -DSK_A32_SHIFT=24 -DSK_R32_SHIFT=16 -DSK_G32_SHIFT=8
-DSK_B32_SHIFT=0 -DGFX_LOG_DEBUG -DGFX_LOG_WARNING -DUSE_SSE2 -DWIN32 -DINITGUID -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_I
MPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES   -Ic:/Mozilla/src/mozilla-central/gfx/2d -I. -I../../dist/include -I../../dist/include
/nsprpub  -Ic:/Mozilla/src/mozilla-central/_obj-browser-debug/dist/include/nspr -Ic:/Mozilla/src/mozilla-central/_obj-browser-debug/dist/include/nss        -T
P -nologo -W3 -Gy -Fdgenerated.pdb -wd4800 -we4553  -DDEBUG -D_DEBUG -DTRACING -Zi -Oy- -Ic:/Mozilla/src/mozilla-central/_obj-browser-debug/dist/include/cairo
 -MDd           -FI ../../dist/include/mozilla-config.h -DMOZILLA_CLIENT c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp
ImageScalingSSE2.cpp
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\typeinfo(139) : warning C4275: non dll-interface class 'stdext::exception' used as base for dll-
interface class 'std::bad_cast'
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\exception(241) : see declaration of 'stdext::exception'
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\typeinfo(138) : see declaration of 'std::bad_cast'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\typeinfo(160) : warning C4275: non dll-interface class 'stdext::exception' used as base for dll-
interface class 'std::bad_typeid'
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\exception(241) : see declaration of 'stdext::exception'
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\typeinfo(159) : see declaration of 'std::bad_typeid'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(87) : error C2146: syntax error : missing ';' before identifier '_mm_not_si128'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(87) : error C2433: '__m128i' : 'inline' not permitted on data declarations
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(87) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(87) : error C2146: syntax error : missing ')' before identifier 'arg'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(87) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(87) : error C2059: syntax error : ')'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(88) : error C2143: syntax error : missing ';' before '{'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(88) : error C2447: '{' : missing function header (old-style formal list?)
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(98) : error C2146: syntax error : missing ';' before identifier 'avg_sse2_8x2'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(98) : error C2433: '__m128i' : 'inline' not permitted on data declarations
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(98) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(98) : error C2086: 'int __m128i' : redefinition
        c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(87) : see declaration of '__m128i'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(98) : error C2065: 'a' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(98) : error C2065: 'b' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(98) : error C2065: 'c' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(98) : error C2065: 'd' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(99) : error C2448: 'avg_sse2_8x2' : function-style initializer appears to be a function definition
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(130) : error C2146: syntax error : missing ';' before identifier 'avg_sse2_4x2_4x1'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(130) : error C2433: '__m128i' : 'inline' not permitted on data declarations
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(130) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(130) : error C2086: 'int __m128i' : redefinition
        c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(87) : see declaration of '__m128i'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(130) : error C2146: syntax error : missing ')' before identifier 'a'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(130) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(130) : error C2059: syntax error : ')'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(131) : error C2143: syntax error : missing ';' before '{'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(131) : error C2447: '{' : missing function header (old-style formal list?)
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(137) : error C2146: syntax error : missing ';' before identifier 'avg_sse2_8x1_4x1'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(137) : error C2433: '__m128i' : 'inline' not permitted on data declarations
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(137) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(137) : error C2086: 'int __m128i' : redefinition
        c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(87) : see declaration of '__m128i'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(137) : error C2146: syntax error : missing ')' before identifier 'a'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(137) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(137) : error C2059: syntax error : ')'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(138) : error C2143: syntax error : missing ';' before '{'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(138) : error C2447: '{' : missing function header (old-style formal list?)
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(152) : error C2146: syntax error : missing ';' before identifier 'loadUnaligned128'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(152) : error C2433: '__m128i' : 'inline' not permitted on data declarations
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(152) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(152) : error C2086: 'int __m128i' : redefinition
        c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(87) : see declaration of '__m128i'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(152) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(152) : error C2143: syntax error : missing ',' before '*'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(153) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(155) : error C2065: 'aSource' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(156) : error C2065: 'aSource' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(156) : error C3861: '_mm_castps_si128': identifier not found
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(195) : error C2065: 'storage' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(195) : error C2059: syntax error : ')'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(201) : error C2065: 'upperRow' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(201) : error C2059: syntax error : ')'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(202) : error C2065: 'lowerRow' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(202) : error C2059: syntax error : ')'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(204) : error C2146: syntax error : missing ';' before identifier 'a'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(204) : error C2065: 'a' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(204) : error C2065: 'upperRow' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(204) : error C3861: '_mm_load_si128': identifier not found
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(205) : error C2146: syntax error : missing ';' before identifier 'b'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(205) : error C2065: 'b' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(205) : error C2065: 'upperRow' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(205) : error C3861: '_mm_load_si128': identifier not found
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(206) : error C2146: syntax error : missing ';' before identifier 'c'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(206) : error C2065: 'c' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(206) : error C2065: 'lowerRow' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(206) : error C3861: '_mm_load_si128': identifier not found
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(207) : error C2146: syntax error : missing ';' before identifier 'd'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(207) : error C2065: 'd' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(207) : error C2065: 'lowerRow' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(207) : error C3861: '_mm_load_si128': identifier not found
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(209) : error C2065: 'storage' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(209) : error C2065: 'a' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(209) : error C2065: 'b' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(209) : error C2065: 'c' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(209) : error C2065: 'd' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(209) : error C3861: 'avg_sse2_8x2': identifier not found
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(213) : error C2065: 'upperRow' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(213) : error C2059: syntax error : ')'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(214) : error C2065: 'lowerRow' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(214) : error C2059: syntax error : ')'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(216) : error C2146: syntax error : missing ';' before identifier 'a'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(216) : error C2065: 'a' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(216) : error C2065: 'upperRow' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(216) : error C3861: '_mm_load_si128': identifier not found
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(217) : error C2146: syntax error : missing ';' before identifier 'b'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(217) : error C2065: 'b' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(217) : error C2065: 'upperRow' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(217) : error C3861: '_mm_load_si128': identifier not found
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(218) : error C2146: syntax error : missing ';' before identifier 'c'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(218) : error C2065: 'c' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(218) : error C2065: 'lowerRow' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(219) : error C2146: syntax error : missing ';' before identifier 'd'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(219) : error C2065: 'd' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(219) : error C2065: 'lowerRow' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(221) : error C2065: 'storage' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(221) : error C2065: 'a' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(221) : error C2065: 'b' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(221) : error C2065: 'c' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(221) : error C2065: 'd' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(221) : error C3861: 'avg_sse2_8x2': identifier not found
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(225) : error C2065: 'upperRow' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(225) : error C2059: syntax error : ')'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(226) : error C2065: 'lowerRow' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(226) : error C2059: syntax error : ')'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(228) : error C2146: syntax error : missing ';' before identifier 'a'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(228) : error C2065: 'a' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(228) : error C2059: syntax error : ')'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(229) : error C2146: syntax error : missing ';' before identifier 'b'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(229) : error C2065: 'b' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(229) : error C2059: syntax error : ')'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(230) : error C2146: syntax error : missing ';' before identifier 'c'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(230) : error C2065: 'c' : undeclared identifier
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(230) : error C2059: syntax error : ')'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(231) : error C2146: syntax error : missing ';' before identifier 'd'
c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp(231) : fatal error C1003: error count exceeds 100; stopping compilation
c:\Mozilla\src\mozilla-central\config\rules.mk:1162:0: command 'c:/Mozilla/mozilla-build/python/python2.6.exe -O c:/Mozilla/src/mozilla-central/build/cl.py cl
 -FoImageScalingSSE2.obj -c -D_HAS_EXCEPTIONS=0 -I../../dist/stl_wrappers  -DMOZ_GFX -DUSE_CAIRO -DGFX2D_INTERNAL -DSK_A32_SHIFT=24 -DSK_R32_SHIFT=16 -DSK_G32
_SHIFT=8 -DSK_B32_SHIFT=0 -DGFX_LOG_DEBUG -DGFX_LOG_WARNING -DUSE_SSE2 -DWIN32 -DINITGUID -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC
_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES   -Ic:/Mozilla/src/mozilla-central/gfx/2d -I. -I../../dist/include -I../../dis
t/include/nsprpub  -Ic:/Mozilla/src/mozilla-central/_obj-browser-debug/dist/include/nspr -Ic:/Mozilla/src/mozilla-central/_obj-browser-debug/dist/include/nss
       -TP -nologo -W3 -Gy -Fdgenerated.pdb -wd4800 -we4553  -DDEBUG -D_DEBUG -DTRACING -Zi -Oy- -Ic:/Mozilla/src/mozilla-central/_obj-browser-debug/dist/incl
ude/cairo -MDd           -FI ../../dist/include/mozilla-config.h -DMOZILLA_CLIENT c:/Mozilla/src/mozilla-central/gfx/2d/ImageScalingSSE2.cpp' failed, return c
ode 2
c:\Mozilla\src\mozilla-central\config\rules.mk:679:0: command 'c:/Mozilla/mozilla-build/python/python.exe c:/mozilla/src/mozilla-central/build/pymake/pymake/.
./make.py libs' failed, return code 2
(Assignee)

Comment 3

5 years ago
(In reply to Bas Schouten (:bas) from comment #1)
> My best guess is in this configuration math.h is not included. Try including
> it at the top and see if it makes a difference!

#include <math.h> at the top of Tools.h, clobber: NO DIFFERENCE.

I build with msvc 9 and a build older Windows Mozilla Build Package,  I'll try msvc 10 and newer package and let you know.
(Assignee)

Comment 4

5 years ago
Installing the up to this date MozillaBuild package and using msvc10 to build fixes the problem for me (not sure whether msvc9 is the cause, though).

Updating summary and closing as INCOMPLETE.  The bug is there but no code change is needed to make the build work again.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → INCOMPLETE
Summary: Build bustage: mozilla-central\gfx\2d\Tools.h(81) : error C3861: 'hypotf': identifier not found → Build bustage: mozilla-central\gfx\2d\Tools.h(81) : error C3861: 'hypotf': identifier not found ; using MSVC 9 and older MozillaBuild package
(Assignee)

Comment 5

5 years ago
WONTFIX seems better.
Resolution: INCOMPLETE → WONTFIX
This shouldn't be WontFix'ed if it's (possibly) related to VC9, as VC8+ builds are still supported.
(Assignee)

Comment 7

5 years ago
OK, then I'll reopen.  I'll check this was not a problem of the older build package.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
(Assignee)

Comment 8

5 years ago
So, confirming that building using the latest MozillaBuild package and start-msvc9.bat leads to this build error.
Status: REOPENED → NEW
Summary: Build bustage: mozilla-central\gfx\2d\Tools.h(81) : error C3861: 'hypotf': identifier not found ; using MSVC 9 and older MozillaBuild package → Build bustage with MSVC9: mozilla-central\gfx\2d\Tools.h(81) : error C3861: 'hypotf': identifier not found

Comment 9

5 years ago
According to MSDN, ImageScalingSSE2.cpp should be including emmintrin.h for the declarations that it uses, and that change seems to help my compile along...
Severity: normal → blocker
tracking-firefox15: --- → ?
Priority: -- → P2
(In reply to neil@parkwaycc.co.uk from comment #9)
> According to MSDN, ImageScalingSSE2.cpp should be including emmintrin.h for
> the declarations that it uses, and that change seems to help my compile
> along...

Ugh, VC10 xmmintrin seems to include it for us. Feel free to put up a patch!
(In reply to Honza Bambas (:mayhemer) from comment #8)
> So, confirming that building using the latest MozillaBuild package and
> start-msvc9.bat leads to this build error.

Any chance you could figure out what might be preventing it from coming in? hypotf just seems to exist for me and http://msdn.microsoft.com/en-us/library/a9yb3dbt%28v=VS.71%29.aspx suggests it was present even in 7.1.
(In reply to neil@parkwaycc.co.uk from comment #9)
> According to MSDN, ImageScalingSSE2.cpp should be including emmintrin.h for
> the declarations that it uses, and that change seems to help my compile
> along...

For me this did not help compiling it... anything else you changed? This bug is quite annoying since it's blocking me doing any work really.
(Assignee)

Updated

5 years ago
Assignee: nobody → honzab.moz
Status: NEW → ASSIGNED
I checked VC9's math.h and it only has _hypotf. VC10's math.h has an inline hypotf that forwards to _hypotf.
(Assignee)

Comment 14

5 years ago
Created attachment 623109 [details] [diff] [review]
v1

MSVC9 math.h defines only _hypotf, all args and ret val are float as expected from hypotf.

In VC10 math.h I've found this line:
/* hypot and hypotf are now part of the C99 Standard */

and bellow is define, between else, of hypotf.
Attachment #623109 - Flags: review?(bas.schouten)
(In reply to Honza Bambas (:mayhemer) from comment #14)
> Created attachment 623109 [details] [diff] [review]
> v1

So I tried something similar but then I got these errors:

c:/development/mozilla/mozilla-central3/obj-debug/dom/system/../../../dom/system
/OSFileConstants.cpp(153) : error C2065: 'ELOOP' : undeclared identifier
c:/development/mozilla/mozilla-central3/obj-debug/dom/system/../../../dom/system
/OSFileConstants.cpp(157) : error C2065: 'ELOOP' : undeclared identifier
c:/development/mozilla/mozilla-central3/obj-debug/dom/system/../../../dom/system
/OSFileConstants.cpp(163) : error C2065: 'EOPNOTSUPP' : undeclared identifier
c:/development/mozilla/mozilla-central3/obj-debug/dom/system/../../../dom/system
/OSFileConstants.cpp(164) : error C2065: 'EOVERFLOW' : undeclared identifier
c:/development/mozilla/mozilla-central3/obj-debug/dom/system/../../../dom/system
/OSFileConstants.cpp(167) : error C2065: 'ETIMEDOUT' : undeclared identifier
c:/development/mozilla/mozilla-central3/obj-debug/dom/system/../../../dom/system
/OSFileConstants.cpp(168) : error C2065: 'EWOULDBLOCK' : undeclared identifier
Status: ASSIGNED → NEW
(Assignee)

Comment 16

5 years ago
Gabor, similar or my patch?  I can build with my patch under MSVC9 and 10 (didn't check 8).
Status: NEW → ASSIGNED
(In reply to Honza Bambas (:mayhemer) from comment #16)
> Gabor, similar or my patch?  I can build with my patch under MSVC9 and 10
> (didn't check 8).

I tried your patch. I'm using vs2008 so that should be version 9 right? For some reason errno.h does not have these values. After hand defined them because they are missing from errno.h it seems to compile now... fingers crossed... probably not the right thing to do but I just leave the values here.

#define EOPNOTSUPP 9
#define EWOULDBLOCK 11
#define ELOOP 40
#define EOVERFLOW 75
#define ETIMEDOUT 110
(Assignee)

Comment 18

5 years ago
Gabor, with full clobbered rebuild I've got the same result as you.  I suspect that is a different bug then this one.
Comment on attachment 623109 [details] [diff] [review]
v1

Review of attachment 623109 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks a lot!
Attachment #623109 - Flags: review?(bas.schouten) → review+

Comment 20

5 years ago
> #define EOPNOTSUPP 9
> #define EWOULDBLOCK 11
> #define ELOOP 40
> #define EOVERFLOW 75
> #define ETIMEDOUT 110

According to http://www.c-worker.ch/dokuwsck/owinsck/winsocka.htm
EOPNOTSUPP is Berkeley. with Winsock this should be WSAEOPNOTSUPP 

"The error numbers are derived from the winsock.h header file listed in section A.2.2, and are based on the fact that Windows Sockets error numbers are computed by adding 10000 to the "normal" Berkeley error number.

Note that this table does not include all of the error codes defined in winsock.h. This is because it includes only errors which might reasonably be returned by a Windows Sockets implementation: winsock.h, on the other hand, includes a full set of BSD definitions to ensure compatibility with ported software. "

Comment 21

5 years ago
> #define EOPNOTSUPP 9
> #define EWOULDBLOCK 11
> #define ELOOP 40
> #define EOVERFLOW 75
> #define ETIMEDOUT 110
Ah this is Bug 754209 - OSFileConstants.cpp does not build with VC9
(Assignee)

Comment 22

5 years ago
Comment on attachment 623109 [details] [diff] [review]
v1

https://hg.mozilla.org/integration/mozilla-inbound/rev/52319ad3cf6b
Attachment #623109 - Flags: checkin+
Please can you set the target milestone when landing on inbound. Thank you :-)

https://hg.mozilla.org/mozilla-central/rev/52319ad3cf6b
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla15
tracking-firefox15: ? → ---
Flags: in-testsuite-
Keywords: regression
Depends on: 1266292
You need to log in before you can comment on or make changes to this bug.