Skip to content

Commit cafb0c8

Browse files
committed
Enable ifunc on ARM/AArch64/PPC/PPC64 only on GCC 5.0+
Closes #17264
1 parent 9a66205 commit cafb0c8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/threading.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,7 @@ jl_get_ptls_states_func jl_get_ptls_states_getter(void)
148148
#if defined(__GLIBC__) && (defined(_CPU_X86_64_) || defined(_CPU_X86_) || \
149149
((defined(_CPU_AARCH64_) || defined(_CPU_ARM_) || \
150150
defined(_CPU_PPC64_) || defined(_CPU_PPC_)) && \
151-
(__GNUC__ >= 5 || __GNUC_MINOR__ >= 9)))
152-
// Skip the `__GNUC__ >= 4` check since we require GCC 4.7+
151+
__GNUC__ >= 5))
153152
// Only enable this on architectures that are tested.
154153
// For example, GCC doesn't seem to support the `ifunc` attribute on power yet.
155154
# if __GLIBC_PREREQ(2, 12)

0 commit comments

Comments
 (0)