Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80688 - nss-3.9.2-r2 doesn't compile on my ppc64
Summary: nss-3.9.2-r2 doesn't compile on my ppc64
Status: VERIFIED DUPLICATE of bug 67988
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: High major (vote)
Assignee: ppc64 architecture team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-04 02:38 UTC by Yang Dehua
Modified: 2005-02-06 00:20 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 Yang Dehua 2005-02-04 02:38:13 UTC
now nss-3.9.2-r2 is marked as stable on ppc64, but it even doesn't compile on my ppc64. I got the following errors when compiled it:

make[3]: Leaving directory `/var/tmp/portage/nss-3.9.2-r2/work/nss-3.9.2/mozilla/security/nss/cmd/shlibsign/mangle'
Linux2.6_ppc64_glibc_PTH_OPT.OBJ/shlibsign -v -i ../../../dist/Linux2.6_ppc64_glibc_PTH_OPT.OBJ/lib/libsoftokn3.so
./sign.sh: line 51: 14621 Segmentation fault      ${2}/shlibsign -v -i ${4}
make[2]: *** [../../../dist/Linux2.6_ppc64_glibc_PTH_OPT.OBJ/lib/libsoftokn3.chk] Error 139
make[2]: Leaving directory `/var/tmp/portage/nss-3.9.2-r2/work/nss-3.9.2/mozilla/security/nss/cmd/shlibsign'
make[1]: *** [libs] Error 2
make[1]: Leaving directory `/var/tmp/portage/nss-3.9.2-r2/work/nss-3.9.2/mozilla/security/nss/cmd'
make: *** [libs] Error 2

!!! ERROR: dev-libs/nss-3.9.2-r2 failed.
!!! Function src_compile, Line 64, Exitcode 2
!!! nss make failed
!!! If you need support, post the topmost build error, NOT this status message.



Reproducible: Always
Steps to Reproduce:
1.emerge nss
2.
3.

Actual Results:  
compilation fails 

Expected Results:  
emerged successfully 

Gentoo Base System version 1.4.16 
Portage 2.0.51-r15 (default-ppc64-2004.3, gcc-3.4.1, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r6 
ppc64) 
================================================================= 
System uname: 2.6.10-gentoo-r6 ppc64 PPC970, altivec supported 
Python:              dev-lang/python-2.3.3-r1 [2.3.3 (#1, Dec 20 2004, 13:33:46)] 
ccache version 2.3 [enabled] 
dev-lang/python:     2.3.3-r1 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4 
sys-devel/binutils:  2.15.90.0.3-r3 
sys-devel/libtool:   1.5.2-r7 
virtual/os-headers:  2.6.8.1-r2 
ACCEPT_KEYWORDS="ppc64" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -mcpu=G5 -mtune=970 -maltivec -mabi=altivec -mpowerpc64 -mpowerpc-gpopt 
-fsigned-char -pipe" 
CHOST="powerpc64-unknown-linux-gnu" 
CONFIG_PROTECT="/etc /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/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O3 -mcpu=G5 -mtune=970 -maltivec -mabi=altivec -mpowerpc64 
-mpowerpc-gpopt -fsigned-char -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache distlocks" 
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/" 
LANG="en_US.UTF-8" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X aac aalib alsa altivec arts aspell berkdb bitmap-fonts cdr cjk cups dba dvd dvdnav 
encode esd f77 faac faad2 fb ffmpeg flac font-server foomaticdb fortran gd gd-external gdbm 
gif gimpprint gnome gpm gtk gtk2 imlib java jpeg kde ldap libwww mad mitshm motif mp3 mpeg 
mysql ncurses nls nptl nptlonly oggvorbis opengl oss pam perl png ppc64 python qt readline 
samba sdl slang ssl svg tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode vidix 
xanim xmms xv" 
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Yang Dehua 2005-02-04 23:14:15 UTC
Well, I compiled both nspr and nss with gcc-3.4.3-r1, and that did the trick! Now this could be closed.
Comment 2 Markus Rothe (RETIRED) gentoo-dev 2005-02-06 00:20:01 UTC
this bug is a dublicate, but it is good to know, that gcc-3.4.3-r1 fixed it for you.

*** This bug has been marked as a duplicate of 67988 ***
Comment 3 Markus Rothe (RETIRED) gentoo-dev 2005-02-06 00:20:15 UTC
closing