Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118277 - net-libs/gecko-sdk-1.7.12-r1 doesn't compile when ARCH=ppc64
Summary: net-libs/gecko-sdk-1.7.12-r1 doesn't compile when ARCH=ppc64
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: ppc64 architecture team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-08 04:08 UTC by Frederic Leroy
Modified: 2006-11-11 13:55 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 Frederic Leroy 2006-01-08 04:08:47 UTC
gecko-sdk doesn't compile on my box. It tries to assemble x86 opcodes.
This problem seems similar to bug#107563 
I have set PROFILE_ARCH="ppc64" in make.conf in order to make mozilla & mozilla-firefox work (it works :)). PROFILE_ARCH doesn't show up in 'emerge --info' below.

Compilation result : 
---
gcc -o Linux2.6_x86_glibc_PTH_OPT.OBJ/mpi_x86.o -O2 -fPIC -DLINUX1_2 -Di386 -D_XOPEN_SOURCE -DLINUX2_1 -D_X86_ -ansi  -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -DSHLIB_SUFFIX=\"so\" -DSHLIB_PREFIX=\"lib\" -DRIJNDAEL_INCLUDE_TABLES -UDEBUG -DNDEBUG -D_REENTRANT -DMP_ASSEMBLY_MULTIPLY -DMP_ASSEMBLY_SQUARE -DMP_ASSEMBLY_DIV_2DX1D -DMP_API_COMPATIBLE -I/var/tmp/portage/gecko-sdk-1.7.12-r1/work/mozilla/dist/include  -I../../../../dist/public/nss -I../../../../dist/private/nss -I../../../../dist/include -I/var/tmp/portage/gecko-sdk-1.7.12-r1/work/mozilla/dist/include/nspr  -I/var/tmp/portage/gecko-sdk-1.7.12-r1/work/mozilla/dist/include/dbm -Impi -Iecl  -c mpi/mpi_x86.s
mpi/mpi_x86.s: Assembler messages:
mpi/mpi_x86.s:62: Error: Unrecognized opcode: `push'
[...]
mpi/mpi_x86.s:340: Error: Unrecognized opcode: `ret'
gmake[4]: *** [Linux2.6_x86_glibc_PTH_OPT.OBJ/mpi_x86.o] Erreur 1
---

ange ~ # emerge --info
Portage 2.1_pre3-r1 (default-linux/ppc/2005.1/ppc, gcc-3.4.5, glibc-2.3.6-r2, 2.6.14 ppc64)
=================================================================
System uname: 2.6.14 ppc64 PPC970, altivec supported
Gentoo Base System version 1.12.0_pre13
dev-lang/python:     2.3.5, 2.4.2
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-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mtune=powerpc -pipe -mcpu=G5 -maltivec"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=powerpc -pipe -mcpu=G5 -maltivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages keeptemp keepwork noauto noclean sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
LINGUAS="fr"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa altivec audiofile berkdb bitmap-fonts bluetooth browserplugin bzip2 cdr cpudetection crypt cups curl dbus dillo dv dvd eds emboss esd exif expat fam ffmpeg fortran gif glut gnome gpm gstreamer gtk gtk2 hal idn insecure-drivers ipv6 joystick jpeg kde lcms ldap libwww lua matroska mmap mng motif mozilla mp3 mpeg ncurses nls nsplugin ogg oggvorbis openal opengl openssl oss pam pcre pdflib perl png ppc python qt readline rtc samba sdl spell ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 v4l v4l2 vidix vorbis wifi xanim xface xinerama xml2 xosd xprint xrandr xscreensaver xv xvid yv12 zlib elibc_glibc kernel_linux linguas_fr userland_GNU"
Unset:  ASFLAGS, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Frederic Leroy 2006-01-08 04:59:00 UTC
Should this bug be reported to the ppc team ? I'm in 32 bit userland 
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-11-11 13:55:45 UTC
gecko-sdk will be removed from the tree together with mozilla (see Bug 137665).

WONTFIX.