From nobody Fri Nov 22 22:19:27 2024 X-Original-To: freebsd-current@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 4Xw8fp08CMz5dS1N for ; Fri, 22 Nov 2024 22:20:02 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from mailgate.Leidinger.net (mailgate.leidinger.net [IPv6:2a00:1828:2000:313::1:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (P-256) client-digest SHA256) (Client CN "mailgate.leidinger.net", Issuer "E6" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xw8fn2t6fz4hr9; Fri, 22 Nov 2024 22:20:01 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Authentication-Results: mx1.freebsd.org; none List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leidinger.net; s=outgoing-alex; t=1732313993; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=QJP6iCjeWsm0eRAbImK+qTDt+rGHLbKqKMjIJzSS/QY=; b=rYJL8QJzqcCpnpZ5w2iJn2t8FGZ+pi7WjHhYp7sP29CqxPtIA/LHzG4+omOUxff8zwoI2I +C4X57ymaar3F1WO2VQV6JElGnbbrkLPZ74Dbakgbkv6A5VRbr6PBPJECjOKfaGz0vKO3F INS8oH0gYRJg8VsEjt6L1W7VaEFR9vitm4LNJItlQqDkeHKrhZG3f4Wq3s55ZoRKDdjN92 1OCWlaQhu/uKEkeT0Nntoge7vm/3K3/c9MVPrJDz51G87JgEdqValTzc8tGC1cwSydhKta 0YCJVFizia3XVeh6rNgZ+xiFjQqKCUsk+R03blJ3ZGhABuKp3GsE2jORA+dapw== Date: Fri, 22 Nov 2024 23:19:27 +0100 From: Alexander Leidinger To: Shawn Webb Cc: Ed Maste , Current FreeBSD Subject: Re: buildworld error ld: error: version script assignment of 'FBSD_1.5' to symbol 'getentropy' failed: symbol not defined In-Reply-To: References: <1221c0f9da65d606d6142623717819ab@Leidinger.net> <40856c3b233f6120e742763ca2eb0775@Leidinger.net> Message-ID: Organization: No organization, this is a private message. Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=_a5ed9bfcfac4dc06f8cb1071679a5b50"; micalg=pgp-sha256 X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:34240, ipnet:2a00:1828::/32, country:DE] X-Rspamd-Queue-Id: 4Xw8fn2t6fz4hr9 X-Spamd-Bar: ---- This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --=_a5ed9bfcfac4dc06f8cb1071679a5b50 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Am 2024-11-22 18:19, schrieb Shawn Webb: > On Fri, Nov 22, 2024 at 04:20:42PM +0100, Alexander Leidinger wrote: >> Am 2024-11-22 15:31, schrieb Alexander Leidinger: >> > Am 2024-11-22 14:08, schrieb Ed Maste: >> > > On Thu, 21 Nov 2024 at 04:43, Alexander Leidinger >> > > wrote: >> > > > >> > > > Hi, >> > > > >> > > > I get: >> > > > ld: error: version script assignment of 'FBSD_1.5' to symbol >> > > > 'getentropy' failed: symbol not defined >> > > > cc: error: linker command failed with exit code 1 (use -v to see >> > > > invocation) >> > > > >> > > > This is with src from 2024-11-20 1:39pm UTC. My last build / running >> > > > world is from 2024-11-13 18:34pm UTC. >> > > >> > > I modified getentropy in that window to remove fallback code -- >> > > 62dab3d016a on Nov 16. It builds and Jenkins was happy though so >> > > perhaps something odd in your environment? >> > >> > I'm running a bisect on unmodified code (master). So there is a failure, >> > and I can't tell right now which commit it is. Anyway, as this is master >> > without my local changes, it has to me src.conf or similar: >> > >> > src.conf: >> > ---snip--- >> > WITHOUT_PROFILE=yes >> > CFLAGS+=-DFTP_COMBINE_CWDS >> > MALLOC_PRODUCTION=yes >> > WITH_MALLOC_PRODUCTION=yes >> > WITHOUT_LLVM_ASSERTIONS=yes >> > KERNCONF=ANDROMEDA >> > WITH_RETPOLINE=yes >> > WITH_BIND_NOW=yes >> > WITHOUT_CLEAN=yes >> > FORTIFY_SOURCE=2 ## <------- maybe this? if yes: regression! >> >> Sorry Ed, but your commit fails fast, and the commit before that >> builds now >> since much longer than the failed build. >> >> Here is a bit more info >> >> Building >> /space/system/usr_obj/space/system/usr_src/amd64.amd64/lib/libc/libc_pic.a >> building static c library >> building shared library libc.so.7 >> building special pic c library >> ld: error: version script assignment of 'FBSD_1.5' to symbol >> 'getentropy' >> failed: symbol not defined >> cc: error: linker command failed with exit code 1 (use -v to see >> invocation) >> Building >> /space/system/usr_obj/space/system/usr_src/amd64.amd64/lib/libc/libc_nossp_pic.a >> *** [libc.so.7.full] Error code 1 >> >> So the pic-build seems to be an issue. >> >> I try to get some time to check which build option may play a role >> here, but >> I'm not sure how much of that I can do in the next 24h. > > I'm getting the same build error. I'm building HardenedBSD > 15-CURRENT/amd64 with a clean /usr/obj. A world builds successfully without the FORTIFY_SOURCE=2. So this is a regression there. Bye, Alexander. -- http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF --=_a5ed9bfcfac4dc06f8cb1071679a5b50 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc; size=833 Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEER9UlYXp1PSd08nWXEg2wmwP42IYFAmdBA4AACgkQEg2wmwP4 2IZ+bQ//f5EcoFp4dwrtsQ6St85EJVnPr83fj1uvNR4LqvTLhH9E+a3DbdSKVdI4 ZqWwY0bsGq2qxfC4gwi89a3uNPfZrmXF+egfjGEwZdEWOR9muiv1V1khSX429Cou 3qw+/zVVQS6eKWjaGrwQaTJxsoWeLgZo6nk/pvBh9TKS1/+91UIK5cSP670wdGdH xeROWwKkoF443hYtwxj9vUKihVJSNARJOt4N8hOse/JYE3sZg3gugd8wv0cP8PC6 gviVYervUC3Ahg3yvsefaRVlfENsc1xedSFxsC6GFDsyIVVRWrPiH8ZuInh0Cra3 Z1EGeKjLFbcIq0ccsp1a+Z9YnMmsXDintOS+knsCXQ2vWLcyeNqLVQrB5AkqVtNb j/BzmW6ARpEddI7wFQG5jd+AB5V2/dGiE/5zfduyS2ynPYVlwLOt3Ihi0FgnOdRy E99dwhx4DNIx7ay/BMepEp35oRj3q6WEBGS9nJKUQSLOlJgL8RvoAW1V5KDXwLrL mguawVcJXuQ6TZbXpPC2Y7olic4wQxKSnA3Y/6y8+rM9Ia2HyvzxY1dX7Ltl96Oi qZEwlG5OHsRG2OcFQ1rRK9kb4oOzrGMSTmM9TGU+7OWoNtKRlpb1hvhN1e671Doj jFFH8d9tLbzT6BQywXdtT/nw7tcvQKchDxit85SvD6GLUme+SRc= =+W/l -----END PGP SIGNATURE----- --=_a5ed9bfcfac4dc06f8cb1071679a5b50--