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

Alan DeKok via Freeradius-Users <[email protected]> Mon, 18 May 2026 09:00:14 -0400
Newsgroups gmane.comp.freeradius.user
Message-ID <[email protected]>
--===============4991329905988965052==
Content-Type: multipart/signed;
	boundary="Apple-Mail=_4C734E2D-3F83-4A74-9E38-8B1F9C7CC05F";
	protocol="application/pgp-signature";
	micalg=pgp-sha256


--Apple-Mail=_4C734E2D-3F83-4A74-9E38-8B1F9C7CC05F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

On May 17, 2026, at 11:20=E2=80=AFPM, [email protected] wrote:
> I wonder why some modules are stripped of their text symbols, others =
are not.

  What OS?  Where did you get the packages from?

> For example=20
>=20
>   >nm -D /opt/rad/lib/rlm_rest.so | grep -i " T "

  /opt/rad is not a normal installation location.

> doesn't show anything, even when using ./configure --enable-developer
>=20
> How is this configured? I couldn't find the "magic"...

  The Makefile, and Make.inc control how the server is build.  All of =
the CFLAGS and LDFLAGS are defined there.

  If '-g' is in the CFLAGS, then the binaries are not stripped.

  Nothing in the default build strips the binaries of debugging symbols.

  Alan DeKok.


--Apple-Mail=_4C734E2D-3F83-4A74-9E38-8B1F9C7CC05F
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-----

iQIzBAEBCAAdFiEEIUl02elqcIsf1zM0v3SJ0h7dTTMFAmoLDV4ACgkQv3SJ0h7d
TTMKKxAAhVLMpypU4BJLk3K0h3gITnDfNVZ58s8PeytrKX0D0UXKGeuEMNd/OKzH
zHE1hkSMksCUmmrvSXoszzDp95jhGSyvTQJmRRcPI0qWJkMNYS0QLuFvJAQuGnZ0
kKX2JHnrU/lfr5RMCH21d1CWzpWe/dHEKSDODWrENcL2xNsbnT178xD6hgM9Ynte
SCYyxU9bm/IYj89XOSJ/vWjZk/4dD41kA1KSI2EJbkMum90cWPoUjtjp0iwX1lIz
jEMnBBdJud8OJv11OYlXVnkxC6PrUffQjuximXexshGJC58B1laeAwUF0alRP6h1
ajAJjQAOCJ7KGzygk0DgSIaUyJw5mX/pGTea1Y+q151SU+tj9enkp0DyOBHo7aZv
+K/Rt1UO3qOQJTrQDT3m6DsjWru+sAVPOH6QuCz8nVsgWGiELmObmEmAJtAacDc2
y/MtZl2iwRBUc0HWjbg78C/IFS4/aM5pX8fqPcKiJR7MdDMlVrzwIl8oXgPMCmrO
m9sevKEht1RxLjsUvxTc9nzeI1gCX1B/dQqagPQNYn2qS4kZcHBgTPU+K+7T+v0C
Y94lDxdi4Jgn+W/gSL2XlXoWblu0JoK7SGKpSZVZwNRg1TyqVgwhS3Dtjl5I0j6v
KCtwpmg2Za0O/0Af01WPlfsFumDF+qgcoXskn/o560YCi4ewnt0=
=wlEG
-----END PGP SIGNATURE-----

--Apple-Mail=_4C734E2D-3F83-4A74-9E38-8B1F9C7CC05F--

--===============4991329905988965052==
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

--===============4991329905988965052==--