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  <20152016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Problems building EPICS base3.14.12.4 for i386 and armhf
From: Jani Hakala <[email protected]>
To: EPICS Tech Talk <[email protected]>
Cc: Florian Feldbauer <[email protected]>
Date: Wed, 07 Jan 2015 18:18:22 +0200
Florian Feldbauer <[email protected]> writes:

> The packages should be build for the architectures amd64, i386 and armhf.
> For amd64 everything works smoothly. But for the other two I got lots
> of warnings
> when compiling Cap5.c from base3.14.12.4 (see log below)
> Additionally the above compiler flags include "-Werror=format-security"
> which causes the compilation of Cap5.c to fail with an error.
>
> Is there a way to fix this problem without removing the compiler flags?
>
You could try modifying file Cap5.xs by replacing instances of

    croak(get_error_msg(status));

with

    croak("%s", get_error_msg(status));


This kind of change is in essence suggested in
    https://fedoraproject.org/wiki/Format-Security-FAQ 


Jani Hakala

References:
Problems building EPICS base3.14.12.4 for i386 and armhf Florian Feldbauer

Navigate by Date:
Prev: Re: Can't start CSS RDB archiver zunbeltz
Next: Re: Problems building EPICS base3.14.12.4 for i386 and armhf Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Problems building EPICS base3.14.12.4 for i386 and armhf Florian Feldbauer
Next: Re: Problems building EPICS base3.14.12.4 for i386 and armhf Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·