Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67988 - nss-3.9.2 won't compile on ppc64 (any more)
Summary: nss-3.9.2 won't compile on ppc64 (any more)
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: High normal (vote)
Assignee: ppc64 architecture team
URL:
Whiteboard:
Keywords:
: 80688 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-10-18 03:23 UTC by Markus Rothe (RETIRED)
Modified: 2005-03-04 14:09 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
nss-3.9.2 output (nss-3.9.2-output,935 bytes, text/plain)
2004-10-18 03:24 UTC, Markus Rothe (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Rothe (RETIRED) gentoo-dev 2004-10-18 03:23:56 UTC
Hi,

I just tried to emerge nss-3.9.2, but it failed... I don't know why, because it worked flawless some weeks ago.

Markus
Comment 1 Markus Rothe (RETIRED) gentoo-dev 2004-10-18 03:24:42 UTC
Created attachment 42087 [details]
nss-3.9.2 output
Comment 2 Markus Rothe (RETIRED) gentoo-dev 2004-10-18 03:27:35 UTC
I accidently chose Gentoo Bugzilla instead of Gentoo Linux... :-/  Markus
Comment 3 atom 2004-10-23 00:11:59 UTC
same problem here.

Gentoo Base System version 1.4.16
Portage 2.0.51_rc10 (default-ppc64-2004.3, gcc-3.4.1, glibc-2.3.4.20041006-r0, 2
.6.9 ppc64)
=================================================================
System uname: 2.6.9 ppc64 PPC970, altivec supported
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.3-r3
Headers:  sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="ppc64 ~ppc64"
AUTOCLEAN="yes"
CFLAGS="-O3 -mtune=970"
CHOST="powerpc64-unknown-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s
hare/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mtune=970"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64 X berkdb bitmap-fonts cdr cups dvd f77 foomaticdb gdbm gif gpm gtk gtk2
imlib jpeg libwww mitshm nls nptl oggvorbis opengl oss pam perl png ppc64 python
 readline sdl slang ssl tcpd truetype xinerama xprint xv zlib"
Comment 4 atom 2004-10-25 11:33:26 UTC
the severity of this bug should be higher. nss is required by at least a couple apps i've tried to install (gaim, evolution, etc) and this bug blocks their installation.
Comment 5 Yang Dehua 2004-11-01 17:39:29 UTC
The same errors here!
Comment 6 Markus Rothe (RETIRED) gentoo-dev 2004-11-11 04:37:20 UTC
ok.. I did some testing and found out, that this only happens, when you have a glibc which is not nptl enabled. So please use a glibc which was compiled using the nptl useflag.

Please do some testing.

Markus
Comment 7 Tom Gall (RETIRED) gentoo-dev 2004-11-15 06:57:03 UTC
Hi Alastair,

I'm adding oyu to the cc list as I have an interesting situatoin here with nss and not quite sure how to proceed.

There is something foo-bar with our nss ebuild.  If I apply the ppc64 only patches to a base nss 3.9.2 tarball and build with:

gmake USE_64=1   nss_build_all

the package builds and works reliably.

Building with the ebuild however things die quite badly with a segfault in shlibsign and debugging it looks like some sort of stack corruption in the nss libraries tho I'm still debuggin in that area. (And this is with removing BUILD_OPT=1 from the ebuild)

Effectively I would think the ebuild and the gmake above would/should accomplish the same thing but appearantly not. Any thoughts?
Comment 8 Tom Gall (RETIRED) gentoo-dev 2004-11-15 20:46:26 UTC
ok I have a new ebuild constructed that appears to work...  liquidx we should talk about this, I'm not going to commit htis to portage just yet.  
Comment 9 Alastair Tse (RETIRED) gentoo-dev 2004-11-16 02:02:08 UTC
ok, could you attach the ebuild here so i can check it out?
Comment 10 Yang Dehua 2004-12-17 23:53:34 UTC
I just compiled nss-3.9.2-r2 and failed with the same problem as the attachment. Here is my emerge info(nptl is enabled):

Gentoo Base System version 1.4.16
Portage 2.0.51-r3 (default-ppc64-2004.3, gcc-3.4.1, glibc-2.3.4.20041102-r0, 2.6.8-gentoo-r3 ppc64)
=================================================================
System uname: 2.6.8-gentoo-r3 ppc64 PPC970, altivec supported
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.3-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="ppc64"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=G5 -maltivec -mabi=altivec -fno-strict-aliasing  -pipe"
CHOST="powerpc64-unknown-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=G5 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://mirror.pacific.net.au/linux/Gentoo http://ftp.gentoo.or.kr/ http://mirror.gentoo.gr.jp  ftp://mirror.averse.net/pub/gentoo http://mirror.averse.net/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa altivec arts aspell berkdb bitmap-fonts cdr cjk cups dvd encode esd f77 foomaticdb fortran gdbm gif gimpprint gnome gpm gtk gtk2 imlib java jpeg kde ldap libwww mad mitshm mozilla mpeg mysql nls nptl nptlonly oggvorbis opengl oss pam perl png ppc64 python qt readline samba sdl slang ssl svg tcpd theora tiff truetype unicode xanim xmms xv"
Comment 11 Alastair Tse (RETIRED) gentoo-dev 2004-12-20 06:44:22 UTC
tgall? what was the fix that you said worked for ppc64?
Comment 12 Markus Rothe (RETIRED) gentoo-dev 2005-02-06 00:20:01 UTC
*** Bug 80688 has been marked as a duplicate of this bug. ***
Comment 13 Markus Rothe (RETIRED) gentoo-dev 2005-03-04 14:08:32 UTC
this bug seems to be magicly solved using gcc-3.4.3. And as this is the current
stable version on ppc64 I'll close this bug.

@ all who are in CC list: If this bug still exists for you, please reopen this
bug.
Comment 14 Markus Rothe (RETIRED) gentoo-dev 2005-03-04 14:09:31 UTC
closing