Skip to content

Commit

Permalink
Tools.gmk: Exclude systemtap-sdt-devel on s390x & ppc64*
Browse files Browse the repository at this point in the history
There is no DTrace support on s390x (JDK-8305174) and ppc64
(JDK-8304867) so we don't need the RPMs. They also cause issues with
static linkage of libstdc++.a on s390x. It fails with 'error:
relocation refers to local symbol "" [9], which is defined in a
discarded section'.

Resolves: OPENJDK-3070
  • Loading branch information
gnu-andrew committed Jan 17, 2025
1 parent 5958274 commit 2617c05
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion make/devkit/Tools.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,13 @@ RPM_LIST := \
zlib zlib-devel \
libffi libffi-devel \
fontconfig fontconfig-devel \
systemtap-sdt-devel \
#

# Only include SystemTap on supported architectures
ifeq ($(filter ppc64 ppc64le s390x, $(ARCH)), )
RPM_LIST += systemtap-sdt-devel
endif

##########################################################################################
# Define common directories and files

Expand Down

0 comments on commit 2617c05

Please sign in to comment.