Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125991 - mozilla-1.7.12-r2/1.17.3 build fails after glibc-2.4 update in TestIOThreads.cpp
Summary: mozilla-1.7.12-r2/1.17.3 build fails after glibc-2.4 update in TestIOThreads.cpp
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-12 15:21 UTC by Jose daLuz
Modified: 2006-07-22 15:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jose daLuz 2006-03-12 15:21:22 UTC
After updating to glibc-2.4 and gcc-4.1.0, as part of emerge -e world mozilla-1.7.12-r2 fails to build:

x86_64-pc-linux-gnu-g++ -o TestIOThreads.o -c -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\"  -I../../dist/include/xpcom -I../../dist/include/string -I../../dist/include/necko -I../../dist/include/pref -I../../dist/include/util -I../../dist/include/test_necko -I../../dist/include -I/var/tmp/portage/mozilla-1.7.12-r2/work/mozilla/dist/include/nspr        -fPIC  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/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 -march=athlon64 -pipe -fPIC -Wno-return-type -w -fshort-wchar -pthread -pipe  -DDEBUG -D_DEBUG -DDEBUG_root -DTRACING -g -fno-inline -O1  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\"  -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/TestIOThreads.pp TestIOThreads.cpp
TestIOThreads.cpp: In function 
Comment 1 Jose daLuz 2006-03-12 15:21:22 UTC
After updating to glibc-2.4 and gcc-4.1.0, as part of emerge -e world mozilla-1.7.12-r2 fails to build:

x86_64-pc-linux-gnu-g++ -o TestIOThreads.o -c -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\"  -I../../dist/include/xpcom -I../../dist/include/string -I../../dist/include/necko -I../../dist/include/pref -I../../dist/include/util -I../../dist/include/test_necko -I../../dist/include -I/var/tmp/portage/mozilla-1.7.12-r2/work/mozilla/dist/include/nspr        -fPIC  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/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 -march=athlon64 -pipe -fPIC -Wno-return-type -w -fshort-wchar -pthread -pipe  -DDEBUG -D_DEBUG -DDEBUG_root -DTRACING -g -fno-inline -O1  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\"  -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/TestIOThreads.pp TestIOThreads.cpp
TestIOThreads.cpp: In function void* HandleEvent(PLEvent*):
TestIOThreads.cpp:53: error: cast from void* to int loses precision
gmake[3]: *** [TestIOThreads.o] Error 1
gmake[3]: Leaving directory `/var/tmp/portage/mozilla-1.7.12-r2/work/mozilla/netwerk/test'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/mozilla-1.7.12-r2/work/mozilla/netwerk'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-1.7.12-r2/work/mozilla'
make: *** [default] Error 2

!!! ERROR: www-client/mozilla-1.7.12-r2 failed.

emerge --info
Portage 2.1_pre6 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.4-r0, 2.6.15-ck5 x86_64)
=================================================================
System uname: 2.6.15-ck5 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1, 2.16.91.0.3, 2.16.91.0.5, 2.16.91.0.6
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -ffriend-injection"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="autoconfig ccache distlocks metadata-transfer nostrip sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/bmg-main /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 X aac alsa avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr crypt cups dbus debug dri dvd dvdr eds emboss encode esd firefox flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal imlib ipv6 java jpeg kde ldap lzw lzw-tiff mad mono mozilla mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pdflib perl pic png python qt quicktime readline ruby samba sdl spell sqlite ssl tcpd theora tiff truetype truetype-fonts type1-fonts usb vorbis xml2 xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_vga video_cards_vesa video_cards_nv"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, MAKEOPTS
Comment 2 Jose daLuz 2006-03-12 15:22:08 UTC
I should have mentioned that I did successfully build mozilla-firefox-1.5.0.1-r2.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-03-12 15:23:57 UTC

*** This bug has been marked as a duplicate of 125832 ***
Comment 4 Jose daLuz 2006-03-12 15:42:45 UTC
I originally posted a comment on bug 125832. But looking into it more, the mozilla bug referenced there is for i386/PPC and I'm on x86_64. Also, bug 125832 is supposed to affect mozilla-firefox, but I just completed the firefox build with no problems. Are you sure this is a duplicate?
Comment 5 Jose daLuz 2006-03-20 08:24:21 UTC
This is not a duplicate of 125832. I just tried to compile the fixed version of mozilla, 1.7.12-r3 and still have the same problem:

x86_64-pc-linux-gnu-g++ -o TestIOThreads.o -c -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\"  -I../../dist/include/xpcom -I../../dist/include/string -I../../dist/include/necko -I../../dist/include/pref -I../../dist/include/util -I../../dist/include/test_necko -I../../dist/include -I/var/tmp/portage/mozilla-1.7.12-r3/work/mozilla/dist/include/nspr        -fPIC  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/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 -march=k8 -pipe -fPIC -Wno-return-type -w -fshort-wchar -pthread -pipe  -DDEBUG -D_DEBUG -DDEBUG_root -DTRACING -g -fno-inline -O1  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\"  -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/TestIOThreads.pp TestIOThreads.cpp
TestIOThreads.cpp: In function 
Comment 6 Jose daLuz 2006-03-20 08:24:21 UTC
This is not a duplicate of 125832. I just tried to compile the fixed version of mozilla, 1.7.12-r3 and still have the same problem:

x86_64-pc-linux-gnu-g++ -o TestIOThreads.o -c -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\"  -I../../dist/include/xpcom -I../../dist/include/string -I../../dist/include/necko -I../../dist/include/pref -I../../dist/include/util -I../../dist/include/test_necko -I../../dist/include -I/var/tmp/portage/mozilla-1.7.12-r3/work/mozilla/dist/include/nspr        -fPIC  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/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 -march=k8 -pipe -fPIC -Wno-return-type -w -fshort-wchar -pthread -pipe  -DDEBUG -D_DEBUG -DDEBUG_root -DTRACING -g -fno-inline -O1  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\"  -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/TestIOThreads.pp TestIOThreads.cpp
TestIOThreads.cpp: In function void* HandleEvent(PLEvent*):
TestIOThreads.cpp:53: error: cast from void* to int loses precision
gmake[3]: *** [TestIOThreads.o] Error 1
gmake[3]: Leaving directory `/var/tmp/portage/mozilla-1.7.12-r3/work/mozilla/netwerk/test'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/mozilla-1.7.12-r3/work/mozilla/netwerk'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-1.7.12-r3/work/mozilla'
make: *** [default] Error 2

!!! ERROR: www-client/mozilla-1.7.12-r3 failed.

This is a different error message than the one in 125832. See my other comments re having no problems compiling Firefox, Thunderbird, etc. Mozilla and gecko-sdk are the only ones I can't build, with the above error.

Portage 2.1_pre6-r5 (default-linux/amd64/2006.0, gcc-4.1.0, glibc-2.4-r1, 2.6.15-ck7 x86_64)
=================================================================
System uname: 2.6.15-ck7 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1, 2.16.91.0.6, 2.16.91.0.7
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe -ffriend-injection"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="autoconfig ccache confcache distlocks metadata-transfer nostrip sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/bmg-main /usr/local/xgl-coffee /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 X aac alsa apache2 avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli crypt ctype cups dba dbus debug dri dvd dvdr eds emboss encode esd expat fastbuild firefox flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glitz gnome gpm gstreamer gtk gtk2 hal imlib ipv6 java jpeg kde ldap lzw lzw-tiff mad memlimit mono mozilla mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre pdflib perl pic png posix python qt quicktime readline ruby samba sdl session simplexml soap sockets spell spl sqlite ssl tcpd theora tiff tokenizer truetype truetype-fonts type1-fonts usb vorbis xml xml2 xpm xsl xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_vga video_cards_vesa video_cards_nv"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, MAKEOPTS
Comment 7 Jose daLuz 2006-04-24 05:23:26 UTC
This error happens with 1.7.13 as well.
Comment 8 Jory A. Pratt 2006-04-24 17:19:20 UTC
(In reply to comment #5)
> This error happens with 1.7.13 as well.
> 

Stange it has compiled fine with gcc-4.1.0 and glibc-2.4-r1 Unless more people can confirm such a bug still nothing I am inclined to do.
Comment 9 Jory A. Pratt 2006-04-24 17:22:48 UTC
err
Comment 10 Jory A. Pratt 2006-04-24 17:33:04 UTC
sorry was suppose to be marked works for me.
Comment 11 Jose daLuz 2006-04-24 18:45:36 UTC
Ah, got it. This error only happens with the debug USE flag set -- I just successfully built it with USE="-debug". No problem for me, I can put that in package.use, but do you want to follow up on what could be causing it?
Comment 12 Jory A. Pratt 2006-04-25 04:20:41 UTC
Now ya have given me a problem that I will work on. Thank you.
Comment 13 Chris Torske 2006-06-16 18:02:16 UTC
I too am getting the same problem, and I noticed one thing, this bug is also related to bug 135169 (gecko-sdk-1.7.13).  So very good chance the fix for this issue, will also fix that bug too.

Portage 2.1 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.16-gentoo x86_64)
=================================================================
System uname: 2.6.16-gentoo x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe -floop-optimize2 -fno-omit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O3 -pipe -floop-optimize2 -fno-omit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="ftp://gentoo.chem.wisc.edu/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en_US en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 X X509 Xaw3d a52 aac akode alsa amr apache2 arts async automount avi bash-completion bcmath berkdb bitmap-fonts browserplugin bzip2 cairo caps cddb cdr clearcase cli crypt cups cvs dbus debug dga djbfft djvu dlloader dmi doc dri dts dvd dvdread dvi dxr3 ecc emboss encode esd examples exif expat fame ffmpeg firefox flac fltk fontconfig foomaticdb fortran gd gdbm ggi gif glitz gmp gnome gnutls gpgme gpm graphviz gs gstreamer gtk gtk2 hal idea imagemagick imlib isdnlog java javascript jpeg jpeg2k kde kerberos krb4 lcms lesstif libedit logrotate lzo lzw lzw-tiff mad mailwrapper md5sum mjpeg mng motif mozdevelop mozilla mp3 mpeg musepack musicbrainz mysql mysqli nautilus ncurses neXt nfs nls nntp nptl nsplugin ntpl numeric nvidia ogg openal openexr opengl oss pam pcntl pcre pdflib perl php physfs png posix ppds pppd pwdb python qt qt4 quicktime readline reflection rle rtc ruby samba sdk sdl session simplexml smime sndfile source speex spell spl sql sqlite ssl subversion svg symlink syslog t1lib tcltk tcpd tetex theora threads tidy tiff timidity toolbar tools truetype truetype-fonts type1-fonts unicode urandom usb v4l v4l2 vhosts vorbis vorbis-psy winbind wmf xcomposite xine xml xml2 xmldoclet xmlreader xmlrpc xmlwriter xmms xorg xpm xprint xscreensaver xsl xv xvid xvmc zip zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en_US linguas_en userland_GNU video_cards_nvidia video_cards_glint video_cards_v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 14 Jory A. Pratt 2006-06-16 18:07:06 UTC
This bug and gecko-sdk are the least of my concern right now. I say this due to fact mozilla is not releasing any more updates and both are effected by security issues. Soon as I work out the issues in seamonkey I will get it in the tree and have it ported to seamonkey instead of mozilla gecko-sdk.
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2006-07-22 15:02:31 UTC
Mozilla is dead upstream and will be removed from portage.