[exim] Re: Exim 4.97-RC1 released

Top Page
Delete this message
Reply to this message
Author: Ian Z via Exim-users
Date:  
To: exim-users
Subject: [exim] Re: Exim 4.97-RC1 released
On Thu, Sep 28, 2023 at 01:08:11AM +0100, Jeremy Harris via Exim-users wrote:
> On 28/09/2023 00:10, Ian Z via Exim-users wrote:
> > Third, there is still the question why that code in lmtp.c is getting
> > compiled at all (without MACRO_PREDEF) when lmtp is disabled.


> A reasonable question...


> On a very brief look, the ifdef guard resulting from the makefile
> definition TRANSPORT_LMTP only drops out the structure with the
> entry-points for tha lmtp transport, and does not bypass the
> compilation of the code. Possibly the linker would be clever enough
> to drop it, being unreferenced (and pigs might fly, too).


Thanks Jeremy! I checked with `nm` and on this platform, at least, the
lmtp code seems not to make it into the final executable. So the
linker does its job, and all is explained. The redundant compile is
still a bit suboptimal but I understand that we don't want to mess
with the build setup.

I would probably do the %Y thing differently ... but I'll cope.

--
Ian

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/