Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86725 - Mozilla 1.7.6-r1 won't compile
Summary: Mozilla 1.7.6-r1 won't compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-25 17:28 UTC by Bruno Lustosa
Modified: 2005-05-24 11:52 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 Bruno Lustosa 2005-03-25 17:28:14 UTC
When I try to upgrade Mozilla to 1.7.6-r1 on my amd64 system, it prints the following error messages:

x86_64-pc-linux-gnu-g++  -fno-rtti -fno-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-deprecated -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O1 -fPIC -shared -Wl,-h -Wl,librdf.so -o librdf.so  nsRDFModule.o       -Wl,--whole-archive ../../dist/lib/librdfbase_s.a ../../dist/lib/librdfdatasource_s.a ../../dist/lib/librdfutil_s.a  -Wl,--no-whole-archive -L../../dist/bin -L../../dist/lib  ../../dist/lib/libunicharutil_s.a -L../../dist/bin -lxpcom  -L../../dist/bin -L/var/tmp/portage/mozilla-1.7.6-r1/work/mozilla/dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl   -Wl,--version-script -Wl,../../build/unix/gnu-ld-scripts/components-version-script -Wl,-Bsymbolic -ldl -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: ../../dist/lib/librdfbase_s.a(nsRDFXMLSerializer.o)(.text._ZN18nsRDFXMLSerializer6CreateEP11nsISupportsRK4nsIDPPv+0x8000001d0): reloc against `nsCOMPtr_base::~nsCOMPtr_base()': error 2
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
gmake[3]: *** [librdf.so] Error 1
gmake[3]: Leaving directory `/var/tmp/portage/mozilla-1.7.6-r1/work/mozilla/rdf/build'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/mozilla-1.7.6-r1/work/mozilla/rdf'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-1.7.6-r1/work/mozilla'
make: *** [default] Error 2


Reproducible: Always
Steps to Reproduce:
1. 
2.
3.




These are the USE flags set:

[ebuild     U ] www-client/mozilla-1.7.6-r1 [1.7.5-r1] +crypt -debug +gnome
+java -ldap -mozdevelop +moznomail -moznoxft -mozsvg -mozxmlterm -postgres +ssl
-xinerama -xprint 0 kB

This is the output from emerge info:

Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar 10 2005, 00:16:22)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo
http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 16bit X aac aalib acpi acpi4linux aim alsa apache2 asm avi
bash-completion berkdb bitmap-fonts bluetooth bonobo bzlib cdr crypt cups curl
dga divx4linux dvd esd exif fam font-server foomaticdb fortran ftp gd gdbm gif
gnome gphoto2 gstreamer gtk gtk2 gtkhtml guile icq imagemagick imlib jabber java
jp2 jpeg libwww lzw lzw-tiff maildir mikmod motif mozilla moznocompose moznoirc
moznomail mp3 mpeg msn multilib ncurses nls nvidia offensive ogg oggvorbis
opengl oss pam pam_console perl png ppds readline sasl sdl ssl tcpd tetex tiff
truetype truetype-fonts type1-fonts usb userlocales xml xml2 xmms xpm xrandr xv
xvid yahoo zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2005-03-26 16:11:57 UTC
Does it build if you use gcc+binutils that are marked stable on amd64?
Comment 2 Bruno Lustosa 2005-03-26 18:31:15 UTC
I'm emerging stable versions of both gcc and binutils now to give it a try.
I'll post here after the downgrade.
Comment 3 Bruno Lustosa 2005-03-27 07:03:47 UTC
Aron, it compiled fine with stable versions of gcc and binutils.
I guess this is a compiler bug, and should be sent to the gcc team?
Comment 4 Bruno Lustosa 2005-03-27 09:32:32 UTC
Aron, after I downgraded from gcc-3.4.3.20050110-r1 to gcc-3.4.3-r1, all compiles became extremely slow. I also had a few problems with libstdc++, which I had to correct by editing some files on /etc and /etc/env.d.
By saying slow, I mean that when I run any configure script, it takes about 1 second for each test it makes. I'm running this on an Athlon64 3000+ with 1gig of ram, and I've never seen anything this slow.
I'm trying to reupgrade gcc and deal with the packages that don't compile separately, but having a few troubles when upgrading gcc and binutils (compiler can't create executables, and so on).
Do you know where I should look?
Comment 5 Bruno Lustosa 2005-03-27 12:05:52 UTC
Aron, solved the problem here. Had to mess with binutils binaries, as they weren't being found. Anyway, back to unstable gcc and binutils.
Is there a way to send gcc/binutils bug reports? I'd like to continue testing unstable versions, and be helpful the way I can.
Comment 6 Bruno Lustosa 2005-05-24 11:52:39 UTC
As this has no longer nothing to do with mozilla, I'm closing this bug and
marking as invalid.