x86_64-pc-linux-gnu-g++ -o StackWalk.o -c -I/var/tmp/portage/www-client/torbrowser-45.3.0_p604/work/torbrowser-45.3.0_p604/ff/dist/stl_wrappers -I/var/tmp/portage/www-client/torbrowser-45.3.0_p604/work/torbrowser-45.3.0_p604/ff/dist/system_wrappers -include /var/tmp/portage/www-client/torbrowser-45.3.0_p604/work/torbrowser-45.3.0_p604/config/gcc_hidden.h -DIMPL_MFBT -I/var/tmp/portage/www-client/torbrowser-45.3.0_p604/work/torbrowser-45.3.0_p604/mozglue/misc -I. -I../../dist/include -I/var/tmp/portage/www-client/torbrowser-45.3.0_p604/work/torbrowser-45.3.0_p604/ff/dist/include/nspr -I/var/tmp/portage/www-client/torbrowser-45.3.0_p604/work/torbrowser-45.3.0_p604/ff/dist/include/nss -fPIC -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MP -MF .deps/StackWalk.o.pp -Wall -Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -Wcast-align -march=native -pipe -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -freorder-blocks -Os -fomit-frame-pointer -Wshadow /var/tmp/portage/www-client/torbrowser-45.3.0_p604/work/torbrowser-45.3.0_p604/mozglue/misc/StackWalk.cpp TimeStamp.o In file included from /var/tmp/portage/www-client/torbrowser-45.3.0_p604/work/torbrowser-45.3.0_p604/ff/dist/stl_wrappers/cstdlib:34:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/stdlib.h:36, from /var/tmp/portage/www-client/torbrowser-45.3.0_p604/work/torbrowser-45.3.0_p604/ff/dist/system_wrappers/stdlib.h:3, from ../../dist/include/mozilla/Assertions.h:43, from ../../dist/include/mozilla/ArrayUtils.h:14, from /var/tmp/portage/www-client/torbrowser-45.3.0_p604/work/torbrowser-45.3.0_p604/mozglue/misc/StackWalk.cpp:9: ../../dist/include/mozilla/mozalloc.h: In function 'void* operator new(size_t, const std::nothrow_t&)': ../../dist/include/mozilla/mozalloc.h:192:28: error: 'malloc' was not declared in this scope return malloc_impl(size); ^ ../../dist/include/mozilla/mozalloc.h: In function 'void* operator new [](size_t, const std::nothrow_t&)': ../../dist/include/mozilla/mozalloc.h:204:28: error: 'malloc' was not declared in this scope return malloc_impl(size); ^ ../../dist/include/mozilla/mozalloc.h: In function 'void operator delete(void*)': ../../dist/include/mozilla/mozalloc.h:210:25: error: 'free' was not declared in this scope return free_impl(ptr); ^ ../../dist/include/mozilla/mozalloc.h:210:25: error: return-statement with a value, in function returning 'void' [-fpermissive] ../../dist/include/mozilla/mozalloc.h: In function 'void operator delete(void*, const std::nothrow_t&)': ../../dist/include/mozilla/mozalloc.h:216:25: error: 'free' was not declared in this scope return free_impl(ptr); ^ ../../dist/include/mozilla/mozalloc.h:216:25: error: return-statement with a value, in function returning 'void' [-fpermissive] ../../dist/include/mozilla/mozalloc.h: In function 'void operator delete [](void*)': ../../dist/include/mozilla/mozalloc.h:222:25: error: 'free' was not declared in this scope return free_impl(ptr); ^ ../../dist/include/mozilla/mozalloc.h:222:25: error: return-statement with a value, in function returning 'void' [-fpermissive] ../../dist/include/mozilla/mozalloc.h: In function 'void operator delete [](void*, const std::nothrow_t&)': ../../dist/include/mozilla/mozalloc.h:228:25: error: 'free' was not declared in this scope return free_impl(ptr); ^ ../../dist/include/mozilla/mozalloc.h:228:25: error: return-statement with a value, in function returning 'void' [-fpermissive] ../../dist/include/mozilla/mozalloc.h: In function 'void* operator new(size_t, const mozilla::fallible_t&)': ../../dist/include/mozilla/mozalloc.h:254:28: error: 'malloc' was not declared in this scope return malloc_impl(size); ^ ../../dist/include/mozilla/mozalloc.h: In function 'void* operator new [](size_t, const mozilla::fallible_t&)': ../../dist/include/mozilla/mozalloc.h:260:28: error: 'malloc' was not declared in this scope return malloc_impl(size); ^ ../../dist/include/mozilla/mozalloc.h: In function 'void operator delete(void*, const mozilla::fallible_t&)': ../../dist/include/mozilla/mozalloc.h:266:18: error: 'free' was not declared in this scope free_impl(ptr); ^ ../../dist/include/mozilla/mozalloc.h: In function 'void operator delete [](void*, const mozilla::fallible_t&)': ../../dist/include/mozilla/mozalloc.h:272:18: error: 'free' was not declared in this scope free_impl(ptr); ^ ../../dist/include/mozilla/mozalloc.h: In member function 'void InfallibleAllocPolicy::free_(void*)': ../../dist/include/mozilla/mozalloc.h:310:23: error: 'free' was not declared in this scope free_impl(aPtr); ^ make[4]: *** [/var/tmp/portage/www-client/torbrowser-45.3.0_p604/work/torbrowser-45.3.0_p604/config/rules.mk:957: StackWalk.o] Error 1 make[4]: Leaving directory '/var/tmp/portage/www-client/torbrowser-45.3.0_p604/work/torbrowser-45.3.0_p604/ff/mozglue/misc' make[3]: *** [/var/tmp/portage/www-client/torbrowser-45.3.0_p604/work/torbrowser-45.3.0_p604/config/recurse.mk:71: mozglue/misc/target] Error 2 make[3]: *** Waiting for unfinished jobs.... libjemalloc.a.desc rm -f libjemalloc.a /var/tmp/portage/www-client/torbrowser-45.3.0_p604/work/torbrowser-45.3.0_p604/ff/_virtualenv/bin/python /var/tmp/portage/www-client/torbrowser-45.3.0_p604/work/torbrowser-45.3.0_p604/config/expandlibs_gen.py -o libjemalloc.a.desc jemalloc.o make[4]: Leaving directory '/var/tmp/portage/www-client/torbrowser-45.3.0_p604/work/torbrowser-45.3.0_p604/ff/memory/mozjemalloc' make[3]: Leaving directory '/var/tmp/portage/www-client/torbrowser-45.3.0_p604/work/torbrowser-45.3.0_p604/ff' make[2]: *** [/var/tmp/portage/www-client/torbrowser-45.3.0_p604/work/torbrowser-45.3.0_p604/config/recurse.mk:33: compile] Error 2 make[2]: Leaving directory '/var/tmp/portage/www-client/torbrowser-45.3.0_p604/work/torbrowser-45.3.0_p604/ff' make[1]: *** [/var/tmp/portage/www-client/torbrowser-45.3.0_p604/work/torbrowser-45.3.0_p604/config/rules.mk:547: default] Error 2 make[1]: Leaving directory '/var/tmp/portage/www-client/torbrowser-45.3.0_p604/work/torbrowser-45.3.0_p604/ff' make: *** [client.mk:396: realbuild] Error 2 * ERROR: www-client/torbrowser-45.3.0_p604::torbrowser failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=www-client/torbrowser-45.3.0_p604::torbrowser'`, * the complete build log and the output of `emerge -pqv '=www-client/torbrowser-45.3.0_p604::torbrowser'`. * The complete build log is located at '/var/log/portage/www-client:torbrowser-45.3.0_p604:20160902-110033.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/www-client/torbrowser-45.3.0_p604/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-client/torbrowser-45.3.0_p604/temp/environment'. * Working directory: '/var/tmp/portage/www-client/torbrowser-45.3.0_p604/work/torbrowser-45.3.0_p604' * S: '/var/tmp/portage/www-client/torbrowser-45.3.0_p604/work/torbrowser-45.3.0_p604' >>> Failed to emerge www-client/torbrowser-45.3.0_p604, Log file: >>> '/var/log/portage/www-client:torbrowser-45.3.0_p604:20160902-110033.log'