From nobody Wed Sep 20 13:01:07 2023 X-Original-To: emulation@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 4RrJYw67N1z4tdfL for ; Wed, 20 Sep 2023 13:01:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RrJYw56J1z3NJc for ; Wed, 20 Sep 2023 13:01:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695214868; a=rsa-sha256; cv=none; b=h6GDbHjRu/W8F3Tv0pMZqkUNNgtaGdtlm8uhk6nP1qA7E7OEYbbN3T52Almrsd/uncEgZl QC290dLgeLaIyOM7OuncKh0grgE8eibNiSiDR84XMJHaIrZiSSsFk6DY6z/JzpfJGcmiJ9 3pWpvtFOSwktfHrvAoiGOIKHJFGtEqqlvQd9w6GSyS8YBGWwpWZJOleuaa07EFa9vhbN5u Pdt8vl67MuHJxe44km2MgA42k0rjp20zoCFtgn5lAT1n1mraeEf+pUh86gO8PIkNunHmEk 4QVoeSZ0u4z+U3a06WG1GQUl8q8jrjVAQZ0/Cvc2Dv4TH3MDt0P+6e9o3e68oQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695214868; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0U/TxHVWEdnGUyxvcNc2fEl4swijkpwIfFa4NR3HwvU=; b=AFfAC8PpuawDi36s9mFyxjQekvqWvlKE8ZpiGE3+ecKUcSo2ojGruM/ynly8FnNATNY+tU 0+GBLKQVd8l7jON1r9zrnjsvFvH5G5cK3SBqfLH7Af8s3tMdnFKL+sbT7SW8igB6vBSCZN IEDWzA5u0LZsJThueRGxcvfMJxpqkDzYfvubo3hFuj31of7CbRbVjoB/7fjLomeRvtSoX8 wwzifQr6XiAMpNmwmtmhtVyv1Dc2LI1IYafCwDkviQ+mdpvSiAdobHg8j68ZGaBcWPGUqF 04KqKdv7O/cOBmW0LmHgVfTP9sOjA8bL/bX593gM5/CUzrHpR4jILPrqxndgAw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RrJYw49zMzx44 for ; Wed, 20 Sep 2023 13:01:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 38KD18qd079618 for ; Wed, 20 Sep 2023 13:01:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38KD18K3079591 for emulation@FreeBSD.org; Wed, 20 Sep 2023 13:01:08 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: emulation@FreeBSD.org Subject: [Bug 273845] emulators/qemu-user-static: ld: error: undefined symbol: elf_getphnum Date: Wed, 20 Sep 2023 13:01:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: jcfyecrayz@liamekaens.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: emulation@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273845 --- Comment #6 from John Hein --- (In reply to John Hein from comment #4) I said: "elf_getphdrnum() is identical to elf_getphnum in both implementations (elftoolchain and elfutils)." I meant to say: elf_getsnum() is identical to elf_getshdrnum in both implementations (elftoolchain and elfutils). elf_getphnum() is identical to elf_getphdrnum in elftoolchain and elfutils = only has getphdrnum(). In elfutils, getphdrnum() was not added until after the getshnum() deprecation (in 2009). I would guess that when elf_getphdrnum()= was added in 2009, the thinking was to not add an alternate signature (elf_getphnum()) that would be not recommended (deprecated) at birth. --=20 You are receiving this mail because: You are the assignee for the bug.=