There is one small problem in the build system (probably in all 3.15
versions) and it concerns dependency generation when a generated header
file is included. This can cause error messages from gcc when using
parallel make, such as
> ../builtin.c:11:17: fatal error: snl.h: No such file or directory
> #include "snl.h"
>
> compilation terminated.
The solution is to add -MG to the compiler flags when generating
dependencies (see the attached patch). According to the gcc man page,
"-MG assumes missing header files are generated files and adds them to
the dependency list without raising an error."
Cheers
Ben
On 10/28/2015 09:36 AM, Ralph Lange wrote:
> Dear all,
>
> The first release-candidate of the upcoming 3.15.3 version of Base can
> now be downloaded from the usual places:
> http://www.aps.anl.gov/epics/base/R3-15/3.php
> https://launchpad.net/epics-base/3.15/3.15.3
>
> If you have time to help, please try building and using this release
> candidate, then report any problems you had with it as soon as possible
> on the Launchpad bug tracker or on core-talk.
> This help is especially valuable if you use less common target
> architectures or if you are maintaining important Base modules.
>
> *If there are no objections, the final 3.15.3 release will be bundled in
> about a week.**
> *
> 3.15.3 features mainly bugfixes taken from the 3.14 series, some
> cleanup, configurable NTP synchronization on vxWorks, and a way to
> assemble configuration files from numbered snippets.
> Please refer to the release notes (in the documentation folder or on the
> APS web page) for more details.
>
> Thanks a lot to everyone who has contributed to this version.
>
> Cheers,
> ~Ralph
>
>
--
"Make it so they have to reboot after every typo." ― Scott Adams
diff -rN -u old-base-3.15.3-rc1/configure/CONFIG.gnuCommon new-base-3.15.3-rc1/configure/CONFIG.gnuCommon
--- old-base-3.15.3-rc1/configure/CONFIG.gnuCommon 2015-11-03 13:26:53.108398367 +0100
+++ new-base-3.15.3-rc1/configure/CONFIG.gnuCommon 2015-11-03 13:26:53.108398367 +0100
@@ -57,5 +57,5 @@
# Use compiler flags to generate header dependancies files
HDEPENDS_METHOD = COMP
-HDEPENDS_COMPFLAGS = -MM -MF $@
+HDEPENDS_COMPFLAGS = -MM -MG -MF $@
Attachment:
signature.asc
Description: OpenPGP digital signature
- Replies:
- Re: EPICS Base R3.15.3-rc1 available Benjamin Franksen
- Re: EPICS Base R3.15.3-rc1 available Andrew Johnson
- References:
- EPICS Base R3.15.3-rc1 available Ralph Lange
- Navigate by Date:
- Prev:
EPICS Base R3.15.3-rc1 available Ralph Lange
- Next:
Re: EPICS Base R3.15.3-rc1 available Benjamin Franksen
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
<2015>
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
EPICS Base R3.15.3-rc1 available Ralph Lange
- Next:
Re: EPICS Base R3.15.3-rc1 available Benjamin Franksen
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
<2015>
2016
2017
2018
2019
2020
2021
2022
2023
2024
|