Just did some testing on a redhat vm I had on my other computer. On a fresh tba with updated configure.in and configure script it seems to build with gcc14 without all the other messing about

. Only thing is if you have edited your makefile manually will probably recreate it from the Makefile.in. It doesn't seem to have the PIE issue, maybe due to the configure file taking care of that. Below is more or less what I did (might have missed something in the copy)
Code:
sudo yum install git
-- install autotools
sudo yum install autoconf automake
sudo yum install gcc
git clone https://github.com/tbamud/tbamud
cd cnf
--updates the configure.in
autoupdate
-- updates the configure script
autoconf
--move the configure script down a directory, replacing the old one
mv configure ..
cd ..
--configure will recreate your makefile using Makefile.in (so beware)
./configure
cd src
make
--don't remember if gnu debugger was already there
sudo yum install gdb
--
cd ..
gdb bin/circle lib/core
run
...
Using host libthread_db library "/lib64/libthread_db.so.1".
No etc/config file, using defaults: No such file or directory
Using file descriptor for logging.
Feb 27 14:42:45 2025 :: Loading configuration.
Feb 27 14:42:45 2025 :: tbaMUD 2025
Feb 27 14:42:45 2025 :: Using lib as data directory.
Feb 27 14:42:45 2025 :: Running game on port 4000.
Feb 27 14:42:45 2025 :: Finding player limit.
...
Feb 27 14:42:45 2025 :: Entering game loop.
Feb 27 14:42:45 2025 :: No connections. Going to sleep.
...
ironfist@localhost:~/tbamud$ hostnamectl
Operating System: Fedora Linux 40 (Server Edition)
CPE OS Name: cpe:/o:fedoraproject:fedora:40
Kernel: Linux 6.8.5-301.fc40.x86_64
Architecture: x86-64
Hardware Vendor: QEMU
ironfist@localhost:~/tbamud$ gcc --version
gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)
Copyright (C) 2024 Free Software Foundation, Inc.