** Also affects: openjdk-21 (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: openjdk-lts (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-lts in Ubuntu.
https://bugs.launchpad.net/bugs/2091226

Title:
  openjdk-23 fails to build in jammy armhf with dtrace enabled

Status in openjdk-21 package in Ubuntu:
  New
Status in openjdk-23 package in Ubuntu:
  New
Status in openjdk-lts package in Ubuntu:
  New

Bug description:
  The build failure[1]:

  Executing: [/usr/bin/arm-linux-gnueabihf-g++-12 -MMD -MF 
/<<PKGBUILDDIR>>/build/hotspot/variant-zero/libjvm/objs/codeCache.d.tmp 
-I/<<PKGBUILDDIR>>/build/hotspot/variant-zero/libjvm/objs/precompiled 
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS 
-D_GNU_SOURCE -D_REENTRANT -pipe -fno-rtti -fno-exceptions -fvisibility=hidden 
-fno-strict-aliasing -fno-omit-frame-pointer -fstack-protector -std=c++14 
-DLIBC=default -DLINUX -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wformat=2 
-Wpointer-arith -Wsign-compare -Wunused-function -Wundef -Wunused-value 
-Wreturn-type -Wtrampolines -Woverloaded-virtual -Wreorder -fPIC 
-fmacro-prefix-map=/<<PKGBUILDDIR>>/= -DVM_LITTLE_ENDIAN -fsigned-char 
-Wno-psabi -DJDK_ARCH_ABI_PROP_NAME='""' -DARM -fno-lifetime-dse 
-Wno-format-zero-length -Wtype-limits -Wuninitialized -Wdate-time 
-D_FORTIFY_SOURCE=2 -g -ffile-prefix-map=/<<PKGBUILDDIR>>=. -Wformat 
-fno-stack-protector -Wno-deprecated-declarations -DNDEBUG -DPRODUCT 
-DTARGET_ARCH_zero -DINCLUDE_SUFFIX_OS=_linux -DINCLUDE_SUFFIX_CPU=_zero 
-DINCLUDE_SUFFIX_COMPILER=_gcc -DTARGET_COMPILER_gcc -DARM32 
-DHOTSPOT_LIB_ARCH='"arm"' -DZERO -DZERO_LIBARCH='"arm"' -DDTRACE_ENABLED 
-DINCLUDE_JVMCI=0 -DINCLUDE_ZGC=0 -DINCLUDE_SHENANDOAHGC=0 -DINCLUDE_JFR=0 
-I/<<PKGBUILDDIR>>/src/hotspot/share -I/<<PKGBUILDDIR>>/src/hotspot/os/linux 
-I/<<PKGBUILDDIR>>/src/hotspot/os/posix -I/<<PKGBUILDDIR>>/src/hotspot/cpu/zero 
-I/<<PKGBUILDDIR>>/src/hotspot/os_cpu/linux_zero 
-I/<<PKGBUILDDIR>>/build/hotspot/variant-zero/gensrc 
-I/<<PKGBUILDDIR>>/src/hotspot/share/precompiled 
-I/<<PKGBUILDDIR>>/src/hotspot/share/include 
-I/<<PKGBUILDDIR>>/src/hotspot/os/posix/include 
-I/<<PKGBUILDDIR>>/build/support/modules_include/java.base 
-I/<<PKGBUILDDIR>>/build/support/modules_include/java.base/linux 
-I/<<PKGBUILDDIR>>/src/java.base/share/native/libjimage -Wdate-time 
-D_FORTIFY_SOURCE=2 -g -ffile-prefix-map=/<<PKGBUILDDIR>>=. -Wformat 
-fno-stack-protector -Wno-deprecated-declarations -Wdate-time 
-D_FORTIFY_SOURCE=2 
-DOVERRIDE_LIBPATH='"/usr/lib/arm-linux-gnueabihf/jni:/lib/arm-linux-gnueabihf:/usr/lib/arm-linux-gnueabihf:/usr/lib/jni:/lib:/usr/lib"'
 -I/<<PKGBUILDDIR>>/src/hotspot/share -I/<<PKGBUILDDIR>>/src/hotspot/os/linux 
-I/<<PKGBUILDDIR>>/src/hotspot/os/posix -I/<<PKGBUILDDIR>>/src/hotspot/cpu/zero 
-I/<<PKGBUILDDIR>>/src/hotspot/os_cpu/linux_zero 
-I/<<PKGBUILDDIR>>/build/hotspot/variant-zero/gensrc 
-I/<<PKGBUILDDIR>>/build/support/modules_include/java.base 
-I/<<PKGBUILDDIR>>/src/java.base/unix/native/include 
-I/<<PKGBUILDDIR>>/src/java.base/share/native/include -g -gdwarf-4 
-fdebug-prefix-map=/<<PKGBUILDDIR>>/= 
-fdebug-prefix-map=/usr/include/=/usr/include/ 
-fdebug-prefix-map=/usr/lib/gcc/arm-linux-gnueabihf/12/include/=/usr/local/gcc_include/
 -fdebug-prefix-map=/usr/include/c++/12/=/usr/local/gxx_include/ 
-fdebug-prefix-map=/<<PKGBUILDDIR>>/build/= -Wno-unused-parameter -Wno-unused 
-Wno-array-bounds -Wno-comment -Wno-delete-non-virtual-dtor -Wno-empty-body 
-Wno-implicit-fallthrough -Wno-int-in-bool-context -Wno-maybe-uninitialized 
-Wno-missing-field-initializers -Wno-shift-negative-value -Wno-unknown-pragmas 
-O3 -c -o /<<PKGBUILDDIR>>/build/hotspot/variant-zero/libjvm/objs/codeCache.o 
/<<PKGBUILDDIR>>/src/hotspot/share/code/codeCache.cpp 
-frandom-seed="codeCache.cpp"]
  Preprocessed source stored into /tmp/ccZ9I5Iu.out file, please attach this to 
your bugreport.
  === BEGIN GCC DUMP ===
  21177: // Target: arm-linux-gnueabihf
  21177: // Configured with: ../src/configure -v --with-pkgversion='Ubuntu 
12.3.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-12/README.Bugs 
--enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr 
--with-gcc-major-version-only --program-suffix=-12 
--program-prefix=arm-linux-gnueabihf- --enable-shared --enable-linker-build-id 
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix 
--libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug 
--enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new 
--enable-gnu-unique-object --disable-libitm --disable-libquadmath 
--disable-libquadmath-support --enable-plugin --enable-default-pie 
--with-system-zlib --enable-libphobos-checking=release 
--with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch 
--disable-sjlj-exceptions --with-arch=armv7-a+fp --with-float=hard 
--with-mode=thumb --disable-werror --enable-checking=release 
--build=arm-linux-gnueabihf --host=arm-linux-gnueabihf 
--target=arm-linux-gnueabihf
  21177: // Thread model: posix
  21177: // Supported LTO compression algorithms: zlib zstd
  21177: // gcc version 12.3.0 (Ubuntu 12.3.0-1ubuntu1~22.04) 
  21177: // 
  21177: // during RTL pass: mach
  21177: // 
/<<PKGBUILDDIR>>/src/hotspot/share/services/classLoadingService.cpp: In static 
member function ‘static void 
ClassLoadingService::notify_class_unloaded(InstanceKlass*)’:
  21177: // 
/<<PKGBUILDDIR>>/src/hotspot/share/services/classLoadingService.cpp:243:1: 
internal compiler error: in create_fix_barrier, at config/arm/arm.cc:18042
  21177: //   243 | }
  21177: //       | ^
  21177: // Please submit a full bug report, with preprocessed source (by using 
-freport-bug).
  21177: // See <file:///usr/share/doc/gcc-12/README.Bugs> for instructions.
  21177: 
  21177: // /usr/lib/gcc/arm-linux-gnueabihf/12/cc1plus -quiet -I 
/<<PKGBUILDDIR>>/build/hotspot/variant-zero/libjvm/objs/precompiled -I 
/<<PKGBUILDDIR>>/src/hotspot/share -I /<<PKGBUILDDIR>>/src/hotspot/os/linux -I 
/<<PKGBUILDDIR>>/src/hotspot/os/posix -I /<<PKGBUILDDIR>>/src/hotspot/cpu/zero 
-I /<<PKGBUILDDIR>>/src/hotspot/os_cpu/linux_zero -I 
/<<PKGBUILDDIR>>/build/hotspot/variant-zero/gensrc -I 
/<<PKGBUILDDIR>>/src/hotspot/share/precompiled -I 
/<<PKGBUILDDIR>>/src/hotspot/share/include -I 
/<<PKGBUILDDIR>>/src/hotspot/os/posix/include -I 
/<<PKGBUILDDIR>>/build/support/modules_include/java.base -I 
/<<PKGBUILDDIR>>/build/support/modules_include/java.base/linux -I 
/<<PKGBUILDDIR>>/src/java.base/share/native/libjimage -I 
/<<PKGBUILDDIR>>/src/hotspot/share -I /<<PKGBUILDDIR>>/src/hotspot/os/linux -I 
/<<PKGBUILDDIR>>/src/hotspot/os/posix -I /<<PKGBUILDDIR>>/src/hotspot/cpu/zero 
-I /<<PKGBUILDDIR>>/src/hotspot/os_cpu/linux_zero -I 
/<<PKGBUILDDIR>>/build/hotspot/variant-zero/gensrc -I 
/<<PKGBUILDDIR>>/build/support/modules_include/java.base -I 
/<<PKGBUILDDIR>>/src/java.base/unix/native/include -I 
/<<PKGBUILDDIR>>/src/java.base/share/native/include -imultilib . -imultiarch 
arm-linux-gnueabihf -MMD 
/<<PKGBUILDDIR>>/build/hotspot/variant-zero/libjvm/objs/classLoadingService.d 
-MF 
/<<PKGBUILDDIR>>/build/hotspot/variant-zero/libjvm/objs/classLoadingService.d.tmp
 -MQ 
/<<PKGBUILDDIR>>/build/hotspot/variant-zero/libjvm/objs/classLoadingService.o 
-D_GNU_SOURCE -D __STDC_FORMAT_MACROS -D __STDC_LIMIT_MACROS -D 
__STDC_CONSTANT_MACROS -D _GNU_SOURCE -D _REENTRANT -D LIBC=default -D LINUX -D 
_FILE_OFFSET_BITS=64 -D VM_LITTLE_ENDIAN -D JDK_ARCH_ABI_PROP_NAME="" -D ARM -D 
_FORTIFY_SOURCE=2 -D NDEBUG -D PRODUCT -D TARGET_ARCH_zero -D 
INCLUDE_SUFFIX_OS=_linux -D INCLUDE_SUFFIX_CPU=_zero -D 
INCLUDE_SUFFIX_COMPILER=_gcc -D TARGET_COMPILER_gcc -D ARM32 -D 
HOTSPOT_LIB_ARCH="arm" -D ZERO -D ZERO_LIBARCH="arm" -D DTRACE_ENABLED -D 
INCLUDE_JVMCI=0 -D INCLUDE_ZGC=0 -D INCLUDE_SHENANDOAHGC=0 -D INCLUDE_JFR=0 -D 
_FORTIFY_SOURCE=2 -D _FORTIFY_SOURCE=2 -D 
OVERRIDE_LIBPATH="/usr/lib/arm-linux-gnueabihf/jni:/lib/arm-linux-gnueabihf:/usr/lib/arm-linux-gnueabihf:/usr/lib/jni:/lib:/usr/lib"
 /<<PKGBUILDDIR>>/src/hotspot/share/services/classLoadingService.cpp -quiet 
-dumpdir /<<PKGBUILDDIR>>/build/hotspot/variant-zero/libjvm/objs/ -dumpbase 
classLoadingService.cpp -dumpbase-ext .cpp -mfloat-abi=hard -mtls-dialect=gnu 
-mthumb -mlibarch=armv7-a+fp -march=armv7-a+fp -g -g -g -gdwarf-4 -O3 -Wall 
-Wextra -Wformat=2 -Wpointer-arith -Wsign-compare -Wunused-function -Wundef 
-Wunused-value -Wreturn-type -Wtrampolines -Woverloaded-virtual -Wreorder 
-Wno-psabi -Wno-format-zero-length -Wtype-limits -Wuninitialized -Wformat=1 
-Wformat=1 -Wno-deprecated-declarations -Wdate-time -Wno-unused-parameter 
-Wno-unused -Wno-array-bounds -Wno-comment -Wno-delete-non-virtual-dtor 
-Wno-empty-body -Wimplicit-fallthrough=0 -Wno-int-in-bool-context 
-Wno-maybe-uninitialized -Wno-missing-field-initializers 
-Wno-shift-negative-value -Wno-unknown-pragmas -std=c++14 -fno-rtti 
-fno-exceptions -fvisibility=hidden -fno-strict-aliasing 
-fno-omit-frame-pointer -fPIC -fmacro-prefix-map=/<<PKGBUILDDIR>>/= 
-fsigned-char -fno-lifetime-dse -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fno-stack-protector 
-fdebug-prefix-map=/<<PKGBUILDDIR>>/= 
-fdebug-prefix-map=/usr/include/=/usr/include/ 
-fdebug-prefix-map=/usr/lib/gcc/arm-linux-gnueabihf/12/include/=/usr/local/gcc_include/
 -fdebug-prefix-map=/usr/include/c++/12/=/usr/local/gxx_include/ 
-fdebug-prefix-map=/<<PKGBUILDDIR>>/build/= 
-frandom-seed=classLoadingService.cpp -o - -frandom-seed=0 -fdump-noaddr
  21177: 
  21177: # 0 
"/<<PKGBUILDDIR>>/src/hotspot/share/services/classLoadingService.cpp"
  21177: # 1 "/<<PKGBUILDDIR>>/make/hotspot//"
  21177: # 0 "<built-in>"
  21177: # 0 "<command-line>"
  21177: # 1 "/usr/include/stdc-predef.h" 1 3 4
  21177: # 0 "<command-line>" 2
  21177: # 1 
"/<<PKGBUILDDIR>>/src/hotspot/share/services/classLoadingService.cpp"
  21177: # 25 
"/<<PKGBUILDDIR>>/src/hotspot/share/services/classLoadingService.cpp"
  21177: # 1 "/<<PKGBUILDDIR>>/src/hotspot/share/precompiled/precompiled.hpp" 1
  21177: # 34 "/<<PKGBUILDDIR>>/src/hotspo
  .....



  
  [1] 
https://launchpadlibrarian.net/762419461/buildlog_ubuntu-jammy-armhf.openjdk-23_23.0.1+11-1~22.04_BUILDING.txt.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-21/+bug/2091226/+subscriptions


_______________________________________________
Mailing list: https://launchpad.net/~openjdk
Post to     : openjdk@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openjdk
More help   : https://help.launchpad.net/ListHelp

Reply via email to