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  <20192020  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  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: modules/ca/src/perl cc1: error: ‘-fcf-protection=full’ on first build of base
From: Peter Milne via Tech-talk <[email protected]>
To: Matt Newville <[email protected]>
Cc: Tech-talk <[email protected]>
Date: Thu, 3 Jan 2019 16:49:45 +0000
Hello Matt

Your gcc 8.2.1 was newer that the one here (8.0.1).

After updating it's all good, no Makefile hack required.

Thanks!

Cheers

Peter

/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE           -D_X86_64_  -DUNIX  -Dlinux     -O3 -g   -Wall   -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64   -mtune=generic      -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I/home/pgm/PROJECTS/EPICS7/epics-base/include/compiler/gcc -I/home/pgm/PROJECTS/EPICS7/epics-base/include/os/Linux -I/home/pgm/PROJECTS/EPICS7/epics-base/include -I/home/pgm/PROJECTS/EPICS7/epics-base/include/compiler/gcc -I/home/pgm/PROJECTS/EPICS7/epics-base/include/os/Linux -I/home/pgm/PROJECTS/EPICS7/epics-base/include   -I/usr/lib64/perl5/CORE     -c Cap5.c





On 03/01/2019 16:34, Matt Newville wrote:
On Thu, Jan 3, 2019 at 3:35 AM Peter Milne via Tech-talk <
[email protected]> wrote:

Hello Tech-talk

Clean build fails first try on Fedora 28
Same result on 3.16

It's easily fixed, but is no one else using Fedora? :-(


Base 3.16.2 builds without incident or any on Fedora 28.  I have

~>cat  /etc/redhat-release
Fedora release 28 (Twenty Eight)

~>gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/8/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap
--enable-languages=c,c++,fortran,objc,obj-c++,ada,go,lto --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=
http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix
--enable-checking=release --enable-multilib --with-system-zlib
--enable-__cxa_atexit --disable-libunwind-exceptions
--enable-gnu-unique-object --enable-linker-build-id
--with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin
--enable-initfini-array --with-isl --enable-libmpx
--enable-offload-targets=nvptx-none --without-cuda-driver
--enable-gnu-indirect-function --enable-cet --with-tune=generic
--with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 8.2.1 20181105 (Red Hat 8.2.1-5) (GCC)

~> cat /proc/version
Linux version 4.19.5-200.fc28.x86_64 (
[email protected]) (gcc version 8.2.1 20181105
(Red Hat 8.2.1-5) (GCC)) #1 SMP Tue Nov 27 20:19:26 UTC 2018

--Matt



--
Peter Milne
Director of Sales
www.d-tacq.com

References:
modules/ca/src/perl cc1: error: ‘-fcf-protection=full’ on first build of base Peter Milne via Tech-talk
Re: modules/ca/src/perl cc1: error: ‘-fcf-protection=full’ on first build of base Matt Newville via Tech-talk

Navigate by Date:
Prev: Re: modules/ca/src/perl cc1: error: ‘-fcf-protection=full’ on first build of base Johnson, Andrew N. via Tech-talk
Next: Re: modules/ca/src/perl cc1: error: ‘-fcf-protection=full’ on first build of base Peter Milne 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  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: modules/ca/src/perl cc1: error: ‘-fcf-protection=full’ on first build of base Matt Newville via Tech-talk
Next: Re: modules/ca/src/perl cc1: error: ‘-fcf-protection=full’ on first build of base Johnson, Andrew N. 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  <20192020  2021  2022  2023  2024 
ANJ, 03 Jan 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·