EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026>  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026> 
<== Date ==> <== Thread ==>

Subject: Re: EPICS base-3.15.9 fails to build with GCC-15
From: Michael Davidsaver via Tech-talk <tech-talk at aps.anl.gov>
To: "Dmitry Yu. Bolkhovityanov" <D.Yu.Bolkhovityanov at inp.nsk.su>
Cc: tech-talk at aps.anl.gov
Date: Tue, 29 Sep 2026 14:37:56 -0700
On 9/22/26 1:38 AM, Dmitry Yu. Bolkhovityanov via Tech-talk wrote:
Hi!

GCC-14 becomes mainstream (e.g. Debian-13), and familiar base-3.15.6 fails to build with it.  Fotrunately, 3.15.9 was built successfully, but I wanted to check it for "future-proofness" and tried building with GCC-15 and GCC-16.  It had failed with both.
...

GCC 14+ have been aggressive in trying to discourage use of error-prone language constructs, and the older standards which permitted them.  Some of the compile errors you mention should be avoidable by building with "make CMD_CFLAGS=-std=c89" (or C11 as Remi mentions).  I think not a long term solution, but with this older code maybe long enough?


The 3.15.9 is currently the latest release of EPICS3, which is still widely used.  And there are chances it will become unbuildable on modern systems in a year or two. 

This has already happened to the 3.14 branch, and the 3.13 branch before that, and the 3.12 branch...  The pattern is clear.  Code which is not being maintained will become unbuildable in newer environments.  To my mind, those with an interest in running older code on newer systems need to step up and help with this work.


Maybe the time for base-3.15.10 had come? 

As I write this, the most recent commit on the 3.15 branch dates from Dec. 2025.  About 10 months ago.  At this point, the prerequisite for any work will be to update the CI build configuration (Github Actions and Appveyor).  Mostly this will mean applying changes equivalent to those made to the 7.0 branch.  Then finding and "git-cherry-pick"ing the fixes which have been made to the 7.0 branch.  All of which I think makes this an ideal task for a new contributor (hint again).



Replies:
Re: EPICS base-3.15.9 fails to build with GCC-15 Joel Sherrill via Tech-talk
References:
EPICS base-3.15.9 fails to build with GCC-15 Dmitry Yu. Bolkhovityanov via Tech-talk

Navigate by Date:
Prev: Re: Support for 64 bit integer Normative Types? Michael Davidsaver via Tech-talk
Next: Re: IOC assert by thread CAS-client Michael Davidsaver via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026> 
Navigate by Thread:
Prev: Re: EPICS base-3.15.9 fails to build with GCC-15 NICOLE Rémi via Tech-talk
Next: Re: EPICS base-3.15.9 fails to build with GCC-15 Joel Sherrill via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026> 
ANJ, 29 Sep 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·