Re: There is a known problem with MIPS tinderbox.

看板FB_current作者時間13年前 (2012/05/02 10:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/3 (看更多)
On Fri, 6 Apr 2012 13:08:12 +0530 "Jayachandran C." <c.jayachandran@gmail.com> mentioned: > On Fri, Apr 6, 2012 at 12:01 PM, Stanislav Sedov <stas@freebsd.org> wrote: > > > > On Apr 5, 2012, at 11:08 PM, Jayachandran C. wrote: > >> > >> > >> The asn1 library has a export map containing 'global: *', this exports > >> two symbols _fdata and _ftext versioned. =9AWhen libkafs5 is linked, > >> these symbols confuse the bfd code and the entries corresponding to > >> theses (index 13, and 16) are left un-initialized. > >> > >> One workaround I see is to change the export 'global: *' in > >> kerberos5/lib/libasn1 to the actual list of exported symbols. > >> > > > > Thanks. =9AWhat I'm also trying right now is to add a version map to the > > libkafs -- this might help binutils to link it properly as well. =9AIf = it > > fails, we can try adding a proper one for libasn1. >=20 > The libasn1 workaround is here: > http://people.freebsd.org/~jchandra/libasn1.diff >=20 Thanks! My idea of adding a version map to libkafs worked as well. Can you, please, test if it fixes the issue for you? It seems to be a less complicated way to solve it. Index: kerberos5/lib/libkafs5/version.map =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- kerberos5/lib/libkafs5/version.map (revision 0) +++ kerberos5/lib/libkafs5/version.map (revision 0) @@ -0,0 +1,19 @@ +HEIMDAL_KAFS5_1.0 { + global: + k_afs_cell_of_file; + k_hasafs; + k_hasafs_recheck; + k_pioctl; + k_setpag; + k_unlog; + kafs_set_verbose; + kafs_settoken5; + kafs_settoken_rxkad; + krb5_afslog; + krb5_afslog_home; + krb5_afslog_uid; + krb5_afslog_uid_home; + krb5_realm_of_cell; + local: + *; +}; Index: kerberos5/lib/libkafs5/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- kerberos5/lib/libkafs5/Makefile (revision 233932) +++ kerberos5/lib/libkafs5/Makefile (working copy) @@ -1,20 +1,13 @@ # $FreeBSD$ =20 LIB=3D kafs5 -LDADD=3D -lasn1 -lroken +LDADD=3D -lasn1 -lroken -lkrb5 +LDFLAGS=3D -Wl,--no-undefined DPADD=3D ${LIBASN1} ${LIBKRB5} ${LIBROKEN} INCS=3D kafs.h MAN=3D kafs5.3 +VERSION_MAP=3D ${.CURDIR}/version.map =20 -# -# Linking with libkrb5 uncovers a bug in binutils. -# See http://repo.or.cz/w/binutils.git/commit/ee05170bf71819c99cb5a36a4473= 5c231ae03c56 . -# -.if ${MACHINE} !=3D "mips" -LDADD+=3D -lkrb5 -LDFLAGS=3D -Wl,--no-undefined -.endif - MLINKS=3D kafs5.3 k_afs_cell_of_file.3 \ kafs5.3 k_hasafs.3 \ kafs5.3 k_pioctl.3 \ --=20 Stanislav Sedov ST4096-RIPE () ascii ribbon campaign - against html e-mail=20 /\ www.asciiribbon.org - against proprietary attachments _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1Fe9Li2B (FB_current)
文章代碼(AID): #1Fe9Li2B (FB_current)