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

Bug 9796

Summary: Upstream bug: sqrtl() undefined in stlport on PPC archs, where 'long double' doesn't exist.
Product: Gentoo Linux Reporter: Paul Prince <princep>
Component: Current packagesAssignee: Jonathan Nall <nall>
Status: VERIFIED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Paul Prince 2002-10-27 21:38:39 UTC
sqrtl is not defined in the STL on PPC archs, since PPC sqrt is the same as IA32 sqrtl.  That, however, breaks programs which call sqrtl, like OpenOffice.  This has been identified as an upstream glibc bug, but it affects compiling many packages and thus I suggest that the glibc maintainer apply a patch to work around the problem until it is addressed upstream.  I have included the patch used by the Debian PPC glibc maintainer.

Patch used by Debian: http://lists.debian.org/debian-openoffice/2002/debian-openoffice-200206/msg00173.html

Thanks,
-Paul
Comment 1 Mark Guertin 2002-10-28 00:16:51 UTC
Nall:

Can you check this one out and see if it's needed?
Comment 2 Jonathan Nall 2002-10-29 20:45:19 UTC
fixed in CVS.