From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 27FD01382C5 for ; Thu, 25 Mar 2021 02:08:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7FEF7E0877; Thu, 25 Mar 2021 02:08:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 23A90E0877 for ; Thu, 25 Mar 2021 02:08:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 315CB335CEE for ; Thu, 25 Mar 2021 02:08:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7BD065B9 for ; Thu, 25 Mar 2021 02:08:09 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1616636792.c79be6d69533e45fb077c952085eb2dd38b3a745.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/openjdk/files/, dev-java/openjdk/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/openjdk/files/openjdk-8-insantiate-arrayallocator.patch dev-java/openjdk/openjdk-8.282_p08-r1.ebuild dev-java/openjdk/openjdk-8.282_p08.ebuild X-VCS-Directories: dev-java/openjdk/ dev-java/openjdk/files/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: c79be6d69533e45fb077c952085eb2dd38b3a745 X-VCS-Branch: master Date: Thu, 25 Mar 2021 02:08:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 73388118-80da-4e6b-8cee-5b7ad579e4b1 X-Archives-Hash: 460baf47b0efde2f6c26d5b55778ca19 commit: c79be6d69533e45fb077c952085eb2dd38b3a745 Author: Georgy Yakovlev gentoo org> AuthorDate: Thu Mar 25 01:44:54 2021 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Thu Mar 25 01:46:32 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c79be6d6 dev-java/openjdk: revbump 8, fix build with gcc10 _ZN14ArrayAllocatorImL10MemoryType7EE4freeEv: symbol not found Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Georgy Yakovlev gentoo.org> .../files/openjdk-8-insantiate-arrayallocator.patch | 16 ++++++++++++++++ ...njdk-8.282_p08.ebuild => openjdk-8.282_p08-r1.ebuild} | 2 ++ 2 files changed, 18 insertions(+) diff --git a/dev-java/openjdk/files/openjdk-8-insantiate-arrayallocator.patch b/dev-java/openjdk/files/openjdk-8-insantiate-arrayallocator.patch new file mode 100644 index 00000000000..ba5283f1577 --- /dev/null +++ b/dev-java/openjdk/files/openjdk-8-insantiate-arrayallocator.patch @@ -0,0 +1,16 @@ +Workarounds build error: +Error: dl failure on line 895 +Error relocating .../libjvm.so: _ZN14ArrayAllocatorImL10MemoryType7EE4freeEv: symbol not found + +Possibly due to g++ 10.x error on not properly instantiating the template. + +--- openjdk/hotspot/src/share/vm/utilities/bitMap.cpp.orig 2020-11-10 14:07:08.372045326 +0200 ++++ openjdk/hotspot/src/share/vm/utilities/bitMap.cpp 2020-11-10 14:08:07.911412813 +0200 +@@ -42,6 +42,7 @@ + # include "os_bsd.inline.hpp" + #endif + ++template class ArrayAllocator; + + BitMap::BitMap(bm_word_t* map, idx_t size_in_bits) : + _map(map), _size(size_in_bits), _map_allocator(false) diff --git a/dev-java/openjdk/openjdk-8.282_p08.ebuild b/dev-java/openjdk/openjdk-8.282_p08-r1.ebuild similarity index 99% rename from dev-java/openjdk/openjdk-8.282_p08.ebuild rename to dev-java/openjdk/openjdk-8.282_p08-r1.ebuild index 093a181abbf..88eb48ba9b1 100644 --- a/dev-java/openjdk/openjdk-8.282_p08.ebuild +++ b/dev-java/openjdk/openjdk-8.282_p08-r1.ebuild @@ -91,6 +91,8 @@ DEPEND=" PDEPEND="javafx? ( dev-java/openjfx:${SLOT} )" +PATCHES=( "${FILESDIR}/openjdk-8-insantiate-arrayallocator.patch" ) + # The space required to build varies wildly depending on USE flags, # ranging from 2GB to 16GB. This function is certainly not exact but # should be close enough to be useful.