Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109305 - www-client/mozilla-firefox-1.5_beta2-r1 fails to link jsapi.o
Summary: www-client/mozilla-firefox-1.5_beta2-r1 fails to link jsapi.o
Status: RESOLVED INVALID
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: 2005-10-14 14:46 UTC by Gustavo Ribeiro Alves
Modified: 2005-11-03 08:25 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 Gustavo Ribeiro Alves 2005-10-14 14:46:18 UTC
This bug is a different issue than bug 109290 .

while compiling on an amd64 :

x86_64-pc-linux-gnu-gcc -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO
_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\"   -W -Wno-unused -Wpoint
er-arith -Wcast-align -Wno-long-long -march=athlon64 -pipe -fPIC -Wno-return-typ
e -w -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O1 -fPIC -shared -W
l,-h -Wl,libmozjs.so -o libmozjs.so  jsapi.o jsarena.o jsarray.o jsatom.o jsbool
.o jscntxt.o jsdate.o jsdbgapi.o jsdhash.o jsdtoa.o jsemit.o jsexn.o jsfun.o jsg
c.o jshash.o jsinterp.o jslock.o jslog2.o jslong.o jsmath.o jsnum.o jsobj.o jsop
code.o jsparse.o jsprf.o jsregexp.o jsscan.o jsscope.o jsscript.o jsstr.o jsutil
.o jsxdrapi.o jsxml.o prmjtime.o        -lm -ldl -L../../dist/lib -lplds4 -lplc4
 -lnspr4 -lpthread -ldl -ldl -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/4.0.2/../../../../x86_64-pc-linux-gnu/bin/ld: w
arning: creating a DT_TEXTREL in object.
/usr/lib/gcc/x86_64-pc-linux-gnu/4.0.2/../../../../x86_64-pc-linux-gnu/bin/ld: j
sapi.o: relocation R_X86_64_PC32 against `memset@@GLIBC_2.2.5' can not be used w
hen making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.0.2/../../../../x86_64-pc-linux-gnu/bin/ld: f
inal link failed: Bad value
collect2: ld returned 1 exit status
gmake[3]: ** [libmozjs.so] Erro 1
gmake[3]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5_beta2-r1/work/
mozilla/js/src'
gmake[2]: ** [libs] Erro 2
gmake[2]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5_beta2-r1/work/
mozilla/js'
gmake[1]: ** [tier_2] Erro 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5_beta2-r1/work/
mozilla'
make: ** [default] Erro 2

!!! ERROR: www-client/mozilla-firefox-1.5_beta2-r1 failed.
!!! Function src_compile, Line 165, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


further info:
Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-4.0.2, glibc-2.3.5-r2,
2.6.13-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
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.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon64 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en_US fr pt pt_BR"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 3ds X a52 aac acpi alsa apache2 apm artworkextra avi bash-completion
berkdb bitmap-fonts bluetooth bonobo bzip2 cairo cdr cpudetection crypt cups
curl dbus doc dvd dvdr dvdread dvi eds emboss encode erandom esd examples fam
firefox flac foomaticdb fortran fpx ftp gd gd-external gif gimp gimpprint glitz
glut gnome gnome-print gphoto2 gpm graphviz gstreamer gtk gtk2 guile hal howl
icq icu imagemagick imlib ipv6 jabber java joystick jpeg junit ldap libcaca
libgda libwww lzw lzw-tiff mad mikmod mng mozilla moznocompose moznoirc
moznomail mozsvg mozxmlterm mp3 mpeg mpi msn nautilus ncurses net nls nptl
nptlonly offensive ogg oggvorbis openal opengl openssl pam pccts pda pdflib perl
physfs pic png ppds pyste python qt quicktime readline recode samba scanner sdl
smp sms sox speex spell ssl stencil-buffer svg t1lib tcltk tcpd tetex theora
threads tiff transcode truetype truetype-fonts type1 type1-fonts unicode usb
vorbis wmf wxwindows xinerama xml xml2 xmlrpc xpm xv yahoo zlib linguas_en_US
linguas_fr linguas_pt linguas_pt_BR userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS


emerge -pv mozilla-firefox

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] www-client/mozilla-firefox-1.5_beta2-r1 [1.0.7-r2] -debug +gnome
+ipv6 +java -mozdevelop -moznoxft +truetype +xinerama* -xprint 0 kB

Total size of downloads: 0 kB


Reproducible: Always
Steps to Reproduce:
Comment 1 Jory A. Pratt 2005-11-03 08:25:53 UTC
problem is fixed in latest release.