From nobody Wed Jul 27 01:40:25 2022 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4LsxLW5gnxz4XtMt for ; Wed, 27 Jul 2022 01:40:35 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-22.consmr.mail.gq1.yahoo.com (sonic309-22.consmr.mail.gq1.yahoo.com [98.137.65.148]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4LsxLT65psz3q0q for ; Wed, 27 Jul 2022 01:40:33 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1658886032; bh=n73/9hEc9+xTNz9lIxkEjVxgzlFQB76C/R9N1b4j90I=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=KnXhIF1kD0wV59qOit9hW6WAOaWA2A8fQpLU9xF3NsoPpJtdiNwm9KK0Ee6YJzXpwM803Ymumfm2+Jtc5gMnVD0bovNixRG9lCx7ODPCHBSbpD+yvHITNcaAcvW1dLxUV0vQrZBFZ01RC6lMvgvZvT0cxWTbh6UWpJ/bn8f0E8d1JBpVjlQv3CTC/Pxc8pOZHiX1Y2Jn/TyvXVcbwH9KwKQ/RKXLnE42dlDQl6uh2hiNrzmj9IV+tA9FYTsBPY/puBr6l8WhhZydga+jjsdmGDw6gai1z4Dlk7JuPKunFuGUyiCoS4Te5apKtE0xvgjWTJw1qReQc2dWMpASQlTZxw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1658886032; bh=pCG9QihvaRbgJHpvRbKZjmNOiXWZqjJm8n/+Og6clGZ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SvyxPtrHZfpmdzh4XmP5ojpziT22ai2Kf4lrUHJ0cd5hcDPx ztYmLiWC6NGpfGgI6YVdhVBGAkKvCoB19kjLZEjsXAb7oJpUMfenR2yo4CoTaYDK6_LVREPVVBhF .SBsDUfYNGcbXf9a6GGEUZ4k8LFF1zqCQlcaK.6d1ftzDVsrnH32gpvLc7ucV1z2kdbYr_PYI4je .LZySgk0qsUUtGGH8LKIeMeLoBIXzY0sDyOPufVEhTXfImAsK8NpmPLi93CoZACa7Fl6nbN9jPB8 MiFDs3qAqFMPa.zSTRBrNe1sbSGmu5ZwunSvZFEt0Ci6cVTCA296kp50FHeTWLkskLCqv5TWV61D 0SHD7SnsCRQe2DToCXucoLx0VLw68Gkck6PU11tgYSIq8fgkvPuhE3mjUO98ZEAudo8ArFm_mhIZ K.o6tvTGmy5wH8FaLa4I4mE4QJmdc9HIJXWxhdrgpKrWNuGuwPRW1CNSpUoReT27Vb5gjUblJJUM DmCOSRW4sxRX1sdbNHERJW8ZRIpxZ7gdeo.QPienZiz9NJ5CH.yYoXZDREIqQ6t1ExJCU4HUwifL Cpurm X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.gq1.yahoo.com with HTTP; Wed, 27 Jul 2022 01:40:32 +0000 Received: by hermes--production-ne1-74ddcb6b46-vfl4k (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 849731f49722be8db743e3d4596ae557; Wed, 27 Jul 2022 01:40:27 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: ld: error: undefined symbol: xdr_domainname in stable/13 From: Mark Millard In-Reply-To: <20220726201450.GA3984@www.zefox.net> Date: Tue, 26 Jul 2022 18:40:25 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20220726201450.GA3984@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4LsxLT65psz3q0q X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=KnXhIF1k; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.148 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.42 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.993]; NEURAL_HAM_MEDIUM(-0.93)[-0.931]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.148:from]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.148:from] X-ThisMailContainsUnwantedMimeParts: N On 2022-Jul-26, at 13:14, bob prohaska wrote: >=20 > Just had a buildworld stop with=20 >=20 > ld: error: undefined symbol: xdr_domainname >>>> referenced by yplib.c:471 (/usr/src/lib/libc/yp/yplib.c:471) >>>> yplib.o:(_yp_dobind) in archive = /usr/obj/usr/src/arm64.aarch64/tmp/usr/lib/lib > c.a >>>> referenced by yplib.c:471 (/usr/src/lib/libc/yp/yplib.c:471) >>>> yplib.o:(_yp_dobind) in archive = /usr/obj/usr/src/arm64.aarch64/tmp/usr/lib/lib > c.a >>>> referenced by yplib.c:0 (/usr/src/lib/libc/yp/yplib.c:0) >>>> yplib.o:(yp_maplist) in archive = /usr/obj/usr/src/arm64.aarch64/tmp/usr/lib/lib > c.a >>>> referenced 1 more times >=20 > A re-run of git pull on July 26 around 1 pm PDT didn't fix it.=20 > I'm using -DWITH_META_MODE, could that matter? I do not know overall, but the source code for the routine is generated by a tool. Your build tree should have ended up with a: arm64.aarch64/lib/libc/yp_xdr.c that contains the source code for that routine --and for others. It is the compiling of that source and linking with the result that should provide the definition. For reference: # grep -r yp_xdr /usr/13S-src/ | more /usr/13S-src/lib/libc/yp/Makefile.inc:SRCS+=3D xdryp.c yp.h yp_xdr.c = yplib.c /usr/13S-src/lib/libc/yp/Makefile.inc:CLEANFILES+=3D yp.h yp_xdr.c /usr/13S-src/lib/libc/yp/Makefile.inc:yp_xdr.c: ${RPCSRC} /usr/13S-src/lib/libc/rpc/Symbol.map: /* =46rom yp_xdr.c (generated by = rpcgen - include/rpcsvc/yp.x) */ # more /usr/13S-src/lib/libc/yp/Makefile.inc # from: @(#)Makefile.inc 5.3 (Berkeley) 2/20/91 # $FreeBSD$ # yp sources .PATH: ${LIBC_SRCTOP}/yp SRCS+=3D xdryp.c yp.h yp_xdr.c yplib.c CLEANFILES+=3D yp.h yp_xdr.c SYM_MAPS+=3D ${LIBC_SRCTOP}/yp/Symbol.map RPCSRC=3D ${SRCTOP}/include/rpcsvc/yp.x RPCGEN=3D RPCGEN_CPP=3D${CPP:Q} rpcgen -C yp_xdr.c: ${RPCSRC} ${RPCGEN} -c -o ${.TARGET} ${RPCSRC} yp.h: ${RPCSRC} ${RPCGEN} -h -o ${.TARGET} ${RPCSRC} =3D=3D=3D Mark Millard marklmi at yahoo.com