Some modules .so are stripped while others are not

Alan DeKok alan.dekok at inkbridge.io
Mon May 18 14:33:33 UTC 2026


On May 18, 2026, at 9:58 AM, g4-lisz at tonarchiv.ch wrote:
> I have to admit that the build is based on an old release tarball (3.0.17). This is what is still running in production here, that's why I'm still extending our own modules based on this source.

  Hmm, OK.

> I compiled it on RHEL 8, RHEL 9 and also on Ubuntu 22.04 - it's the same on all these platforms: Some modules are stripped, other's aren't.

  So... is it random?  Or are some modules always stripped, and others always not stripped?

  It's useful to describe what's actually going on in detail.  Saying "stuff doesn't work" doesn't let me know what action to tale.

> I'm using 
> ./configure --prefix=/opt/rad
> 
> No other special flags...
> 
> I also compared the all.mk files in the modules subdirs, but can't find any special there that would explain the difference. It's really quit a mistery....
> 
> This is the CFLAGS form root Make.inc          = $(INCLUDE) -fno-strict-aliasing -Wno-date-time -g3 -Wall -std=c99 -D_GNU_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5  -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef -Wformat-y2k -Wno-format-extra-args -Wno-format-zero-length -Wno-cast-align -Wformat-nonliteral -Wformat-security -Wformat=2 -DWITH_VERIFY_PTR=1

  You can run `VERBOSE=1 make install`, and see exactly what commands it's running to build and install things.  Then, look at those commands to see which (if any) modules are being stripped.

  All of the modules are built with the same CFLAGS, LDFLAGS, etc.  All of the modules are installed with the same scripts.  So there shouldn't be any differences between them.

  Alan DeKok.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20260518/98ff9266/attachment.sig>


More information about the Freeradius-Users mailing list