Bug 1522 - Update glibc (backward) compatibility of used versioned symbols
Summary: Update glibc (backward) compatibility of used versioned symbols
Status: RESOLVED FIXED
Alias: None
Product: General
Classification: JogAmp
Component: builds (show other bugs)
Version: 2.6.0
Hardware: All all
: P4 normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2025-07-21 14:10 CEST by Sven Gothel
Modified: 2025-07-21 14:12 CEST (History)
0 users

See Also:
Type: FEATURE
SCM Refs:
gluegen 2e49db6801b69fa45b2510fd424fca83dd998dec gluegen 69d575cb838a40366495fd1aef413d48028aacc1
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2025-07-21 14:10:10 CEST
As define in Bug 1512 comment 7, to reach GNU/Linux (backward) compatibility
we have to enforce certain versioned glibc symbol usage.

See https://jogamp.org/gluegen/doc/JogAmpPlatforms.html

No symbol version for:
- dladdr, dlclose, dlerror, dlopen and dlsym

Older symbol version for:
- memcpy
Comment 1 Sven Gothel 2025-07-21 14:12:07 CEST
commit 2e49db6801b69fa45b2510fd424fca83dd998dec

glibc-compat-symbols: Add GLIBC_COMPAT_SYMBOL for libdl (dladdr, dlclose, dlerror, dlopen and dlsym)
    
Build on Debian 12 hardlinked against GLIBC_2.34, e.g. `U dlsym@GLIBC_2.34`

+++

commit 69d575cb838a40366495fd1aef413d48028aacc1

glibc-compat-symbols: Add macro `GLIBC_NOVERSION_SYMBOL` for libdl (dladdr, dlclose, dlerror, dlopen and dlsym)
    
Enhance commit 2e49db6801b69fa45b2510fd424fca83dd998dec
- Add macro `GLIBC_NOVERSION_SYMBOL` for libdl (dladdr, dlclose, dlerror, dlopen and dlsym)
- `GLIBC_COMPAT_SYMBOL` shall set a no-version entry where no version was expected,
      hence act like `GLIBC_NOVERSION_SYMBOL`