[exim-dev] Build failure since commit 4e9ed49f8f12eb331b29b…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Martin D Kealey
Dátum:  
Címzett: exim-dev
Tárgy: [exim-dev] Build failure since commit 4e9ed49f8f12eb331b29bd5b6dc3693c520fddc2
it appears that the build consistently fails as of:
commit 4e9ed49f8f12eb331b29bd5b6dc3693c520fddc2
Author: Jeremy Harris <jgh146exb@???>
Date: 2022-08-31 15:37:40 +0100

    Fix $regex<n> use-after-free.  Bug 2915
with this link error:
cc -o exim
exim.o: In function `main':
/home/martin/git/exim/src/build-Linux-x86_64/exim.c:6090: undefined
reference to `regex_vars_clear'
smtp_in.o: In function `smtp_reset':
/home/martin/git/exim/src/build-Linux-x86_64/smtp_in.c:2160: undefined
reference to `regex_vars_clear'
collect2: error: ld returned 1 exit status
Makefile:616: recipe for target 'exim' failed
make[1]: *** [exim] Error 1
make[1]: Leaving directory '/home/martin/git/exim/src/build-Linux-x86_64'
Makefile:36: recipe for target 'all' failed
make: *** [all] Error 2


This appears to be because src/regex.c does not define the regex_vars_clear
symbol (or indeed any others) when compiled without defining
WITH_CONTENT_SCAN .

-Martin