From nobody Fri Nov 22 17:19:54 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 4Xw20Y1Y3yz5f7Y7 for ; Fri, 22 Nov 2024 17:19:57 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-il1-x132.google.com (mail-il1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xw20X6vB0z47R2 for ; Fri, 22 Nov 2024 17:19:56 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Authentication-Results: mx1.freebsd.org; none Received: by mail-il1-x132.google.com with SMTP id e9e14a558f8ab-3a77c066a15so8502495ab.3 for ; Fri, 22 Nov 2024 09:19:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd.org; s=google; t=1732295996; x=1732900796; darn=freebsd.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=lQ/PkIG6BeIMl+RlVAsYnJ3vRnNLaVVUyM/5Sl4UF0E=; b=jbq/ZWNr02f6EEcjOI6Peu1J2LE7Ze42Q4DOBz0lOr0OZYycCTNbMRXs1t5QOd64nF RLOzgiJ6TtTMznYl4iFYDNX3DSvJ59PyCnIKY4yZ89kksEYyg6gtAcEYVFa/PlznEKOP FJMSxjrPjfj3BO7q1lGRr1AKETCXQsSOLuPKDneGeCzwnE/m1vHgKURRrRdrK06T75Gm gGKkk8Fl7SCmCEDVpgnIJPiZymKAZtQAMviz8mkL9nJMDaZG+4Ce+YhcwDdaXMoxWmGS T6Vqcdqb1roXD3M3ngj/sODxkyv2WEchFnk6EUavujJSFt5FwEVcMOVapTiF4NePhEmo ecuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732295996; x=1732900796; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=lQ/PkIG6BeIMl+RlVAsYnJ3vRnNLaVVUyM/5Sl4UF0E=; b=ptpECsRmMuU9QK/eHxMYlzPd9BZCPmf3zAf4nInGeIBl8SryVovmMvUXt8+iz62ucb eqZGoDROEGWdCYkKf8GmiO3Vti2ea2qxhaB7MsvYi1DUxqOXY9BZrsmUPR1c/eRrumqU FMoXyz+wlDZKyM5MTaYmSqPplQ/i1lnyU/f82kbv//jTSZI/GUAmnpzUu+DBNWY+iMLt NvKH/kWczjpDfaBMZfu1bRTOIWYMx5k3dtdiNYJAqFoyWOhdj0fY4uxnL02nQFmEO1DQ IpGiImxMIVX9aBGVr7URzmW/j99CoekNKYyROXI5PZazoG5uVtrnKODZ2hilxq8XoDVk R6JQ== X-Forwarded-Encrypted: i=1; AJvYcCXxssjYH7Ah24f9QSrqMQRFEAyO+g0o24423pLnHbX0nuOIE0MZ8BTKibrYnefzcdp1/c5UfiKN7iTG2BeRkRw=@freebsd.org X-Gm-Message-State: AOJu0YxkojsjRbVdrHx3DdBxJ+mVcj1mdar9CgAgUzVJyFUTyHaM/qd0 ooDn8EZR2d0hRH+qdFlBdKc4EUTuXgg52zNrOI1vBl07OcMBC0BO+dv1VORJOvduzjq0dT0lE2j b X-Gm-Gg: ASbGncuHKTxSYQJOHquH3pbikNcMc4L+3BUWatQE5hPZ261sKomdc2qYUuoLaOHSdXs +YSimk6PRuazIO9XkDXuOEXHm/zB5LknWE2cMs3XYY+2k3OliwzQLh2dOwU6Xawzz8Q4z1Sq2mS qljufL7G7VJUwypTLmMKRE++lDq1xyErzJO0X1p5p+7WHzp+wtLRseQJLBmoLOMPuPsT6EMdgNj uOEHirjURcQYFmOOeGlh6uXDiQ2TZP44yJY0yDVBta0fvvxpF5F+EmLsrJFYwqkqbSpDYe2RGUD Z5Uf5g== X-Google-Smtp-Source: AGHT+IEl84IOoEAw4fbBadUePTci51Yr2iTYpvAwWIvIyxUyccATqZXyrU17Mz2YckMYflQ3ir+PtA== X-Received: by 2002:a05:6e02:1a42:b0:3a7:6636:eb3b with SMTP id e9e14a558f8ab-3a79af75f91mr35174015ab.17.1732295995805; Fri, 22 Nov 2024 09:19:55 -0800 (PST) Received: from mutt-hbsd (63-230-77-134.clsp.qwest.net. [63.230.77.134]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-3a79ac9739csm5713425ab.57.2024.11.22.09.19.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Nov 2024 09:19:55 -0800 (PST) Date: Fri, 22 Nov 2024 17:19:54 +0000 From: Shawn Webb To: Alexander Leidinger 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 Message-ID: X-Operating-System: FreeBSD mutt-hbsd 15.0-CURRENT-HBSD FreeBSD 15.0-CURRENT-HBSD X-PGP-Key: https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/blob/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc References: <1221c0f9da65d606d6142623717819ab@Leidinger.net> <40856c3b233f6120e742763ca2eb0775@Leidinger.net> 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 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="d7pc7o6fivxsk63i" Content-Disposition: inline In-Reply-To: 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:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4Xw20X6vB0z47R2 X-Spamd-Bar: ---- --d7pc7o6fivxsk63i Content-Type: multipart/mixed; protected-headers=v1; boundary="vxtgjfu5yqtkjmbv" Content-Disposition: inline Subject: Re: buildworld error ld: error: version script assignment of 'FBSD_1.5' to symbol 'getentropy' failed: symbol not defined MIME-Version: 1.0 --vxtgjfu5yqtkjmbv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: > > > >=20 > > > > Hi, > > > >=20 > > > > 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) > > > >=20 > > > > This is with src from 2024-11-20 1:39pm UTC. My last build / running > > > > world is from 2024-11-13 18:34pm UTC. > > >=20 > > > 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? > >=20 > > 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: > >=20 > > src.conf: > > ---snip--- > > WITHOUT_PROFILE=3Dyes > > CFLAGS+=3D-DFTP_COMBINE_CWDS > > MALLOC_PRODUCTION=3Dyes > > WITH_MALLOC_PRODUCTION=3Dyes > > WITHOUT_LLVM_ASSERTIONS=3Dyes > > KERNCONF=3DANDROMEDA > > WITH_RETPOLINE=3Dyes > > WITH_BIND_NOW=3Dyes > > WITHOUT_CLEAN=3Dyes > > FORTIFY_SOURCE=3D2 ## <------- maybe this? if yes: regression! >=20 > Sorry Ed, but your commit fails fast, and the commit before that builds n= ow > since much longer than the failed build. >=20 > Here is a bit more info >=20 > 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 invocati= on) > Building /space/system/usr_obj/space/system/usr_src/amd64.amd64/lib/libc/= libc_nossp_pic.a > *** [libc.so.7.full] Error code 1 >=20 > So the pic-build seems to be an issue. >=20 > 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. Attached is the output of `make showconfig` in /usr/src. Thanks, --=20 Shawn Webb Cofounder / Security Engineer HardenedBSD Tor-ified Signal: +1 303-901-1600 / shawn_webb_opsec.50 https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A= 4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc --vxtgjfu5yqtkjmbv Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="2024-11-22_config-r01.txt" MK_ACCT = yes MK_ACPI = yes MK_APM = yes MK_ASAN = no MK_ASSERT_DEBUG = yes MK_AT = yes MK_AUDIT = yes MK_AUTHPF = yes MK_AUTOFS = yes MK_AUTO_OBJ = yes MK_BEARSSL = no MK_BHYVE = yes MK_BHYVE_SNAPSHOT = no MK_BIND_NOW = yes MK_BLACKLIST = yes MK_BLACKLIST_SUPPORT = yes MK_BLUETOOTH = yes MK_BOOT = yes MK_BOOTPARAMD = yes MK_BOOTPD = yes MK_BRANCH_PROTECTION = no MK_BSDINSTALL = yes MK_BSD_CPIO = yes MK_BSNMP = yes MK_BZIP2 = yes MK_BZIP2_SUPPORT = yes MK_CALENDAR = yes MK_CAROOT = yes MK_CASPER = yes MK_CCACHE_BUILD = no MK_CCD = yes MK_CDDL = yes MK_CFI = yes MK_CLANG = yes MK_CLANG_BOOTSTRAP = yes MK_CLANG_EXTRAS = yes MK_CLANG_FORMAT = no MK_CLANG_FULL = yes MK_CLEAN = no MK_CPP = yes MK_CPP_HARDENING = yes MK_CROSS_COMPILER = yes MK_CRYPT = yes MK_CTF = no MK_CUSE = yes MK_CXGBETOOL = yes MK_DEBUG_FILES = yes MK_DETECT_TZ_CHANGES = no MK_DIALOG = no MK_DICT = yes MK_DIRDEPS_BUILD = no MK_DIRDEPS_CACHE = no MK_DISK_IMAGE_TOOLS_BOOTSTRAP = no MK_DMAGENT = yes MK_DOCCOMPRESS = yes MK_DTRACE = yes MK_DTRACE_ASAN = no MK_DTRACE_TESTS = no MK_DYNAMICROOT = yes MK_EE = yes MK_EFI = yes MK_ELFTOOLCHAIN_BOOTSTRAP = yes MK_EXAMPLES = yes MK_EXPERIMENTAL = no MK_FDT = no MK_FILE = yes MK_FINGER = yes MK_FLOPPY = yes MK_FORMAT_EXTENSIONS = yes MK_FORTH = yes MK_FP_LIBC = yes MK_FREEBSD_UPDATE = no MK_FTP = yes MK_GAMES = yes MK_GH_BC = yes MK_GNU_DIFF = yes MK_GOOGLETEST = yes MK_GPIO = yes MK_GSSAPI = yes MK_HAST = yes MK_HBSDCONTROL = yes MK_HBSD_UPDATE = yes MK_HESIOD = no MK_HTML = yes MK_HYPERV = yes MK_ICONV = yes MK_INCLUDES = yes MK_INET = yes MK_INET6 = yes MK_INET6_SUPPORT = yes MK_INETD = yes MK_INET_SUPPORT = yes MK_INSTALLLIB = yes MK_INSTALL_AS_USER = no MK_IPFILTER = yes MK_IPFW = yes MK_IPSEC_SUPPORT = yes MK_ISCSI = yes MK_JAIL = yes MK_JEMALLOC_LG_VADDR_WIDE = yes MK_KDUMP = yes MK_KERBEROS = yes MK_KERBEROS_SUPPORT = yes MK_KERNEL_BIN = no MK_KERNEL_RETPOLINE = no MK_KERNEL_SYMBOLS = yes MK_KVM = yes MK_KVM_SUPPORT = yes MK_LDNS = yes MK_LDNS_UTILS = yes MK_LEGACY_CONSOLE = yes MK_LIB32 = no MK_LLD = yes MK_LLDB = yes MK_LLD_BOOTSTRAP = yes MK_LLVM_ASSERTIONS = yes MK_LLVM_BINUTILS = yes MK_LLVM_COV = yes MK_LLVM_CXXFILT = yes MK_LLVM_FULL_DEBUGINFO = no MK_LLVM_TARGET_AARCH64 = yes MK_LLVM_TARGET_ALL = yes MK_LLVM_TARGET_ARM = yes MK_LLVM_TARGET_BPF = no MK_LLVM_TARGET_MIPS = no MK_LLVM_TARGET_POWERPC = yes MK_LLVM_TARGET_RISCV = yes MK_LLVM_TARGET_X86 = yes MK_LOADER_BIOS_TEXTONLY = yes MK_LOADER_EFI_SECUREBOOT = no MK_LOADER_GELI = yes MK_LOADER_IA32 = yes MK_LOADER_KBOOT = yes MK_LOADER_LUA = yes MK_LOADER_OFW = no MK_LOADER_PXEBOOT = yes MK_LOADER_UBOOT = no MK_LOADER_VERBOSE = no MK_LOADER_VERIEXEC = no MK_LOADER_VERIEXEC_PASS_MANIFEST = no MK_LOADER_VERIEXEC_VECTX = no MK_LOADER_ZFS = yes MK_LOCALES = yes MK_LOCATE = yes MK_LPR = yes MK_LS_COLORS = yes MK_LTOLIB = yes MK_MACHDEP_OPTIMIZATIONS = yes MK_MAIL = yes MK_MAILWRAPPER = yes MK_MAKE = yes MK_MAKE_CHECK_USE_SANDBOX = yes MK_MALLOC_PRODUCTION = no MK_MAN = yes MK_MANCOMPRESS = yes MK_MANSPLITPKG = yes MK_MAN_UTILS = yes MK_META_ERROR_TARGET = no MK_META_MODE = no MK_MLX5TOOL = yes MK_NETCAT = yes MK_NETGRAPH = yes MK_NETGRAPH_SUPPORT = yes MK_NETLINK = no MK_NETLINK_SUPPORT = no MK_NIS = yes MK_NLS = yes MK_NLS_CATALOGS = yes MK_NS_CACHING = yes MK_NTP = yes MK_NUAGEINIT = yes MK_OFED = no MK_OFED = yes MK_OFED_EXTRA = no MK_OPENLDAP = no MK_OPENMP = yes MK_OPENSSH = yes MK_OPENSSL = yes MK_OPENSSL_KTLS = yes MK_PAM = yes MK_PAM_SUPPORT = yes MK_PF = yes MK_PIE = yes MK_PKGBOOTSTRAP = yes MK_PMC = yes MK_PORTSNAP = no MK_PPP = yes MK_PTHREADS_ASSERTIONS = yes MK_QUOTAS = yes MK_RADIUS_SUPPORT = yes MK_RATELIMIT = no MK_RBOOTD = yes MK_RELRO = yes MK_REPRODUCIBLE_BUILD = no MK_RESCUE = yes MK_RETPOLINE = yes MK_ROUTED = yes MK_RPCBIND_WARMSTART_SUPPORT = no MK_SAFESTACK = yes MK_SCTP_SUPPORT = yes MK_SENDMAIL = yes MK_SERVICESDB = yes MK_SETUID_LOGIN = yes MK_SHAREDOCS = yes MK_SHARED_TOOLCHAIN = yes MK_SHLIBRANDOM = yes MK_SORT_THREADS = no MK_SOURCELESS = yes MK_SOURCELESS_HOST = yes MK_SOURCELESS_UCODE = yes MK_SPECTREV1_FIX = no MK_SPLIT_KERNEL_DEBUG = yes MK_SSP = yes MK_STAGING = no MK_STAGING_MAN = no MK_STAGING_PROG = no MK_STALE_STAGED = no MK_STATS = yes MK_SYSCONS = yes MK_SYSROOT = no MK_SYSTEM_COMPILER = yes MK_SYSTEM_LINKER = yes MK_TALK = yes MK_TCP_WRAPPERS = yes MK_TCSH = yes MK_TELNET = yes MK_TESTS = yes MK_TESTS_SUPPORT = yes MK_TEXTPROC = yes MK_TFTP = yes MK_TOOLCHAIN = yes MK_UBSAN = no MK_UNBOUND = yes MK_UNDEFINED_VERSION = no MK_UNIFIED_OBJDIR = yes MK_USB = yes MK_USB_GADGET_EXAMPLES = yes MK_UTMPX = yes MK_VERIEXEC = no MK_VI = yes MK_VT = yes MK_WARNS = yes MK_WERROR = yes MK_WIRELESS = yes MK_WIRELESS_SUPPORT = yes MK_WPA_SUPPLICANT_EAPOL = yes MK_ZFS = yes MK_ZFS_TESTS = yes MK_ZONEINFO = yes MK_ZONEINFO_LEAPSECONDS_SUPPORT = no OPT_INIT_ALL = none OPT_LIBC_MALLOC = jemalloc --vxtgjfu5yqtkjmbv-- --d7pc7o6fivxsk63i Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAmdAvTIACgkQ/y5nonf4 4frh9Q/9G/s9DBJe0mvKMNiCdK4y4Lu/UKvqzBtkO6HwHtR28EQdhrQ24f8Gra1b noySWHLkdM6QImYq5AjmD3JEqSZQokYvJJqy7XAOHVRXkvEPQrgUScfQmwjGT8ap 3lul0+QzMUYyZ3MV0X17r4KZwVbfYBPJkxH4CV+lIldCL9dhXLWuvpG1eivmt4wP oF72djdKNE2Erl/tpNgtgAeIW0stkBbf2rCEE0lEgiczKtfNcxmLE/SuMn+sWQgx z2yxVROIDektjKRQEDzm+OhKKaXAhX5/+Wa6Hg1m3gpXubqGNrzfGj1vxhzfHINK ehFQylW5h72bDajBbOrSbQb2fJbhD8BnF7U41I4jxtwW7xwim+9kJGTvFgNTX/hA Eiw5Vw/jGWHYUcEtMUFMsS1tFfQFvW79D82QUYVf7GD1C2cNR8PEZtM+utPmtrvp 5tnzu1IEDOkaYls4AS1oqbNXXxKMZvFG6WhoKgIP94eiqZBsekCMAWfmJtUHbeRa +pQ+vxuIWL5EN6z/9Eyywerd1c2M3bW7hrXMJ6S+XrZIvEbbtWElfY/hgbCiZleA +oFMNPmUHTWZ6XJ6W8ozK7P/Ufe1imguqxgI1OiS8E/eLP5RH4qX0NSZl0T3AzNR vARqY8oa/jFihQtIHu4DHq6PHUUkf2XSEe6SJWr2fOcmAT1C2EQ= =DoD0 -----END PGP SIGNATURE----- --d7pc7o6fivxsk63i--