Exim fails to build

AlexanderNL

New member
Joined
Feb 17, 2025
Messages
3
Hello, I am currently trying to
Code:
da build exim
, but somehow it gets stuck while processing the script.

I have currently used the examples that are elsewhere on the forum, but even with that I can't get any further. Anyone who has a solution.

I am currently still running on Centos 8 stream, but am now updating everything to upgrade centos.

#Linux Version
cat /etc/os-release
NAME="dragut"
VERSION=8 dracut-049-228.git20230802.el8"
ID=dracut
VERSION_ID=049-228.git20230802.el8
PRETTY_NAME="CentOS Stream dracut-049-228.git20230802.el8 (Initramfs)"
ANSI_COLOR="0;31"

#Exim Version
[root@server custombuild]# exim --version
Exim version 4.98 #2 built 01-Feb-2025 18:32:19
Copyright (c) University of Cambridge, 1995 - 2018
(c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007 - 2024
Hints DB:
Berkeley DB: Berkeley DB 5.3.28: (September 9, 2013)
Support for: Content_Scanning crypteq iconv() IPv6 Perl move_frozen_messages OpenSSL TLS_resume DANE DKIM DNSSEC ESMTP_Limits ESMTP_Wellknown Event OCSP PIPECONNECT PRDR Queue_Ramp SPF SRS TCP_Fast_Open
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmjz dbmnz dnsdb
Authenticators: cram_md5 dovecot plaintext spa
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Malware: f-protd f-prot6d drweb fsecure sophie clamd avast sock cmdline
Fixed never_users: 0
Configure owner: 0:0
Size of off_t: 8
2025-02-17 18:48:54 cwd=/usr/local/directadmin/custombuild 2 args: exim --version
Configuration file is /etc/exim.conf

#Start of the problem in Exim

Code:
cc -o exim
/usr/bin/ld: acl.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: base64.o: relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: child.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: crypt16.o: relocation R_X86_64_32 against `.bss' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: daemon.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: dbfn.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: debug.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: deliver.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: directory.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC

The rest of Exim is in pastebin: https://pastebin.com/T66nA1qv

Because I am now stuck here, I no longer know any solutions myself
 
When I use da build list_removals, i have no removals:


Code:
[root@server ~]# da build list_removals

If you want to remove all the suggested programs above, run: da build remove_items
 
There have security issues patch release in 21/Feb , I suggest create support ticket to solves the compiler issued before this release.

I'm sure information about this still not public yet in the days come, but the hacker will just read the code change in git and find out how the security flaws.
 
Should a separate ticket be created for this or will they come out with this automatically in the next update? I don't even know what the problem is here.
 
Back
Top