Subject: Re: print/teTeX build failure on Solaris 9/sparc
To: None <jdbaker@mylinuxisp.com>
From: SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>
List: tech-pkg
Date: 04/26/2004 13:20:43
Hi,

> g++ -o pdftex -L/usr/pkg/gcc3/lib/gcc-lib/sparc-sun-solaris2/3.3.3 -Wl,-R/usr/pkg/gcc3/lib/gcc-lib/sparc-sun-solaris2/3.3.3 -L/usr/pkg/gcc3/lib -Wl,-R/usr/pkg/gcc3/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/openwin/lib -Wl,-R/usr/openwin/lib pdftexini.o pdftex0.o pdftex1.o pdftex2.o pdftex3.o pdftexextra.o pdftexdir/libpdf.a -L/usr/pkg/lib -lpng -L/usr/pkg/lib -lz ../../libs/xpdf/xpdf/libxpdf.a ../../libs/xpdf/goo/libGoo.a -lsocket lib/lib.a ../kpathsea/STATIC/libkpathsea.a -lm -nodefaultlibs -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -lm -lgcc -lc -lgcc
> Undefined                       first referenced
>  symbol                             in file
> _Unwind_Resume                      pdftexdir/libpdf.a(pdftoepdf.o)  (symbol belongs to implicit dependency /usr/pkgsrc/print/teTeX-bin/work/.buildlink/gcc3/lib/libgcc_s.so.1)
> ld: fatal: Symbol referencing errors. No output written to pdftex

It seems that the symbol "_Unwind_Resume" does not exist in
libgcc_s.so.1, which belongs to gcc3-c package.  Please
check if the symbol is in it and let me know?

$ nm /usr/pkg/gcc3/lib/libgcc_s.so.1|grep _Unwind_Resume
00003f10 T _Unwind_Resume
00003fd8 T _Unwind_Resume_or_Rethrow

> Back about the beginning of April 2004 I started rebuilding all of the
> pkgsrc-derived software I used, starting with lang/gcc3 to pick up
> gcc-3.3.3.  teTeX is a must-have application, so it's distressing to find
> that it appears to have broken in the recent updates.

I installed gcc3-c, c++ and then rebuild most of my pacakge,
but teTeX related ones are left over.  I'll rebuild them and
see what happens.

--
SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>
May the peace be with us all.
I throw away any HTML messagess to me without reading.