[oi-dev] building firefox

Richard PALO richard.palo at baou.fr
Thu Dec 5 09:12:18 UTC 2013


Le 04/12/13 12:18, Alexander Pyhalov a écrit :
> Hello.
> I'm in the same boat now... Building firefox 10 with gcc 4.7.2 on OI
> I've received
>
> c++ -o mozalloc_abort.o -c   -DOSTYPE=\"SunOS5\" -DOSARCH=SunOS
> -I../../xpcom
> -I/export/home/alp/srcs/oi-userland/components/firefox/mozilla-esr10/memory/mozalloc
> -I. -I../../dist/include -I../../dist/include/nsprpub
> -I/export/home/alp/srcs/oi-userland/components/firefox/build/i86/dist/include/nspr
> -I/export/home/alp/srcs/oi-userland/components/firefox/build/i86/dist/include/nss
>       -fPIC  -fno-rtti -pedantic -Wno-long-long -fno-exceptions
> -fno-strict-aliasing -std=gnu++0x -pthread  -DNDEBUG -DTRIMMED -O
> -fomit-frame-pointer   -DMOZILLA_CLIENT -include ../../mozilla-config.h
> -MD -MF .deps/mozalloc_abort.pp
> /export/home/alp/srcs/oi-userland/components/firefox/build/i86/memory/mozalloc/mozalloc_abort.cpp
>
> /export/home/alp/srcs/oi-userland/components/firefox/build/i86/memory/mozalloc/mozalloc_abort.cpp:
> In function ‘void abort()’:
> /export/home/alp/srcs/oi-userland/components/firefox/build/i86/memory/mozalloc/mozalloc_abort.cpp:106:16:
> error: ‘void abort()’ conflicts with previous using declaration ‘void
> std::abort()’
> make[5]: *** [mozalloc_abort.o] Error 1
> make[5]: Leaving directory
> `/export/home/alp/srcs/oi-userland/components/firefox/build/i86/memory/mozalloc'
>
> make[4]: *** [libs] Error 2
>
> It seems that others have been there. Does someone know how to fix this?

pkgsrc [current] Firefox24 is building and running now on sunos,

I never could seem to use mozilla-jemalloc though (same issue, and I 
couldn't be bothered to find out why).

You may wish to wade through the patches (which should be mirrored on 
https://github.com/joyent/pkgsrc/tree/trunk/www/firefox24) for pertinent 
sunos platform fixes.

thunderbird(24) is at least building now as well, with the kinks still 
getting worked out (including enigmail/lightning).




More information about the oi-dev mailing list