Mozilla fails to compile and gives this error: i686-gentoo-freebsd6.2-g++ -o nsPersistentProperties.o -c -fvisibility=hidden -DMOZILLA_INTERNAL_API -DOSTYPE=\"FreeBSD6\" -DOSARCH=\"FreeBSD\" -DBUILD_ID=2007070613 -D_IMPL_NS_COM -I../../dist/include/string -I../../dist/include/xpcom -I../../dist/include -I/usr/include/nspr -fPIC -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\" -fno-rtti -fno-handle-exceptions -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -mtune=pentium3 -pipe -Wno-return-type -w -fshort-wchar -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O2 -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\" -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsPersistentProperties.pp nsPersistentProperties.cpp nsProperties.cpp: In member function 'virtual nsresult nsProperties::Internal::QueryInterface(const nsIID&, void**)': nsProperties.cpp:44: error: '__offsetof__' was not declared in this scope nsProperties.cpp: In member function 'virtual nsrefcnt nsProperties::Internal::AddRef()': nsProperties.cpp:44: error: '__offsetof__' was not declared in this scope nsProperties.cpp: In member function 'virtual nsrefcnt nsProperties::Internal::Release()': nsProperties.cpp:44: error: '__offsetof__' was not declared in this scope gmake[3]: *** [nsProperties.o] Error 1 gmake[3]: *** Waiting for unfinished jobs.... gmake[3]: Leaving directory `/var/tmp/portage/www-client/mozilla-firefox-2.0.0.4/work/mozilla/xpcom/ds' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `/var/tmp/portage/www-client/mozilla-firefox-2.0.0.4/work/mozilla/xpcom' gmake[1]: *** [tier_2] Error 2 gmake[1]: Leaving directory `/var/tmp/portage/www-client/mozilla-firefox-2.0.0.4/work/mozilla' gmake: *** [default] Error 2 Reproducible: Always
*** This bug has been marked as a duplicate of bug 184460 ***