Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2024 16:20:42 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Alexander Leidinger <Alexander@leidinger.net>
Cc:        Ed Maste <emaste@freebsd.org>, Current FreeBSD <freebsd-current@freebsd.org>
Subject:   Re: buildworld error ld: error: version script assignment of 'FBSD_1.5' to symbol 'getentropy' failed: symbol not defined
Message-ID:  <f08beacf0f5b6a836f022aec2bbe1c29@Leidinger.net>
In-Reply-To: <40856c3b233f6120e742763ca2eb0775@Leidinger.net>
References:  <1221c0f9da65d606d6142623717819ab@Leidinger.net> <CAPyFy2DiJ8QYz0D95vSRVDPvC=f6ycFsSdWEEDFGNqW_bCpOMg@mail.gmail.com> <40856c3b233f6120e742763ca2eb0775@Leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)

--=_d5927d05e4c12b5ff298034eb18ec8f6
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII;
 format=flowed

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
>> <Alexander@leidinger.net> 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.

Bye,
Alexander.

-- 
http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netchild@FreeBSD.org  : PGP 0x8F31830F9F2772BF

--=_d5927d05e4c12b5ff298034eb18ec8f6
Content-Type: application/pgp-signature;
 name=signature.asc
Content-Disposition: attachment;
 filename=signature.asc;
 size=833
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEER9UlYXp1PSd08nWXEg2wmwP42IYFAmdAoVsACgkQEg2wmwP4
2IY0oA/9FLDurTwKLBnhPi/R2TnJP7/uzTnCg63GV3b71XHq+ql8GWSRqmZX16xj
61aBi93x0/0YJerFxMLfSgUAG9lpXvrQ1EWdewPQjAQYIoRid4C5xrt6nNtEDcpE
ceXgqBcHFRN7fEjfbSS2ZFKCfT1APH8OiTracPJQV5HpweHqoEawIDD12VcZBOYc
UQ2b3rhQ9RlWcMv8M+6WciHmPJpIp8br6squL2ytSL/IXzZtNjvrm4kILDvEVKU/
sPKaLuI3e/1Kd8upQ8W2FKSsRFb7kC5cZfttgTbQMrAaFYtf/o7WedFbcrEJhw7Y
7c5cdPr9tQvPlCQjXFOjFzd3MW6XxpUWC/LXy8rx0Zef079ObQV9r6sZ36Ayt30X
M2GsRJKugsgvSPvdBU2NdiI9M2IEIT5ZeRIovaVkJkX+4n7PHMoYhwhYtQUyqOmE
5ktdAjy5RJCXd3hrWMctQibNBk6Udst1cSxCdbEApEpOt1jZJFBC0y5UTyrV9fnu
75bGEw2bGmOdbcWSouqZOl15FtqRYuAT3skWeRdx3vrpr8H0iWW/WZ2DyGfb6r3Z
/wZy9M7z5DmEmd1jsN6AjdJNMrhjrOoKBwvF/H1mFYNW3yCOKlEWrmlrYCOkJF1P
vf3ddBrbzzfRTKHMmf0fZGq6LzmEW2jmKhtKiVdT7z/E8YWXJ8A=
=Vyox
-----END PGP SIGNATURE-----

--=_d5927d05e4c12b5ff298034eb18ec8f6--



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