From nobody Wed Jan 24 13:05:00 2024 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 4TKkhD732Xz58DNm for ; Wed, 24 Jan 2024 13:05: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 4TKkhD4hs1z4WTQ for ; Wed, 24 Jan 2024 13:05:00 +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=1706101500; 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=t9ARWDYQIwthxMJPa4zYIJOOw6IUlT0PKSvXIVgX804=; b=w/8Ds9iiXCqa4hYC6sSMXNc5Oy0lEfTVK90r/9D+hwsUQ55lmYbzBL8cGjb+o5fIMh6NTy OGTCEgYzasbA8ZPcom/3EMhpNguZM2JQwqw91B3ZSBiCVzGpqEr4drHc9BB+CEICwy5abz S3SGsj/1r9HXgMIXJfLNkRaRu7Jc/3IvBDXpx/M3UCgbjePNJo8ewEz5BkqjW0wXWDBjJ2 pwXSUA8jl8qiCvtmhU4yeFTMHQbSMBMi+8mv5O3rQJO6IX6rYQKskyDWz1FGeyduH3EsTt KreJGvWTulsqOhUDmQ61+0HRTNY6px7PkBEavaiJ6/R/vtrRh9V49zkJt2Gexg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706101500; a=rsa-sha256; cv=none; b=QNnwqbT259yFvfzBKAYcm9cpoXdZU+AHaVCwIA5ZXXT6WrpVZvRn8sopf698O/RgPxkRxd 8et4a3rTxF+jKmHNdP2Ht1xDkfmaiMaJYbMIAp7ibw+hlF3YjZDLEWIiX35uHJxxfIbnxA g5paib2nRuqUACCQz3bR9VS0C6pUcO+p+g7nGw9GRSfj8KUVWrfCgztHzYcm9Fcm8BbHFV 5LIghG1i+Gi9pUNCQ/gA7Ms+e2ZTAY0nRJQpTaW3aKZwVswgM7Wm439c6kC3R+AU9MdhFq deiW2FItKJJtD5Il1vpia6BhB+MOxiKTZFKHkW3LGkgknY+0Gq6Mq4tihX76XA== 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 4TKkhD3ldszFRs for ; Wed, 24 Jan 2024 13:05: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 40OD50dh006733 for ; Wed, 24 Jan 2024 13:05:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40OD50rG006732 for java@FreeBSD.org; Wed, 24 Jan 2024 13:05: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: java@FreeBSD.org Subject: [Bug 276425] java/openjdk21: does not compile on main-70445a8061 Date: Wed, 24 Jan 2024 13:05:00 +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 Only Me X-Bugzilla-Who: matteo@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=3D276425 --- Comment #2 from Matteo Riondato --- In fact, the following patch (copied and pasted), inspired from https://cgit.freebsd.org/ports/commit/?id=3Da2f61c3e68e228e7d4186d18672da9d= 39218e289, fixes the compilation, but someone more expert with the port should check i= t. diff --git a/java/openjdk21/Makefile b/java/openjdk21/Makefile index fdeab8ad3..37d53258c 100644 --- a/java/openjdk21/Makefile +++ b/java/openjdk21/Makefile @@ -148,6 +148,7 @@ EXTRA_CFLAGS+=3D=20=20=20=20=20=20=20=20=20=20=20=20=20 -Wno-error=3Ddeprecated-non-prototype .endif CONFIGURE_ARGS+=3D --with-extra-cflags=3D"${EXTRA_CFLAGS}" CONFIGURE_ARGS+=3D --with-extra-cxxflags=3D"${EXTRA_CFLAGS}" +CONFIGURE_ARGS+=3D --with-extra-ldflags=3D"-Wl,--undefined-version" .endif .endif --=20 You are receiving this mail because: You are the assignee for the bug.=