Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 May 2024 11:41:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 279270] WITHOUT_UNDEFINED_VERSION fails with WITHOUT_NIS
Message-ID:  <bug-279270-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279270

            Bug ID: 279270
           Summary: WITHOUT_UNDEFINED_VERSION fails with WITHOUT_NIS
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: peterj@FreeBSD.org

Commit 4510f2ca9170927309a423274e03f1eb8e27da27 changed the linker default =
to
fail if undefined symbols are found during shared library creation.  If
WITHOUT_NIS is specified, linking libc.so.7 fails:
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_domainnam=
e'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_keydat'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_mapname'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_peername'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_valdat'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol
'xdr_ypbind_binding' failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_ypbind_re=
sp'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol
'xdr_ypbind_resptype' failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol
'xdr_ypbind_setdom' failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_ypmap_par=
ms'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_ypmaplist'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol
'xdr_yppush_status' failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol
'xdr_yppushresp_xfr' failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_ypreq_key'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_ypreq_nok=
ey'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_ypreq_xfr'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_ypreqtype'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_yprequest'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_ypresp_al=
l'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol
'xdr_ypresp_key_val' failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol
'xdr_ypresp_maplist' failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol
'xdr_ypresp_master' failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_ypresp_or=
der'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_ypresp_va=
l'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_ypresp_xf=
r'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_yprespons=
e'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_ypresptyp=
e'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_ypstat'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_ypxfrstat'
failed: symbol not defined

These symbols are listed in /usr/src/lib/libc/rpc/Symbol.map but defined in
yp_xdr.c, which is built from /usr/src/include/rpcsvc/yp.x via
/usr/src/lib/libc/yp/Makefile.inc

I believe the fix is to move those symbols into /usr/src/lib/libc/yp/Symbol=
.map

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279270-227>