Summary: | nss-3.9.2 won't compile on ppc64 (any more) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Markus Rothe (RETIRED) <corsair> |
Component: | Current packages | Assignee: | ppc64 architecture team <ppc64> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | adam.c.stephens, gentoo-bugs, liquidx, obz, yangdh |
Priority: | High | ||
Version: | 2004.2 | ||
Hardware: | PPC64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | nss-3.9.2 output |
Description
Markus Rothe (RETIRED)
![]() Created attachment 42087 [details]
nss-3.9.2 output
I accidently chose Gentoo Bugzilla instead of Gentoo Linux... :-/ Markus 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" 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. The same errors here! 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 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? 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. ok, could you attach the ebuild here so i can check it out? 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" tgall? what was the fix that you said worked for ppc64? *** Bug 80688 has been marked as a duplicate of this bug. *** 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. closing |