Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jan 2015 15:50:12 +0100
From:      Andrea Venturoli <ml@netfence.it>
To:        gecko@FreeBSD.org
Cc:        ports@freebsd.org
Subject:   Cannot build FireFox on 9.3/i386
Message-ID:  <54BA76A4.2070105@netfence.it>

next in thread | raw e-mail | index | archive | help
Hello.

Due to the latest vulnerabilities, I'm trying to upgrade FireFox, but it 
stops on this error:

clang++ -o Unified_cpp_content_media2.o -c -I../../dist/stl_wrappers 
-I../../dist/system_wrappers -include 
/tmp/usr/ports/www/firefox/work/mozilla-release/config/gcc_hidden.h 
-DOS_POSIX=1 -DOS_FREEBSD=1 -DOS_BSD=1 -DMOZILLA_INTERNAL_API 
-DSTATIC_EXPORTABLE_JS_API -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL 
-DMOZ_GLUE_IN_PROGRAM -DAB_CD=en-US -DNO_NSPR_10_SUPPORT 
-I/tmp/usr/ports/www/firefox/work/mozilla-release/content/media -I. 
-I/tmp/usr/ports/www/firefox/work/mozilla-release/obj-i386-portbld-freebsd9.3/ipc/ipdl/_ipdlheaders 
-I/tmp/usr/ports/www/firefox/work/mozilla-release/ipc/chromium/src 
-I/tmp/usr/ports/www/firefox/work/mozilla-release/ipc/glue 
-I/tmp/usr/ports/www/firefox/work/mozilla-release/content/base/src 
-I/tmp/usr/ports/www/firefox/work/mozilla-release/layout/generic 
-I/tmp/usr/ports/www/firefox/work/mozilla-release/layout/xul 
-I/tmp/usr/ports/www/firefox/work/mozilla-release/netwerk/base/src 
-I../../dist/include   -I/usr/local/include/nspr 
-I/usr/local/include/nss -I/usr/local/include/nss/nss 
-I/usr/local/include -I/usr/local/include  -I/usr/local/include/pixman-1 
     -fPIC  -Qunused-arguments -isystem/usr/local/include 
-I/usr/local/include -DMOZILLA_CLIENT -include ../../mozilla-config.h 
-MD -MP -MF .deps/Unified_cpp_content_media2.o.pp -Qunused-arguments 
-isystem/usr/local/include  -I/usr/local/include -Qunused-arguments 
-Wall -Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings 
-Werror=endif-labels -Werror=int-to-pointer-cast -Werror=missing-braces 
-Werror=pointer-arith -Werror=return-type -Werror=sequence-point 
-Werror=unused-label -Werror=trigraphs -Werror=type-limits 
-Wno-invalid-offsetof -Wno-inline-new-delete -Wno-c++0x-extensions 
-Wno-extended-offsetof -Wno-unknown-warning-option 
-Wno-return-type-c-linkage -O2 -pipe -fno-strict-aliasing 
-fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections 
-fdata-sections -fno-exceptions -fno-math-errno -std=gnu++0x -pipe 
-DNDEBUG -DTRIMMED -fno-omit-frame-pointer   -I/usr/local/include 
-I/usr/local/include -I/usr/local/include/opus 
-I/usr/local/include/soundtouch 
/tmp/usr/ports/www/firefox/work/mozilla-release/obj-i386-portbld-freebsd9.3/content/media/Unified_cpp_content_media2.cpp
In file included from 
/tmp/usr/ports/www/firefox/work/mozilla-release/obj-i386-portbld-freebsd9.3/content/media/Unified_cpp_content_media1.cpp:29:
/tmp/usr/ports/www/firefox/work/mozilla-release/content/media/MediaDecoderStateMachine.cpp:1315:7: 
error: call to 'abs' is ambiguous
       std::abs(aDuration - duration) > 
ESTIMATED_DURATION_FUZZ_FACTOR_USECS) {
       ^~~~~~~~
/usr/include/stdlib.h:83:6: note: candidate function
int      abs(int) __pure2;
          ^
/usr/include/c++/4.2/cmath:89:3: note: candidate function
   abs(double __x)
   ^
/usr/include/c++/4.2/cmath:93:3: note: candidate function
   abs(float __x)
   ^
/usr/include/c++/4.2/cmath:97:3: note: candidate function
   abs(long double __x)
   ^
/usr/include/c++/4.2/cstdlib:143:3: note: candidate function
   abs(long __i) { return labs(__i); }
   ^
1 error generated.
/tmp/usr/ports/www/firefox/work/mozilla-release/config/rules.mk:948: 
recipe for target 'Unified_cpp_content_media1.o' failed




Any hint?
Is firefox 35 still supported on 9.3 or should I move to ESR?

  bye & Thanks
	av.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54BA76A4.2070105>