Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113301 - mozilla-firefox-1.5_rc3-r1 fails to build due to TEXTRELs in generated xpidl binary
Summary: mozilla-firefox-1.5_rc3-r1 fails to build due to TEXTRELs in generated xpidl ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jory A. Pratt
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-22 16:35 UTC by Stephen Bennett (RETIRED)
Modified: 2005-12-03 17:49 UTC (History)
1 user (show)

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 Stephen Bennett (RETIRED) gentoo-dev 2005-11-22 16:35:20 UTC
The generated xpidl binary (amongst others) in 1.5_rc3's build (_rc1 has the
same problem) contains TEXTRELs, which prevent it from being executed later in
the build process. Fairly obviously, this prevents the build from completing. I
had a brief attempt at tracking them down, but mozilla's assembly code made my
head hurt so I gave up.

/var/tmp/portage/mozilla-firefox-1.5_rc3-r1/work/mozilla/config/nsinstall -R -m
644 nsAgg.h nsAutoP tr.h nsCom.h nsDebugImpl.h nsIAllocator.h nsIID.h
nsISupportsObsolete.h nsTraceRefcntImpl.h nsWeakP tr.h nsInterfaceRequestorAgg.h
../../dist/include/xpcom
/var/tmp/portage/mozilla-firefox-1.5_rc3-r1/work/mozilla/config/nsinstall -R -m
644 nsError.h nsISu pportsBase.h nscore.h ../../dist/include/xpcom
/var/tmp/portage/mozilla-firefox-1.5_rc3-r1/work/mozilla/config/nsinstall -R -m
644 nsError.h nsISu pportsBase.h nscore.h ../../dist/sdk/include
Creating ../../dist/idl
/var/tmp/portage/mozilla-firefox-1.5_rc3-r1/work/mozilla/config/nsinstall -R -m
644 nsIConsoleListe ner.idl nsIConsoleMessage.idl nsIConsoleService.idl
nsIErrorService.idl nsIException.idl nsIExcepti onService.idl
nsIVersionComparator.idl ../../dist/idl
Creating _xpidlgen/.done
nsIConsoleListener.idl
../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o
_xpidlgen/nsIConsoleListener nsIConsoleLi stener.idl
../../dist/bin/xpidl: error while loading shared libraries: cannot make segment
writable for reloca tion: Permission denied
gmake[3]: *** [_xpidlgen/nsIConsoleListener.h] Error 127
gmake[3]: Leaving directory
`/var/tmp/portage/mozilla-firefox-1.5_rc3-r1/work/mozilla/xpcom/base'

maya mozilla # scanelf -qtR .
TEXTREL  ./xpcom/typelib/xpidl/xpidl
TEXTREL  ./xpcom/typelib/xpt/tools/xpt_dump
TEXTREL  ./xpcom/typelib/xpt/tools/xpt_link


Portage 2.0.53_rc7 (selinux/2004.1/x86/hardened, gcc-3.4.4, glibc-2.3.5-r2,
2.6.13-hardened i686)
=================================================================
System uname: 2.6.13-hardened i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.12.0_pre5
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.13
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
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -fforce-addr
-mno-tls-direct-seg-refs"
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="-O2 -march=athlon-xp -fomit-frame-pointer -fforce-addr
-mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox selinux sesandbox severe sfperms strict
stricter userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa bash-completion berkdb bitmap-fonts boundschecking bzip2 crypt
dlloader erandom flac gnome gtk gtk2 hardened imap jpeg moznocompose moznoirc
moznomail moznoxft multislot multitarget ncurses nls nptl nptlonly offensive ogg
oggvorbis pam perl pic png python readline selinux ssl svg userlocales x86 zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Jory A. Pratt 2005-11-24 07:43:39 UTC
I have swaped out a visibility patch and applied across all archs now. Please
test I did not create a revision bump so still -r1.
Comment 2 Stephen Bennett (RETIRED) gentoo-dev 2005-11-26 06:38:37 UTC
The newer ebuild seems to have fixed the TEXTRELs, but still fails here due to
perl segfaults. I suspect this isn't a mozilla problem though, so it looks as
though that's probably fixed it. I'll confirm when I sort out the perl issues.
Comment 3 Stephen Bennett (RETIRED) gentoo-dev 2005-12-03 17:49:02 UTC
OK, having sorted out the perl errors the current 1.5 ebuild installs and works.