diff options
author | 2021-03-24 18:44:54 -0700 | |
---|---|---|
committer | 2021-03-24 18:46:32 -0700 | |
commit | c79be6d69533e45fb077c952085eb2dd38b3a745 (patch) | |
tree | fbf32a9fa3db6480083ef493c3e3537079631971 /dev-java/openjdk/files | |
parent | dev-util/bpftrace-0.11.4-r1: revbump RESTRICT=strip (bug #754648) (diff) | |
download | gentoo-c79be6d69533e45fb077c952085eb2dd38b3a745.tar.gz gentoo-c79be6d69533e45fb077c952085eb2dd38b3a745.tar.bz2 gentoo-c79be6d69533e45fb077c952085eb2dd38b3a745.zip |
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 <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-java/openjdk/files')
-rw-r--r-- | dev-java/openjdk/files/openjdk-8-insantiate-arrayallocator.patch | 16 |
1 files changed, 16 insertions, 0 deletions
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 000000000000..ba5283f15771 --- /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::bm_word_t, mtInternal>; + + BitMap::BitMap(bm_word_t* map, idx_t size_in_bits) : + _map(map), _size(size_in_bits), _map_allocator(false) |