From nobody Mon May 22 09:13:25 2023 X-Original-To: desktop@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 4QPsF13Pt1z4TGXM for ; Mon, 22 May 2023 09:13:25 +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 4QPsF10hTVz4DxL for ; Mon, 22 May 2023 09:13:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684746805; 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=zgPi5Gc7crWpAQ7iE969Q5AS3YXCcNQZHC0w1zwvfz0=; b=xKPhxYw0+1jCrLdUO4leQ9CUHrL9BW8VbHUGYdNwGX3OZ4IOwX2xayCueQSxwO/TfLc/vE VDH06AzEYXkWpgeXyss3l4gF087i5uQA08tW+ZsKLGqH8laNFsCipMo/3Ha32MvJdB2YJ2 DSGbbH5ZjlYLEGtp7Q7hGYL2eYnuLPuMjT1yDSQpsP5QX9+S7joBzE4BL3T0Zdfc2FF61d vF9zA6OaWXxGvFpBto110O/lqYC0rkS9yAObDroMxtzFOkmOpvpnnMtZHvx+gsg/8nq5Jx KV3iq6HTYfKejkeXN3SNccChWXhNY8BZlfwgk3QpQcPN5/Ffo6uYh1k3bXMKOA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684746805; a=rsa-sha256; cv=none; b=T6R4O2F2goPFHsndIei7SkobMvkGoiH/QEdHSLuRQ8JN83QhTfyoRyFTVgf3Or9Ulfd6iR /VmdYr5r1zO1h/q+6OXtDavUhXKLh78tpgxJVWU9OdL9wkgrKGXSCZRBZX1JVHFMDGFQQR 8A04g/LLq+3xwPBjVVZ4XkcIjwyipRA/k/y48YjQHdPJN4/jSqeyaycpsc5kMXCn3Y0xtd V4/u5prf1CW3/10Urdt9A6YNM8Vz8/abTBYSMJCtEg2xpeEdQXmUuGER30lbJIA57VMhpo TjY5rA0KcLVV4+pDGP9PujpcDIi+mkYbcoJ5eP0ez+fHPuLjVamQgKNa7t0bXQ== 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 4QPsF06rnXz1R6l for ; Mon, 22 May 2023 09:13:24 +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 34M9DOMA008837 for ; Mon, 22 May 2023 09:13:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34M9DOkY008836 for desktop@FreeBSD.org; Mon, 22 May 2023 09:13:24 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: desktop@FreeBSD.org Subject: [Bug 268514] graphics/png: missing symbol after upgrading from 1.6.37 to 1.6.38 Date: Mon, 22 May 2023 09:13:25 +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: needs-qa, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tatsuki_makino@hotmail.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Unable to Reproduce X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: desktop@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc 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: Using and improving FreeBSD on the desktop List-Archive: https://lists.freebsd.org/archives/freebsd-desktop List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-desktop@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268514 Tatsuki Makino changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tatsuki_makino@hotmail.com --- Comment #5 from Tatsuki Makino --- (In reply to Adriaan de Groot from comment #4) conftest.map: VERS_1 { global: sym; local: *; }; VERS_2 { global: sym2; main; } VERS_1; src.c: void sym(void) {} void sym2(void) {} int main(void) {return 0;} When such a file is prepared and the following command is executed... clang -Wl,--version-script=3Dconftest.map src.c -> This is no problem. gcc12 -Wl,--version-script=3Dconftest.map src.c -> This fails with a message like CMakeError.log of attachment 239067. As a workaround for this, Add -shared -> gcc12 -Wl,--version-script=3Dconftest.map -shared src.c Rewrite local:*; in VERS_1. -> VERS_1 { global: sym; local: foo; }; VERS_2 { global: sym2; main; } VERS_1; or -> VERS_1 { global: sym; }; VERS_2 { global: sym2; main; } VERS_1; As a result, gcc may also be treated as having version-script support successfully. --=20 You are receiving this mail because: You are the assignee for the bug.=