Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jan 2015 17:19:10 +0100
From:      Jan Beich <jbeich@vfemail.net>
To:        Andrea Venturoli <ml@netfence.it>
Cc:        ports@freebsd.org, gecko@FreeBSD.org
Subject:   Re: Cannot build FireFox on 9.3/i386
Message-ID:  <3879-9y81-wny@vfemail.net>
In-Reply-To: <54BA76A4.2070105__31874.2431737066$1421506260$gmane$org@netfence.it> (Andrea Venturoli's message of "Sat, 17 Jan 2015 15:50:12 %2B0100")
References:  <54BA76A4.2070105__31874.2431737066$1421506260$gmane$org@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrea Venturoli <ml@netfence.it> writes:

> Due to the latest vulnerabilities, I'm trying to upgrade FireFox, but
> it stops on this error:
>
> 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.

Already reported. std::abs(int64_t) for 32bit archs or std::llabs are not
available in base libstdc++ or before 10.0-RELEASE (r255294) for libstdc++
in lang/gcc47 and earlier (libstdc++/54686).

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196772

-------------------------------------------------

VFEmail.net - http://www.vfemail.net
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3879-9y81-wny>