> From: Darren J Moffat <darr...@opensolaris.org>
> Guy wrote:
> > Hello
> > 
> > I try to build snv_111 from source archive with debug support.
> > My system was installed from snv_108 DVD, then bfued to snv_110 then snv_111
> > 
> > The nightly fails on elfsign link :
> > 
> > 
> > + /opt/SUNWspro/bin/cc -O -xspace -Xa -xildoff -errtags=yes -errwarn=%all 
> > -erroff=E_EMPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED 
> > -xc99=%none -W0,-xglobalstatic -v -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS 
> > -I/export/testws/usr/src/lib/libelfsign/common 
> > -I/export/testws/usr/src/uts/common 
> > -I/export/testws/usr/src/lib/libkmf/include 
> > -I/export/testws/usr/src/lib/libcryptoutil/common 
> > -M/export/testws/usr/src/common/mapfiles/common/map.noexstk 
> > -M/export/testws/usr/src/common/mapfiles/i386/map.noexdata 
> > -M/export/testws/usr/src/common/mapfiles/i386/map.pagealign -lmd -lelf 
> > -lkmf -lcryptoutil -lc -R /usr/lib/security 
> > /usr/lib/security/pkcs11_softtoken.so -o elfsign elfsign.o elfcertlib.o 
> > elfsignlib.o
> > Undefined                       first referenced
> >  symbol                             in file
> > pkcs11_close_urandom_seed           /usr/lib/security/pkcs11_softtoken.so
> > pkcs11_get_random                   /usr/lib/security/pkcs11_softtoken.so
> > pkcs11_close_random                 /usr/lib/security/pkcs11_softtoken.so
> > pkcs11_get_nzero_urandom            /usr/lib/security/pkcs11_softtoken.so
> > pkcs11_close_urandom                /usr/lib/security/pkcs11_softtoken.so
> > pkcs11_seed_urandom                 /usr/lib/security/pkcs11_softtoken.so
> > pkcs11_get_urandom                  /usr/lib/security/pkcs11_softtoken.so
> > ld: fatal: symbol referencing errors. No output written to elfsign
> 
> This is a bug, please log one at http://bugs.opensolaris.org/
> 
> Please include all the information you gave in the email.
> 
> I believe this is caused by a either a missing dependency for elfsign or 
> that elfsign is picking up libcryptoutil from the host but 
> pkcs11_softtoken from the build area or vice versa.
> 
> There was a recent change to pkcs11_softtoken and libcryptoutil to do 
> with those functions.

While there's an unnecessary linkage of the buildtime elfsign against
/usr/lib/security/pkcs11_softtoken.so (bugworthy issue), the above
linking command doesn't demonstrate a mixed link between proto and
build machine libraries.  Rather, it appears that your build machine
likely has differing generations of
/usr/lib/security/pkcs11_softtoken.so and /lib/libcryptoutil.so.

                                                -JZ
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to