Revert "Remove x86_64 debuginfo workaround which should no longer be needed"

This reverts commit c79d060a3c.

Related: RHEL-74404
This commit is contained in:
Andrew Hughes 2025-01-19 13:05:33 +00:00
parent 0f47d433d0
commit a6330a35c6

View File

@ -2121,10 +2121,12 @@ if ! nm ${alt_java_binary} | grep prctl ; then true ; else false; fi
%if %{include_staticlibs}
# Check debug symbols in static libraries (smoke test)
# Temporary workaround for debuginfo failure on x86_64 with devkit build
%ifnarch x86_64
export STATIC_LIBS_HOME=${JAVA_HOME}/lib/static/linux-%{archinstall}/glibc
readelf --debug-dump $STATIC_LIBS_HOME/libnet.a | grep Inet4AddressImpl.c
readelf --debug-dump $STATIC_LIBS_HOME/libnet.a | grep Inet6AddressImpl.c
%endif
%endif
so_suffix="so"
# Check debug symbols are present and can identify code
@ -2563,7 +2565,6 @@ require "copy_jdk_configs.lua"
- Update release notes to 21.0.6+7
- Sync the copy of the portable & devkit specfiles with the latest update
- Include the latest devkit patches
- Remove x86_64 debuginfo workaround which should no longer be needed
- Update README.md to list an easier way of disabling the devkit
- ** This tarball is embargoed until 2025-01-21 @ 1pm PT. **
- Resolves: RHEL-73549