pkgsrc-Users archive

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

www/firefox24 build failure with gcc 4.9.2 on Solaris 10 sparc



Hi,

I'm trying to build firefox24 with external gcc 4.9.2 on Solaris 10 sparc
and it's halting with the following error:

g++ -o Poison.o -c  -fvisibility=hidden -DIMPL_MFBT
-DMOZ_GLUE_IN_PROGRAM -DNO_NSPR_10_SUPPORT  -I../mfbt -I.
-I../dist/include  -I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss
-I/usr/pkg/include/nss -I/usr/pkg/include/nspr       -fPIC
-DPNG_NO_ASSEMBLER_CODE -D__EXTENSIONS__ -I/usr/include
-I/usr/pkg/include -I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss
-I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -O2
-I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr
-I/usr/pkg/include/nss/nss -I/usr/pkg/include/libdrm
-I/usr/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  -DPNG_NO_ASSEMBLER_CODE -D__EXTENSIONS__
-I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr
-I/usr/pkg/include/nss/nss -I/usr/pkg/include/libdrm
-I/usr/pkg/include/freetype2 -DMOZILLA_CLIENT -include
../mozilla-config.h -MD -MP -MF .deps/Poison.o.pp
/usr/pkgsrc/www/firefox24/work/mozilla-esr24/mfbt/Poison.cpp
/usr/pkgsrc/www/firefox24/work/mozilla-esr24/mfbt/Poison.cpp: In
function 'bool ProbeRegion(uintptr_t, uintptr_t)':
/usr/pkgsrc/www/firefox24/work/mozilla-esr24/mfbt/Poison.cpp:131:71:
error: 'posix_madvise' was not declared in this scope
   if (posix_madvise(reinterpret_cast<void*>(region), size, MADV_NORMAL)) {
                                                                       ^
gmake[3]: *** [Poison.o] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/www/firefox24/work/mozilla-esr24/mfbt'
gmake[2]: *** [libs_tier_base] Error 2
gmake[2]: Leaving directory `/usr/pkgsrc/www/firefox24/work/mozilla-esr24'
gmake[1]: *** [tier_base] Error 2
gmake[1]: Leaving directory `/usr/pkgsrc/www/firefox24/work/mozilla-esr24'
gmake: *** [all] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/www/firefox24
*** Error code 1

I have 'PKG_OPTIONS.firefox24+= -pulseaudio' in mk.conf for now.

All of the dependencies have built successfully to this point.

Anybody know why this is breaking even though there seems to be an
explicit patch for Poison.cpp on Solaris in the pkgsrc patches folder?

Thanks!


Home | Main Index | Thread Index | Old Index