From nobody Wed Sep 20 12:53:59 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 4RrJPh3mNMz4td0j for ; Wed, 20 Sep 2023 12:54:00 +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 4RrJPh1hBgz3Mkf for ; Wed, 20 Sep 2023 12:54:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695214440; a=rsa-sha256; cv=none; b=ygWf7KoDvt+gIs4fYLng+bUpu2E/LKm1PJeifXnQisRgo7A1o9thKJ8mF9GzYbC8n/UraE ZRMGA1RUNsl6xz2Z1Oz1eUrwC73kJ1MbOMkBG7UAgVGM9q7yA359FCEBPIUpJPjU9/RbN6 77vtJ93BvdyC8AxVpFbruvahQaPO/sFmNpHs/unODSou8zQYGdqChXXjPrr1XHZEHEV9mn gmpTlZG/2QbZl1GTSUj5rUcA3hvB54wyXBUKOntYalBaRfS5gd1wc3H1lRmls3ECDfrVaO pjDsAYBQpQ1p9RzyNcd3F27ncg+li/6GT8TNLxOCSxK+LP44iQDeFjneWxuYZA== 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=1695214440; 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=NQjzqxX4I/6eNoX1LrM0VVsNSY0uURTWmLMO8DwRZdU=; b=g5qR5cFca2yJUB0PF0EVyf6VjZptKiMYLnGGZ+bRioAu42j9rmlkGHou57eaIdlC+YZenF gbs8fBhhnqiItnEEf0yler8NksYThdOOkLtzvP9by2QNCf+fpMJESZbkZG0ERWQ07nv25i AqOT9R1aY9WOnGIFohwoCt2Dk12wQz1ZtFbDDys6WjtIgeUFqRMk/MJOSys4vfB/oZ7xGx FQnE0nC8eopoVffPx/1AUjGVGXfhzntZsnM5qd8ywCZJwT9vOaqMbaJ1et8mqwzOPgbnq/ QfOt0z6NvuPgNFXPcLTnui7H9lDwgSEYM20Nk6WRiozyhTGRdIDPawbSkURQyQ== 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 4RrJPh0mBDzx8K for ; Wed, 20 Sep 2023 12:54:00 +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 38KCs09K068844 for ; Wed, 20 Sep 2023 12:54:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38KCs0a4068831 for emulation@FreeBSD.org; Wed, 20 Sep 2023 12:54:00 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 12:53:59 +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 #4 from John Hein --- elf_getphnum() is deprecated (as is elf_getshnum()) according to /usr/include/libelf.h. This deprecation is noted in the base source tree in contrib/elftoolchain and in elfutils source as well. It has been deprecate= d in elfutils since 2009. elf_getphdrnum() is identical to elf_getphnum in both implementations (elftoolchain and elfutils). I would patch emulators/qemu-user-static to use elf_getphdrnum(). And look into submitting report and/or patch upstream. --=20 You are receiving this mail because: You are the assignee for the bug.=