[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [porting-dev] ERROR: /usr/lib/libstlport_gcc.so.4.5: undefined sy mbol: sqrtl



Hi Jan,

BTW: there have been a number of important glibc 2.2.5 patches for ppc 
linux recently.

You might want to check out:

Patch to fix missing sqrtl on powerpc
http://sources.redhat.com/ml/libc-hacker/2002-05/msg00012.html

Patch to fix cache flushing when loading shared libraries 
http://sources.redhat.com/ml/libc-alpha/2002-05/msg00052.html

Patch to fix PPC semctrl
http://sources.redhat.com/ml/libc-alpha/2002-05/msg00065.html

Patch for glibc - libgcc compatibility (get the very latest version of the 
patch at the end of this thread)
http://sources.redhat.com/ml/libc-alpha/2002-05/msg00067.html

And there have even been others more recently I believe.

Kevin



On June 27, 2002 08:07, Jan-Hendrik Palic wrote:
> Hi Kevin and all OOo-developers
>
> by building OOo 1.0.1 on PPC with gcc-3.1 we got this error-message:
> (note, in the directories, it says, that is openoffice.org-1.0.0, but
> that is not right yet ;) it is surely 1.0.1 :)))) ):
>
> Making: ../unxlngppc.pro/lib/libsalhelper3gcc3.so
> g++-3.1 -c -fPIC -o ../unxlngppc.pro/slo/salhelper3gcc3_version.o -DUNX
> -I../unxlngppc.pro/inc
> /home/palic/Files/Projekte/chroot/home/palic/OpenOffice/debian/openoffic
> e.org-1.0.0/build-tree/oo_1.0_src/solenv/src/version.cxx
> g++-3.1 -shared -L../unxlngppc.pro/lib -L../lib
> -L/home/palic/Files/Projekte/chroot/home/palic/OpenOffice/debian/openoff
> ice.org-1.0.0/build-tree/oo_1.0_src/solenv/unxlngppc/lib
> -L/home/palic/Files/Projekte/chroot/home/palic/OpenOffice/debian/openoff
> ice.org-1.0.0/build-tree/oo_1.0_src/solver/641/unxlngppc.pro/lib
> -L/home/palic/Files/Projekte/chroot/home/palic/OpenOffice/debian/openoff
> ice.org-1.0.0/build-tree/oo_1.0_src/solenv/unxlngppc/lib
> -L/lib -L/usr/lib -L/usr/local/lib -L/usr/lib/j2se/1.3/lib
> -L/usr/lib/j2se/1.3/jre/lib/ppc -L/usr/lib/j2se/1.3/jre/lib/ppc/classic
> -L/usr/lib/j2se/1.3/jre/lib/ppc/native_threads
> -L/home/palic/Files/Projekte/chroot/home/palic/OpenOffice/debian/openoff
> ice.org-1.0.0/debian/local/stlport-home/lib
> -L/usr/X11R6/lib ../unxlngppc.pro/slo/salhelper3gcc3_version.o
> ../unxlngppc.pro/slo/salhelper3gcc3_description.o -o
> ../unxlngppc.pro/lib/libsalhelper3gcc3.so
> ../unxlngppc.pro/slo/dynload.o
> ../unxlngppc.pro/slo/simplereferenceobject.o -lsal -ldl -lpthread -lm
> -Wl,-Bdynamic -lstlport_gcc_3.1 -lstdc++
> /home/palic/Files/Projekte/chroot/home/palic/OpenOffice/debian/openoffic
> e.org-1.0.0/build-tree/oo_1.0_src/solenv/bin/checkdll.sh
> -L../unxlngppc.pro/lib -L../lib
> -L/home/palic/Files/Projekte/chroot/home/palic/OpenOffice/debian/openoff
> ice.org-1.0.0/build-tree/oo_1.0_src/solenv/unxlngppc/lib
> -L/home/palic/Files/Projekte/chroot/home/palic/OpenOffice/debian/openoff
> ice.org-1.0.0/build-tree/oo_1.0_src/solver/641/unxlngppc.pro/lib
> -L/home/palic/Files/Projekte/chroot/home/palic/OpenOffice/debian/openoff
> ice.org-1.0.0/build-tree/oo_1.0_src/solenv/unxlngppc/lib -L/lib
> -L/usr/lib
> -L/usr/local/lib -L/usr/lib/j2se/1.3/lib -L/usr/lib/j2se/1.3/jre/lib/ppc
> -L/usr/lib/j2se/1.3/jre/lib/ppc/classic
> -L/usr/lib/j2se/1.3/jre/lib/ppc/native_threads
> -L/home/palic/Files/Projekte/chroot/home/palic/OpenOffice/debian/openoff
> ice.org-1.0.0/debian/local/stlport
> -home/lib -L/usr/X11R6/lib ../unxlngppc.pro/lib/libsalhelper3gcc3.so
> Checking DLL ../unxlngppc.pro/lib/libsalhelper3gcc3.so ...: ERROR:
> /usr/lib/libstlport_gcc.so.4.5: undefined symbol: sqrtl
> dmake:  Error code 3, while making
> '../unxlngppc.pro/lib/libsalhelper3gcc3.so'
> dmake:  '../unxlngppc.pro/lib/libsalhelper3gcc3.so' removed.
>
> That is right, sqrtl is in the libstlport librarie an undefined symbol.
> In Debian, we link OpenOffice.org agains libstlport 4.5.3, but I checked
> the libstlport 4.5.0 from OpenOffice.org source compiled it with gcc-3.1
> on PPC and i had the same sqrtl was undefined.
>
> Then I greped the source ... about something which sounds like sqrtl:
>
> palic@shaun:~/Files/Projekte/OpenOffice/oo_src-1.0.1$ grep -r sqrtl *
> palic@shaun:~/Files/Projekte/OpenOffice/oo_src-1.0.1$ grep -r SQRTL *
> palic@shaun:~/Files/Projekte/OpenOffice/oo_src-1.0.1$
>
> There is seems nothing related to that.
> The mysterious thing is, that Kevin has a fully build and it seems, that
> he did not get this problem or I forgot something.
>
> With gcc-2.95, the symbol sqrtl is not present in libstlport .. :(
>
> Anyone a hint?
> Why is the DLL-Checker checking these, when this is not used?
>
> 	Regards and thnx
> 			Jan


-- 
To UNSUBSCRIBE, email to debian-openoffice-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: