Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100033 - mozilla-firefox-1.0.6-r2 compile fails with "final link failed: Bad value"
Summary: mozilla-firefox-1.0.6-r2 compile fails with "final link failed: Bad value"
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-23 08:36 UTC by Robin Green
Modified: 2005-12-22 21:37 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 Robin Green 2005-07-23 08:36:59 UTC
emerge mozilla-firefox fails with the error listed below.


Reproducible: Didn't try
Steps to Reproduce:
1. emerge mozilla-firefox
Actual Results:  
<snip>
i686-pc-linux-gnu-g++  -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=athlon-xp -pipe -Wno-deprecated
-Wno-return-type -w -fshort-wchar -pthread -pipe  -DDEBUG -D_DEBUG
-DDEBUG_portage -DTRACING -g -fno-inline -O2 -fPIC -shared -Wl,-h
-Wl,libgklayout.so -o libgklayout.so  nsLayoutModule.o nsContentHTTPStartup.o
nsContentDLF.o              -Wl,--whole-archive ../../dist/lib/libgkhtmlbase_s.a
../../dist/lib/libgkhtmldoc_s.a ../../dist/lib/libgkhtmlforms_s.a
../../dist/lib/libgkhtmlstyle_s.a ../../dist/lib/libgkhtmltable_s.a
../../dist/lib/libgkxulbase_s.a ../../dist/lib/libgkbase_s.a
../../dist/lib/libgkconbase_s.a ../../dist/lib/libgkconevents_s.a
../../dist/lib/libgkconhtmlcon_s.a ../../dist/lib/libgkconhtmldoc_s.a
../../dist/lib/libgkconhtmlstyle_s.a ../../dist/lib/libgkconxmlcon_s.a
../../dist/lib/libgkconxmldoc_s.a ../../dist/lib/libgkconxbl_s.a
../../dist/lib/libgkconxuldoc_s.a ../../dist/lib/libgkconshared_s.a
../../dist/lib/libgkview_s.a ../../dist/lib/libjsdombase_s.a
../../dist/lib/libjsdomevents_s.a ../../dist/lib/libjsurl_s.a 
../../dist/lib/libgkxultree_s.a ../../dist/lib/libgkxulgrid_s.a
../../dist/lib/libgkconxulcon_s.a ../../dist/lib/libgkconxultmpl_s.a 
../../dist/lib/libgkmathmlcon_s.a ../../dist/lib/libgkmathmlbase_s.a 
../../dist/lib/libgksvgbase_s.a ../../dist/lib/libgkconsvgdoc_s.a
../../dist/lib/libgkcontentsvg_s.a  ../../dist/lib/libgksvgrenderercairo_s.a 
-Wl,--no-whole-archive -L../../dist/bin -L../../dist/lib -lgkgfx
../../dist/lib/libunicharutil_s.a -L../../dist/bin -lxpcom  -L../../dist/bin
-L/var/tmp/portage/mozilla-firefox-1.0.6-r2/work/mozilla/dist/lib -lplds4 -lplc4
-lnspr4 -lpthread -ldl  -L../../dist/bin -lmozjs  -lfreetype -lcairo
-lfontconfig -lpixman -lXrender -lX11 -lXext -lpng12 -lz -lm    -lgtk-x11-2.0
-lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0
-lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0     -Wl,-Bsymbolic -ldl -lm
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld:
`.L335' referenced in section `.rodata' of
../../dist/lib/libgkconhtmlstyle_s.a(nsROCSSPrimitiveValue.o): defined in
discarded section `.gnu.linkonce.t._ZN21nsROCSSPrimitiveValue5ResetEv' of
../../dist/lib/libgkconhtmlstyle_s.a(nsROCSSPrimitiveValue.o)
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld:
final link failed: Bad value
collect2: ld returned 1 exit status
gmake[3]: *** [libgklayout.so] Error 1
gmake[3]: Leaving directory
`/var/tmp/portage/mozilla-firefox-1.0.6-r2/work/mozilla/layout/build'


Expected Results:  
Successful compile

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5,
glibc-2.3.5.20050421-r0, 2.6.12-1.1435_FC5 i686)
=================================================================
System uname: 2.6.12-1.1435_FC5 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-apps/sandbox:    1.2.9
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.4
sys-devel/binutils:  2.16.90.0.3
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks nostrip sandbox sfperms strict userpriv
usersandbox"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk/ http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X apm arts berkdb bitmap-fonts crypt cups debug fam foomaticdb gcj gdbm
gif gnome gpm gtk gtk2 imlib java jikes jpeg libg++ libwww mmap mmx mozdevelop
mozilla mozsvg ncurses nls pam pcre png readline sse ssl tcpd threads truetype
truetype-fonts type1-fonts xml2 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jory A. Pratt 2005-07-23 10:10:25 UTC
is there a reason that your running ~x86 with out dates toolchain?
Comment 2 Robin Green 2005-07-23 10:15:45 UTC
(In reply to comment #1)
> is there a reason that your running ~x86 with out dates toolchain?

I am also trying without success to build gcc-4.1.0-cvs on this system, so I set
that to stop gentoo complaining to me about all its dependencies.

However, I assumed that if I had gcc-config set to 3.3.5, it would use the
binutils that "goes with" gcc 3.3.5, so it wouldn't matter in terms of binutils.
Is my understanding not correct?
Comment 3 Jory A. Pratt 2005-07-23 10:20:16 UTC
do me a favor and run emerge -pu system and you will see your toolchain is out
of date. If I remember right gcc-3.3.5 had issues. I would suggest you try
emerge -pu system as I stated if it list stuff update it then try to update
mozilla-firefox after it.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-12-22 21:37:54 UTC
No response from user...