[Bug 212431] www/firefox: Fix build with libc++ 3.9.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Sep 7 17:15:47 UTC 2016


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

--- Comment #6 from Dimitry Andric <dim at FreeBSD.org> ---
(In reply to Jan Beich from comment #5)
> Comment on attachment 174469 [details]
> Patch for mozilla bug 1268816
> 
> Hand over to dim@ whether to land this one and back out base r305496.

I haven't tried mozilla-central yet, but www/firefox 47.0.1,2 with only
patch-bug1268816, and base r305496 reverted, it still dies with:

In file included from
/usr/work/share/dim/ports/www/firefox/work/firefox-47.0.1/mozglue/misc/TimeStamp.cpp:11:
In file included from
/usr/work/share/dim/ports/www/firefox/work/firefox-47.0.1/obj-i386-portbld-freebsd12.0/dist/include/mozilla/TimeStamp.h:13:
In file included from
/usr/work/share/dim/ports/www/firefox/work/firefox-47.0.1/obj-i386-portbld-freebsd12.0/dist/include/mozilla/FloatingPoint.h:15:
In file included from
/usr/work/share/dim/ports/www/firefox/work/firefox-47.0.1/obj-i386-portbld-freebsd12.0/dist/include/mozilla/MathAlgorithms.h:15:
In file included from
/usr/work/share/dim/ports/www/firefox/work/firefox-47.0.1/obj-i386-portbld-freebsd12.0/dist/stl_wrappers/cmath:28:
In file included from
/usr/work/share/dim/ports/www/firefox/work/firefox-47.0.1/obj-i386-portbld-freebsd12.0/dist/system_wrappers/new:3:
In file included from /usr/include/c++/v1/new:70:
In file included from
/usr/work/share/dim/ports/www/firefox/work/firefox-47.0.1/obj-i386-portbld-freebsd12.0/dist/system_wrappers/exception:3:
In file included from /usr/include/c++/v1/exception:82:
In file included from
/usr/work/share/dim/ports/www/firefox/work/firefox-47.0.1/obj-i386-portbld-freebsd12.0/dist/stl_wrappers/type_traits:34:
/usr/work/share/dim/ports/www/firefox/work/firefox-47.0.1/obj-i386-portbld-freebsd12.0/dist/include/mozilla/mozalloc.h:184:33:
error: no type named 'bad_alloc' in namespace 'std'
void* operator new(size_t size) MOZALLOC_THROW_BAD_ALLOC
                                ^~~~~~~~~~~~~~~~~~~~~~~~

So I assume we need all three patches, then?  Going to try that next.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-gecko mailing list