pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

build problems with xulrunner 16.0.2: : 'malloc_usable_size' was not declared in this scope



Hello,

I"m trying to build xulrunner (for thunderbird and firefox) from trunk.
Running on OpenIndiana 151a7 in a non-global zone initially bootstrapped with Jonathan Perkin's bootstrap-2012Q3-illumos.tar.gz.

NB: gcc47 has been updated to 4.7.2 which is supposed to help mozilla builds...

the builds seem to indicate namespace problem:

g++ -o mozalloc.o -c -DMOZ_GLUE_IN_PROGRAM -I../../xpcom -I. -I. -I../../dist/include -I/opt/pkg/include/nspr -I/opt/pkg/include/nss/nss -I/opt/pkg/include/nss -I/opt/pkg/include/nspr -fPIC -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/gettext -I/opt/pkg/include/nspr -I/opt/pkg/include/freetype2 -O -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/gettext -I/opt/pkg/include/nspr -I/opt/pkg/include/freetype2 -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -O2 -fomit-frame-pointer -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/gettext -I/opt/pkg/include/nspr -I/opt/pkg/include/freetype2 -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MF .deps/mozalloc.o.pp /tmp/pkgsrc/devel/xulrunner/work/mozilla-release/memory/mozalloc/mozalloc.cpp /tmp/pkgsrc/devel/xulrunner/work/mozilla-release/memory/mozalloc/mozalloc.cpp: In function 'ulong_t moz_malloc_usable_size(void*)': /tmp/pkgsrc/devel/xulrunner/work/mozilla-release/memory/mozalloc/mozalloc.cpp:215:34: error: 'malloc_usable_size' was not declared in this scope
gmake[3]: *** [mozalloc.o] Error 1

has anybody else come across these and have any patches or other suggestions that may help?

I've tried the default, which is with mozilla-jemalloc, and also with mozilla-jemalloc disabled which gives a similar problem:

g++ -o mozalloc_abort.o -c -DMOZ_GLUE_IN_PROGRAM -I../../xpcom -I. -I. -I../../dist/include -I/opt/pkg/include/nspr -I/opt/pkg/include/nss/nss -I/opt/pkg/include/nss -I/opt/pkg/include/nspr -fPIC -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/gettext -I/opt/pkg/include/nspr -I/opt/pkg/include/freetype2 -O -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/gettext -I/opt/pkg/include/nspr -I/opt/pkg/include/freetype2 -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -O2 -fomit-frame-pointer -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/gettext -I/opt/pkg/include/nspr -I/opt/pkg/include/freetype2 -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MF .deps/mozalloc_abort.o.pp /tmp/pkgsrc/devel/xulrunner/work/mozilla-release/memory/mozalloc/mozalloc_abort.cpp /tmp/pkgsrc/devel/xulrunner/work/mozilla-release/memory/mozalloc/mozalloc_abort.cpp: In function 'void abort()': /tmp/pkgsrc/devel/xulrunner/work/mozilla-release/memory/mozalloc/mozalloc_abort.cpp:30:16: error: 'void abort()' conflicts with previous using declaration 'void std::abort()'
gmake[3]: *** [mozalloc_abort.o] Error 1

full logs available if needed.

Thanks in advance



Home | Main Index | Thread Index | Old Index