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 > > > <alexan...@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.
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, -- 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/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc
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
signature.asc
Description: PGP signature