Skip to content

Compatibility fix for older gcc/libc versions#2803

Merged
iloveeclipse merged 1 commit into
eclipse-platform:masterfrom
iloveeclipse:comp_fix
Jul 7, 2026
Merged

Compatibility fix for older gcc/libc versions#2803
iloveeclipse merged 1 commit into
eclipse-platform:masterfrom
iloveeclipse:comp_fix

Conversation

@iloveeclipse

Copy link
Copy Markdown
Member

Commit e777932 provided native code and library compiled on RHEL 9.4 with gcc 11.5.0 and linking to glibc 2.33. However, on older Linuxes like RHEL 7.9 with older gcc 4.8.5 the compilation fails because of unnamed jclass parameters in new functions. Beside this, the new library can't be loaded because of only glibc 2.17 available.

Fixed code to be backwards compatible to old gcc and re-built the library on RHEL 7.9 to be compatible with older libc versions.

Commit e777932 provided native code and
library compiled on RHEL 9.4 with gcc 11.5.0 and linking to glibc 2.33.
However, on older Linuxes like RHEL 7.9 with older gcc 4.8.5 the
compilation fails because of unnamed `jclass` parameters in new
functions. Beside this, the new library can't be loaded because of only
glibc 2.17 available.

Fixed code to be backwards compatible to old gcc and re-built the
library on RHEL 7.9 to be compatible with older libc versions.
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Test Results

    54 files  ±0      54 suites  ±0   58m 26s ⏱️ -50s
 4 685 tests ±0   4 663 ✅ ±0   22 💤 ±0  0 ❌ ±0 
11 949 runs  ±0  11 796 ✅ ±0  153 💤 ±0  0 ❌ ±0 

Results for commit 35b604f. ± Comparison against base commit be726af.

@iloveeclipse iloveeclipse merged commit fe3597d into eclipse-platform:master Jul 7, 2026
18 checks passed
@iloveeclipse iloveeclipse deleted the comp_fix branch July 7, 2026 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant