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 | 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 |
<== 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