From nobody Tue Sep 26 12:57:46 2023 X-Original-To: ports-bugs@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 4Rw0CH3yPCz4v6xV for ; Tue, 26 Sep 2023 12:57:47 +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 4Rw0CG4kWpz3Y5K for ; Tue, 26 Sep 2023 12:57:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695733066; a=rsa-sha256; cv=none; b=o3FywVAT61KubpjdLACA/dSzSCPSWANVgYJdE4ldYPMhiO3YwhzE/DHStbcLosEUCxRwf3 Lvo4i1RVEfkaj2OOfxYwYrWjs5GDAHUBQpz1DMtOM8Q7GqkVyHyJRxUmvkNOouMPhYJnqQ hHxoal2ZhtxKxI8pDLiJ1cOedVerCtQbumacHd0GcXLrgCnQO8NPyxGMWByMKnHRM7CAGn +PvboM3r+GAIDDmVuu6pidZP/IOjdQi3G0unTg/ypCeR6s8NOjUtS6s/ezE3e4Ourtg/wM ipIstHgLe3DXoECB8GLvwz5XOdgyTr/UP2k4swUDL51axvC1SaVr7mBfgxt70w== 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=1695733066; 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; bh=invB+cpkUWYnKE3WOFTu46lLhVArWyzq8OLyi2TtHDM=; b=izyCb9h0tZ9N6n4dC1DzX9MrzNBSeNHIDDiJ6+kWv+zIzbbhRcOovZ1aFFgX6z0QQeYcZp +u9vlCvz/DDrLF/gJKZO2e1m5m3d2tZPtNaorP+6YtHJVw0bLoftxkWrU5BOh/xNexf0cG mMhONcVEoQ8yRtuoRbV3nHuqOC4yyWX7WOb7shFBaaT27LKnipxmUdvTdgq8CMKtDyVVNb VUAJsjVUH45YqU5YGGAPt5vCb/yrL5fkrLDE95Rfhx/4phdEwBxpeDW8JutEKQ/tlg9UqL uhPV0vjbf0P/s2N1g888mavBZ2D3EhZdTzQjISjlcfKvaQot5peBO4CDphodUA== 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 4Rw0CG3fc3zxMT for ; Tue, 26 Sep 2023 12:57:46 +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 38QCvkLd091695 for ; Tue, 26 Sep 2023 12:57:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38QCvkKv091694 for ports-bugs@FreeBSD.org; Tue, 26 Sep 2023 12:57:46 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: ports-bugs@FreeBSD.org Subject: [Bug 274106] java/openjdk8: fix build with lld 17 Date: Tue, 26 Sep 2023 12:57:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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 Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274106 Bug ID: 274106 Summary: java/openjdk8: fix build with lld 17 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: java@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: java@FreeBSD.org Flags: maintainer-feedback?(java@FreeBSD.org) Building java/openjdk8 with lld 17 results in the following link error: Making SA debugger back-end... ld: error: version script assignment of 'SUNWprivate_1.1' to symbol 'ps_get= pid' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.1' to symbol 'ps_lcontinue' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.1' to symbol 'ps_lgetxmmregs' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.1' to symbol 'ps_lsetxmmregs' failed: symbol not defined cc: error: linker command failed with exit code 1 (use -v to see invocation) This is because lld 17 defaults to errors when undefined symbols are refere= nced in linker version scripts. Since there are many of these in openjdk 8, supp= ress the errors by adding -Wl,--undefined-version to the --with-extra-ldflags configure option. --=20 You are receiving this mail because: You are the assignee for the bug.=