From nobody Fri Oct 6 17:52:03 2023 X-Original-To: java@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 4S2GGD2jtlz4w0w8 for ; Fri, 6 Oct 2023 17:52:04 +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 4S2GGC5Z4Dz4dnT for ; Fri, 6 Oct 2023 17:52:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696614723; a=rsa-sha256; cv=none; b=SdFxdzcMG1+TLGvkNhi0avqGq679q4UsOAEY3stzXEHCU4QBP78uSyMEbBzYcmHHICorOz ifOIQsOIQQczfqgqQOqabTVA2gwbDjmAjGkgWgLkZek9QhERNNMXepXDRWJfX/7OzuTrSm Z9WoLUGcMCGeN160xFfEsE4uYqH3oR1yr36uVtn0rGNyFglC6v8UKRbRtsUslhRFmUumtf AxeHRGb6xeIOGkuP4PK4UofRxskKdC9jfI9nYCGXwtiR9HXM99j+FavL94N29ZM0/t6iox Wu91GuqDl98ponraQtue3+dcGXO29u97Jz1T94MilHwUdmmzRL+lQCK8AIU9IA== 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=1696614723; 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=3kzZfdxQLDGlaYcuP9UvHimPk7FBxc6foBLxqj9IfMI=; b=gBBqs4AlgMPPHnvpHZVZ9DBCF3NSgTBRoges+DDfqwjTzmXCFt2hfFm0z9yrziOxv3k2cp uZRv6/9U3e8WfrV+OOV8t2iXVj1VTzFkDmVyq4KPLe9EsrINCh4cOfA1x+S0fbF8GqpCZW Ou1ae8qLmk78OuLTTQ/y4Nj4Df5u3x7UNG3htUiDzCGvfKuoko5Ek2BlUbMFD7kXwRG7BM Q07hv4PMGDs1p2xMt39g+NLpp07OozxvI3DmZlB+Sca/cVNpytAw/sDX7dLPvtD6hDnM0h D97L4ttn3rxcSPubYz3MkJyt8s/HgAYePdhJpFX2aPG0E9Am6pjIZQN0irzXfA== 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 4S2GGC3n64zxsl for ; Fri, 6 Oct 2023 17:52:03 +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 396Hq3no067699 for ; Fri, 6 Oct 2023 17:52:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 396Hq3l0067698 for java@FreeBSD.org; Fri, 6 Oct 2023 17:52:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 274106] java/openjdk8: fix build with lld 17 Date: Fri, 06 Oct 2023 17:52:03 +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 Some People X-Bugzilla-Who: commit-hook@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: 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: Porting Java to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-java List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-java@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274106 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3Da2f61c3e68e228e7d4186d18672da9d= 39218e289 commit a2f61c3e68e228e7d4186d18672da9d39218e289 Author: Dimitry Andric AuthorDate: 2023-09-26 08:45:29 +0000 Commit: Dimitry Andric CommitDate: 2023-10-06 17:48:54 +0000 java/openjdk8: fix build with lld 17 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_getpid' 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 referenced in linker version scripts. Since there are many of these in openjdk 8, suppress the errors by adding -Wl,--undefined-version to the --with-extra-ldflags configure option. PR: 274106 Approved by: maintainer timeout (10 days) MFH: 2023Q4 java/openjdk8/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=