Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 61807

Summary: Mozilla 1.7.2-r1 failed to build: nsFontMetricsGTK.cpp:2806: internal compiler error: Segmentation fault
Product: Gentoo Linux Reporter: Mark Mykkanen <shamu112>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: VERIFIED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mark Mykkanen 2004-08-26 07:14:19 UTC
When I try to emerge Mozilla-1.7.2-r1, I receive a Segmentation fault near compilation of nsFontMetricsGTK.cpp.


Reproducible: Always
Steps to Reproduce:
1. USE='-mozsvg -mysql' time emerge mozilla
2. 
3.

Actual Results:  
g++ -o nsGdkUtils.o -c -DNATIVE_THEME_SUPPORT -DOSTYPE=\"Linux2.6\"
-DOSARCH=\"Linux\" -DUSE_POSTSCRIPT -I../.. -I./. -I./.. -I./../shared
-I./../freetype -I./../x11shared -I/usr/X11R6/include -I/usr/include/freetype2
-I/usr/include/freetype2/config    -I../../../dist/include/xpcom
-I../../../dist/include/string -I../../../dist/include/widget
-I../../../dist/include/view -I../../../dist/include/util
-I../../../dist/include/pref -I../../../dist/include/uconv
-I../../../dist/include/unicharutil -I../../../dist/include/locale
-I../../../dist/include/necko -I../../../dist/include/content
-I../../../dist/include/dom -I../../../dist/include/layout
-I../../../dist/include/imglib2 -I../../../dist/include/gfx
-I../../../dist/include
-I/var/tmp/portage/mozilla-1.7.2-r1/work/mozilla/dist/include/nspr    
-I/usr/include/freetype2 -I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include
-fno-rtti -fno-exceptions  -Wconversion -Wpointer-arith -Wcast-align
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor
-Wno-long-long -march=athlon-tbird -Wno-deprecated -fshort-wchar -pthread -pipe
 -DNDEBUG -DTRIMMED -ffunction-sections -O2  -DXTHREADS -D_REENTRANT
-DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include    -I/usr/X11R6/include -DMOZILLA_CLIENT -include
../../../mozilla-config.h -Wp,-MD,.deps/nsGdkUtils.pp nsGdkUtils.cpp
nsFontMetricsXft.cpp
g++ -o nsFontMetricsXft.o -c -DNATIVE_THEME_SUPPORT -DOSTYPE=\"Linux2.6\"
-DOSARCH=\"Linux\" -DUSE_POSTSCRIPT -I../.. -I./. -I./.. -I./../shared
-I./../freetype -I./../x11shared -I/usr/X11R6/include -I/usr/include/freetype2
-I/usr/include/freetype2/config    -I../../../dist/include/xpcom
-I../../../dist/include/string -I../../../dist/include/widget
-I../../../dist/include/view -I../../../dist/include/util
-I../../../dist/include/pref -I../../../dist/include/uconv
-I../../../dist/include/unicharutil -I../../../dist/include/locale
-I../../../dist/include/necko -I../../../dist/include/content
-I../../../dist/include/dom -I../../../dist/include/layout
-I../../../dist/include/imglib2 -I../../../dist/include/gfx
-I../../../dist/include
-I/var/tmp/portage/mozilla-1.7.2-r1/work/mozilla/dist/include/nspr    
-I/usr/include/freetype2 -I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include
-fno-rtti -fno-exceptions  -Wconversion -Wpointer-arith -Wcast-align
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor
-Wno-long-long -march=athlon-tbird -Wno-deprecated -fshort-wchar -pthread -pipe
 -DNDEBUG -DTRIMMED -ffunction-sections -O2  -DXTHREADS -D_REENTRANT
-DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include    -I/usr/X11R6/include -DMOZILLA_CLIENT -include
../../../mozilla-config.h -Wp,-MD,.deps/nsFontMetricsXft.pp nsFontMetricsXft.cpp
nsFontMetricsGTK.cpp: In member function `virtual nsresult
   nsFontGTKNormal::GetBoundingMetrics(const PRUnichar*, unsigned int,
   nsBoundingMetrics&)':
nsFontMetricsGTK.cpp:2806: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
nsFontMetricsXft.cpp: In member function `void nsFontMetricsXft::DoMatch(int)':
nsFontMetricsXft.cpp:1204: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
gmake[4]: *** [nsFontMetricsGTK.o] Error 1
gmake[4]: *** Waiting for unfinished jobs....
The bug is not reproducible, so it is likely a hardware or OS problem.
gmake[4]: *** [nsFontMetricsXft.o] Error 1
gmake[4]: Leaving directory
`/var/tmp/portage/mozilla-1.7.2-r1/work/mozilla/gfx/src/gtk'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/var/tmp/portage/mozilla-1.7.2-r1/work/mozilla/gfx/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/mozilla-1.7.2-r1/work/mozilla/gfx'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-1.7.2-r1/work/mozilla'
make: *** [default] Error 2

!!! ERROR: net-www/mozilla-1.7.2-r1 failed.
!!! Function src_compile, Line 105, Exitcode 2
!!! (no error message)

Command exited with non-zero status 1
1318.94user 310.87system 36:19.03elapsed 74%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (883major+31670331minor)pagefaults 0swaps


Expected Results:  
Success!  Whoopee!

# emerge info
Portage 2.0.50-r10 (default-x86-2004.2, gcc-3.3.3, glibc-2.3.3.20040420-r1,
2.6.8-gentoo-r2)
=================================================================
System uname: 2.6.8-gentoo-r2 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-tbird -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/wget /etc/env.d"
CXXFLAGS="-O3 -march=athlon-tbird -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox userpriv usersandbox"
GENTOO_MIRRORS="ftp://gentoo.chem.wisc.edu/gentoo/ ftp://mirror.pudas.net/gentoo
ftp://mirrors.tds.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dfx 3dnow X alsa apache1 apache2 apm arts avi berkdb cddb cdr chroot crypt
cups divx4linux dvd dvdread encode exif fbcon ftp gdbm gif gpm gtk gtk2 imap
imlib imlib2 java jpeg kde ldap libg++ libwww lirc mad maildir mbox mikmod
mldonkey mmx mmx2 mozcalendar mozilla moznocompose mozsvg mpeg mpeg4 mysql
mysqli ncurses network nls nptl nvidia oggvorbis opengl oss pam pam-mysql pdflib
perl png postgres ppds python qt quicktime readline samba sasl sdl slang spell
sse sse2 ssl svga tcpd threads truetype voodoo3 x86 xml xml2 xmms xv xvid zlib"
Comment 1 Brad Laue (RETIRED) gentoo-dev 2005-02-20 00:51:56 UTC
This version no longer in portage. Let us know if still an issue with 1.7.5.
Comment 2 Mark Mykkanen 2005-02-20 07:15:23 UTC
No longer in portage.