Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 136551

Summary: firefox does not start in ppc64 with 32bit ul
Product: Gentoo Linux Reporter: Corey Shields <cshields>
Component: Current packagesAssignee: ppc64 architecture team <ppc64>
Status: RESOLVED DUPLICATE    
Severity: normal CC: mozilla
Priority: High    
Version: 2006.0   
Hardware: PPC64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: output when built with USE="debug"

Description Corey Shields 2006-06-12 08:56:49 UTC
Using a 64 bit kernel and 32 bit userland, firefox simply dies on start:

~ $ firefox
No running windows found
firefox-bin exited with non-zero status (1)

~ $ file /usr/lib/mozilla-firefox/firefox-bin
/usr/lib/mozilla-firefox/firefox-bin: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), stripped

emerge info:

Portage 2.0.54-r2 (default-linux/ppc/ppc64/2006.0/32bit-userland/970/pmac, gcc-3.4.6, glibc-2.3.6-r3, 2.6.15-gentoo-r5 ppc64)
=================================================================
System uname: 2.6.15-gentoo-r5 ppc64 PPC970FX, altivec supported
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
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
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mtune=970 -mcpu=970 -mabi=altivec -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=970 -mcpu=970 -mabi=altivec -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-osl.osuosl.org/pub/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X alsa altivec apache2 apm arts audiofile berkdb bitmap-fonts bzip2 cli crypt cups curl dga dri dv dvd dvdread eds emboss encode esd expat fam flac foomaticdb fortran gcc64 gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 idn imlib ipv6 isdnlog jpeg jpeg2k kde kdeenablefinal lcms libg++ libwww mad mikmod mng motif mp3 mpeg musicbrainz ncurses nls nptl nptlonly ogg openal opengl oss pam pcre pdf pdflib perl png pppd python qt quicktime rdesktop readline reflection samba sdl session sheep spell spl ssl tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 visualization vnc vorbis xine xinerama xml xml2 xmms xorg xscreensaver xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY

Cheers!
Comment 1 Brent Baude (RETIRED) gentoo-dev 2006-06-12 11:04:03 UTC
I'm getting the same thing here: emerge info as follows

emerge --info
Portage 2.0.54-r2 (default-linux/ppc/ppc64/2006.0/32bit-userland/970/pmac, gcc-3.4.6, glibc-2.3.6-r3, 2.6.15.1 ppc64)
=================================================================
System uname: 2.6.15.1 ppc64 PPC970FX, altivec supported
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
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
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O3 -mtune=970 -mcpu=970 -mabi=altivec -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/shar
e/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mtune=970 -mcpu=970 -mabi=altivec -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://tux.rchland.ibm.com/gentoo-portage"
USE="ppc X alsa altivec apache2 apm arts audiofile berkdb bitmap-fonts bzip2 cdr cli cscope cups curl dri eds emboss encode esd expat fam fooma
ticdb fortran gcc64 gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib ipv6 isdnlog jpeg kde lcms ldap libg++ libwww mad 
mbox mhash mikmod mng motif mp3 mpeg mysql ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl php png pppd python qt quicktime readl
ine reflection samba sdl session slang spell spl ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis xml xml2 xmms 
xorg xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Comment 2 Markus Rothe (RETIRED) gentoo-dev 2006-06-12 11:43:56 UTC
releated to bug #107563
Comment 3 Markus Rothe (RETIRED) gentoo-dev 2006-06-12 11:44:26 UTC
hrm.. questionmark missing.. "releated to bug #107563?"
Comment 4 Brent Baude (RETIRED) gentoo-dev 2006-06-12 13:46:28 UTC
It's possible but that bug cites a compile error.  We're seeing the error in runtime.  And not everyone else is seeing it.
Comment 5 Brent Baude (RETIRED) gentoo-dev 2006-06-13 08:56:45 UTC
Interestingly enough, firefox-1.0.8 works fine.  So something went sour in 1.5
Comment 6 Brent Baude (RETIRED) gentoo-dev 2006-06-13 09:10:45 UTC
Mozilla herd.  Can you guys help us out here? 
Comment 7 Corey Shields 2006-08-23 16:57:55 UTC
Created attachment 94972 [details]
output when built with USE="debug"

In case this helps, I remerged firefox with USE="debug", the output is in the attached file.

Cheers!
Comment 8 Brent Baude (RETIRED) gentoo-dev 2006-09-12 14:19:16 UTC
for now do a:

linux32 bash
emerge mozilla-firefox

after completion, exit and it will run

we're looking for a way to hack the ebuild and then we really need to chase this one down.   any takers?
Comment 9 Jory A. Pratt 2006-12-18 19:00:13 UTC
I have a patch and will get it merged into the patchset when 2.0.0.1 is released.
Comment 10 Christian Marie (RETIRED) gentoo-dev 2006-12-18 19:59:06 UTC
Grouping ppc64 issues via anarchy.

*** This bug has been marked as a duplicate of 101821 ***