Re: Some modules .so are stripped while others are not

Alan DeKok via Freeradius-Users <[email protected]> Mon, 18 May 2026 10:33:33 -0400
Newsgroups gmane.comp.freeradius.user
Message-ID <[email protected]>
--===============1499628132056856777==
Content-Type: multipart/signed;
	boundary="Apple-Mail=_B524BB0F-C94D-4E04-9056-2315B60B19D8";
	protocol="application/pgp-signature";
	micalg=pgp-sha256


--Apple-Mail=_B524BB0F-C94D-4E04-9056-2315B60B19D8
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

On May 18, 2026, at 9:58=E2=80=AFAM, [email protected] 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=20
> ./configure --prefix=3D/opt/rad
>=20
> No other special flags...
>=20
> 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....
>=20
> This is the CFLAGS form root Make.inc          =3D $(INCLUDE) =
-fno-strict-aliasing -Wno-date-time -g3 -Wall -std=3Dc99 -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=3D2 -DWITH_VERIFY_PTR=3D1

  You can run `VERBOSE=3D1 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.


--Apple-Mail=_B524BB0F-C94D-4E04-9056-2315B60B19D8
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEIUl02elqcIsf1zM0v3SJ0h7dTTMFAmoLIz0ACgkQv3SJ0h7d
TTMflg/+OK5k5OhGo9PjbgZAt6RlGz9EOox4N1h+Uj1qq+Idx/p0HRIWWbLTjpRc
To2By8qf66rBi4Emu8po/mrWFcnZjmGH54LQFk+WdqhcQHY29Mxy6cEzN9aLV4lY
oKrya5/nrDcMI1pUq0o+IIrjJOVP2WqVTPYsDUS9nHy5j1ylb6XNOGlJq7O/XJyC
hvFUaSugROK2/l3skoKOGiNgI5+cOzSFYgiOTzOPxh2gVs0WI0D3gjO0YQkWhG77
ttlVYI978z2u9swL4y2TozMxTwgeMlavhY2H2PQFB12Qr5tDaTI1auuyLDIb6ieM
U8Q61MMzHUjCfGNIVVYAZ83T6ptLLT7BBmnUGe040QJedU4ydi4g0qS0OMZQv69W
HfjU6LMY4XQRwpj6MAHZ6hH0GVONRyUd0+oEQ61zoVTqs8ZBezN4/L3GNw4qtq30
4qsue7gbMRL1+uXFPk7HcfBT1pF78V+61dWn2Tz6rWqM5Vt9tZTktFSq6A8+9zzy
oZlVLKB6KrCrR/Bjy2zo1Ks6tPz9xUP+LTddMqwuh6ObBaUA/9zvGJpP0G/8M7e+
vYyV45mzBy9yfthc63Kp9ckphWG9SbyvB1Xb8tnNDu1wsm5F04qme593yccsPQ98
sbhFFCqYGY5q1qboZ1CQkwQxXJtsQS5m6PGJQgdUBKPtbZKTcy8=
=WWaE
-----END PGP SIGNATURE-----

--Apple-Mail=_B524BB0F-C94D-4E04-9056-2315B60B19D8--

--===============1499628132056856777==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

--===============1499628132056856777==--