Build broken on ARM32 since "8242088: Replace mutually exclusive lists with concurrent alternatives"

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Fri Jun 5 23:56:04 UTC 2020


On 2020-06-05 17:21, Marc Hoffmann wrote:
> Dear JDK Build Team,
>
> it looks after "8242088: Replace mutually exclusive lists with concurrent alternatives” (http://hg.openjdk.java.net/jdk/jdk/rev/e51cdea8457e <http://hg.openjdk.java.net/jdk/jdk/rev/e51cdea8457e>) the build on arm32 is broken. The compiler error is:
>
> /workspace/build/linux-arm-server-release/hotspot/variant-server/libjvm/objs/jfrStorage.o: In function `JfrConcurrentLinkedListHost<JfrConcurrentQueue<JfrValueNode<JfrBuffer*>, JfrCHeapObj>, HeadNode, JfrCHeapObj>::remove(JfrValueNode<JfrBuffer*>*, JfrValueNode<JfrBuffer*> const*, JfrValueNode<JfrBuffer*>*, bool) [clone .constprop.212]':
> jfrStorage.cpp:(.text+0x262): undefined reference to `unsigned long long Atomic::PlatformAdd<8u>::add_and_fetch<unsigned long long, unsigned long long>(unsigned long long volatile*, unsigned long long, atomic_memory_order) const'
> /workspace/build/linux-arm-server-release/hotspot/variant-server/libjvm/objs/jfrStorage.o: In function `JfrConcurrentLinkedListHost<JfrConcurrentQueue<JfrBuffer, JfrCHeapObj>, HeadNode, JfrCHeapObj>::remove(JfrBuffer*, JfrBuffer const*, JfrBuffer*, bool)':
> jfrStorage.cpp:(.text._ZN27JfrConcurrentLinkedListHostI18JfrConcurrentQueueI9JfrBuffer11JfrCHeapObjE8HeadNodeS2_E6removeEPS1_PKS1_S6_b[_ZN27JfrConcurrentLinkedListHostI18JfrConcurrentQueueI9JfrBuffer11JfrCHeapObjE8HeadNodeS2_E6removeEPS1_PKS1_S6_b]+0x2a4): undefined reference to `unsigned long long Atomic::PlatformAdd<8u>::add_and_fetch<unsigned long long, unsigned long long>(unsigned long long volatile*, unsigned long long, atomic_memory_order) const'
> collect2: error: ld returned 1 exit status
> lib/CompileJvm.gmk:149: recipe for target '/workspace/build/linux-arm-server-release/support/modules_libs/java.base/server/libjvm.so' failed
> make[3]: *** [/workspace/build/linux-arm-server-release/support/modules_libs/java.base/server/libjvm.so] Error 1
> make/Main.gmk:259: recipe for target 'hotspot-server-libs' failed
> make[2]: *** [hotspot-server-libs] Error 2
>
> Sorry for raising the issue on this list, but as an external person I is hard to identify the correct contacts.
This is an issue not with the build system, but with the source code. 
Take this on hotspot-jfr-dev. (cc:ed).

/Magnus
>
> Best regards,
> -marc




More information about the build-dev mailing list