I'm having some trouble compiling firefox. I think it is the same problem I have w/ blender - pointer to int conversions, on amd64, loose precision. There will probably be a lot of packages w/ this kind of problem.
Code: Select all
x86_64-pc-linux-gnu-g++ -o nsFreeType.o -c -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -I../.. -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/pref -I../../../dist/include/uconv -I../../../dist/include/unicharutil -I../../../dist/include/gfx -I../../../dist/include -I/var/tmp/portage/mozilla-firefox-1.0.6-r7/work/mozilla/dist/include/nspr -I/usr/include/freetype2 -fPIC -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\" -fno-rtti -fno-handle-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=athlon64 -pipe -fPIC -Wno-return-type -w
-fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O1 -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\" -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsFreeType.pp nsFreeType.cpp
nsFreeType.cpp:101: error: cast from FT_Error (**)(FT_FaceRec_*) to int loses precision
nsFreeType.cpp:102: error: cast from FT_Error (**)(FT_LibraryRec_*) to int loses precision
nsFreeType.cpp:103: error: cast from FT_Error (**)(FT_GlyphRec_*) to int loses precision
nsFreeType.cpp:104: error: cast from FT_Error (**)(FT_FaceRec_*, FT_ULong) to int loses precision
nsFreeType.cpp:105: error: cast from FT_Error (**)(FT_GlyphSlotRec_*, FT_GlyphRec_**) to int loses precision
nsFreeType.cpp:106: error: cast from void* (**)(FT_FaceRec_*, FT_Sfnt_Tag) to int loses precision
nsFreeType.cpp:107: error: cast from FT_Error (**)(FT_GlyphRec_*, FT_UInt, FT_BBox*) to int loses precision
nsFreeType.cpp:108: error: cast from FT_Error (**)(FT_LibraryRec_**) to int loses precision
nsFreeType.cpp:109: error: cast from FT_Error (**)(FT_FaceRec_*, FT_UInt, FT_Int) to int loses precision
nsFreeType.cpp:110: error: cast from FT_Error (**)(FT_LibraryRec_*, const char*, FT_Long, FT_FaceRec_**) to int loses precision
nsFreeType.cpp:111: error: cast from FT_Error (**)(FT_Outline*, const FT_Outline_Funcs*, void*) to int loses precision
nsFreeType.cpp:112: error: cast from FT_Error (**)(FT_FaceRec_*, FT_UInt, FT_UInt) to int loses precision
nsFreeType.cpp:113: error: cast from FT_Error (**)(FT_FaceRec_*, FT_CharMapRec_*) to int loses precision
nsFreeType.cpp:115: error: cast from FT_Error (**)(FT_GlyphRec_*, FT_Matrix*, FT_Vector*) to int loses precision
nsFreeType.cpp:116: error: cast from FT_Error (**)(FT_FaceRec_*, FT_UInt, FT_UInt, FT_UInt, FT_Vector*) to int loses precision
nsFreeType.cpp:117: error: cast from FT_Error (**)(FT_GlyphRec_*, FT_GlyphRec_**) to int loses precision
nsFreeType.cpp:118: error: cast from FT_Error (**)(FT_GlyphRec_**, FT_Render_Mode, FT_Vector*, FT_Bool) to int loses precision
nsFreeType.cpp:120: error: cast from FT_ULong (**)(FT_FaceRec_*, FT_UInt*) to int loses precision
nsFreeType.cpp:121: error: cast from FT_ULong (**)(FT_FaceRec_*, FT_ULong, FT_UInt*) to int loses precision
gmake[4]: ** [nsFreeType.o] Erro 1
gmake[4]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.6-r7/work/mozilla/gfx/src/freetype'
gmake[3]: ** [libs] Erro 2
gmake[3]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.6-r7/work/mozilla/gfx/src'
gmake[2]: ** [libs] Erro 2
gmake[2]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.6-r7/work/mozilla/gfx'
gmake[1]: ** [tier_9] Erro 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.6-r7/work/mozilla'
make: ** [default] Erro 2
!!! ERROR: www-client/mozilla-firefox-1.0.6-r7 failed.
!!! Function src_compile, Line 192, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.




