8u412-ga build error on loong64

Thorsten Glaser t.glaser at qvest-digital.com
Fri Apr 26 15:01:43 UTC 2024


/<<PKGBUILDDIR>>/src/hotspot/src/os/linux/vm/os_linux.cpp: In static member function 'static void* os::dll_load(c
onst char*, char*, int)':
/<<PKGBUILDDIR>>/src/hotspot/src/os/linux/vm/os_linux.cpp:2041:9: error: 'running_arch_code' was not declared in
this scope; did you mean 'running_arch_index'?
 2041 |     if (running_arch_code == arch_array[i].code) {
      |         ^~~~~~~~~~~~~~~~~
      |         running_arch_index

This is probably from…

   #elif  (defined LOONGARCH)
     static  Elf32_Half running_arch_code=EM_LOONGARCH;

… not triggering. An earlier version of that patch had…

+  #elif  (defined LOONGARCH64)
+    static  Elf32_Half running_arch_code=EM_LOONGARCH;

… there, notice the difference in the architecture definition,
which (looking at other places) seems to be the correct one.

bye,
//mirabilos
-- 
Infrastrukturexperte • Qvest Digital AG
Am Dickobskreuz 10, D-53121 Bonn • https://www.qvest-digital.com/
Telephon +49 228 54881-393 • Fax: +49 228 54881-235
HRB AG Bonn 18196 • USt-ID (VAT): DE274355441
Vorstand: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg
Vorsitzender Aufsichtsrat: Peter Nöthen


More information about the jdk8u-dev mailing list