tag 151225 + patch thanks Hi Ben On Sat, Jun 29, 2002 at 12:23:32AM +0200, Jan-Hendrik Palic wrote: >>> >severity 151225 important >>> >thanks >>> ok ... >>> >This is hardly grave. Gcc-3.1 compatibility is not an issue at this >>> >point since the default (IOW, tested) compile is gcc-2.95. >>> The point is, that working on OpenOffice.org and we have the problem, >>> that we build it with two compilers, gcc-3.0 on i386 (it works fine) and >>> gcc-2.95 on PPC. >>> I want to switch to gcc-3.1 for both supported arches ... >>Go with what works for now. No need to switch to a compiler that isn't >>supported by the architecture. You will have many more headaches. >We have less headaches with gcc-3.1 on PowerPC. I do not want to switch >over to gcc-3.1 just for fun. >On PowerPC, if we stick with gcc-2.95, we have to use libstlport4.0, >which is not in debian. I think Torsten wont make a libstlport4.0 for >oldlibs, because, that is not nesessary, if we go over to gcc-3.1.
I attached the patch I needed, to build OpenOffice.org. I build the glibc-2.2.5-7 with it and it works for me. I'm running new glibc without any problems. Please have a look and apply :) Thnx Have a nice Day! Jan -- .''`. Jan-Hendrik Palic | : :' : ** Debian GNU/ Linux ** | ** OpenOffice.org ** ,.. ,.. `. `' http://www.debian.org | http://www.openoffice.org ,: ..` ` `- [EMAIL PROTECTED] | ' ` `
#! /bin/sh -e # DP: Add /proc/cpuinfo handling on Linux/PowerPC if [ $# -ne 2 ]; then echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1 fi case "$1" in -patch) patch -d "$2" -f --no-backup-if-mismatch -p1 < $0;; -unpatch) patch -d "$2" -f --no-backup-if-mismatch -R -p1 < $0;; *) echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1 esac exit 0 --- glibc-2.2.5/sysdeps/powerpc/fpu/w_sqrt.c~ Fri Jun 28 14:55:30 2002 +++ glibc-2.2.5/sysdeps/powerpc/fpu/w_sqrt.c Fri Jun 28 14:56:30 2002 @@ -139,3 +139,9 @@ /* Strictly, this is wrong, but the only places where _ieee754_sqrt is used will not pass in a negative result. */ strong_alias(__sqrt,__ieee754_sqrt) + +#ifdef NO_LONG_DOUBLE +weak_alias (__sqrt, __sqrtl) +weak_alias (__sqrt, sqrtl) +#endif +
pgppDP7ZVamjh.pgp
Description: PGP signature