typesan
typesan copied to clipboard
Firefox compilation error
Hi: I met a bunch of errors while executing autosetup.sh, and this happens in Firefox's compilation, I wonder if you have any hint to solve them: 1. js/src/ctypes/libffi> clang-3.9: error: unsupported option '-print-multi-os-directory' 2. autosetup.dir/src/firefox-47.0/obj-TypeSan-typesanbl/dist/stl_wrappers/new:36:4: error: "STL code can only be used with infallible ::operator new()"
error "STL code can only be used with infallible ::operator new()"
ypesan/autosetup.dir/src/firefox-47.0/obj-TypeSan-typesanbl/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 ^~~~~~~~~~~~~~~~~~~~~~~~ 4. typesan/autosetup.dir/src/firefox-47.0/obj-TypeSan-typesanbl/dist/include/mozilla/mozalloc.h:175:34: note: expanded from macro 'MOZALLOC_THROW_BAD_ALLOC' #define MOZALLOC_THROW_BAD_ALLOC MOZALLOC_THROW_BAD_ALLOC_IF_HAS_EXCEPTIONS ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5. typesan/autosetup.dir/src/firefox-47.0/obj-TypeSan-typesanbl/dist/include/mozilla/mozalloc.h:190:44: error: no type named 'nothrow_t' in namespace 'std' void* operator new(size_t size, const std::nothrow_t&) MOZALLOC_THROW_IF_HAS_EXCEPTIONS ~~~~~^
typesan/autosetup.dir/src/firefox-47.0/obj-TypeSan-typesanbl/dist/include/mozilla/mozalloc.h:192:12: error: use of undeclared identifier 'malloc' return malloc_impl(size);