On Sun, Jul 15, 2018 at 05:08:33PM +0300, opensuse.lietuviu.kalba wrote:
2018.07.15 15:03, opensuse.lietuviu.kalba rašė:
I noticed that gcc-5 became broken just after changing project="openSUSE:Leap:42.3" into project="openSUSE:Leap:42.3:Update" in OBS project Meta configuration.
While using <path project="openSUSE:Leap:42.3" repository="standard"/>:
[ 66s] -- The C compiler identification is GNU 5.3.1 [ 66s] -- The CXX compiler identification is GNU 5.3.1 [ 66s] -- Check for working C compiler: /usr/bin/gcc-5 [ 66s] -- Check for working C compiler: /usr/bin/gcc-5 -- works
While using <path project="openSUSE:Leap:42.3:Update" repository="standard"/>:
[ 66s] -- The C compiler identification is unknown [ 66s] -- The CXX compiler identification is unknown [ 66s] -- Check for working C compiler: /usr/bin/gcc-5 [ 66s] -- Check for working C compiler: /usr/bin/gcc-5 -- broken ... [ 67s] gcc-5: error: unrecognized command line option '-fstack-clash-protection'
Spec file contains:
BuildRequires: gcc5-c++ ... %build export CC=gcc-5 export CXX=g++-5 ...
In both builds I see cumulate gcc5-c++-5.3.1+r233831-10.3, thus problem seems not to be in this package itself, but maybe in some comfiguration? How to prevent this issue?
and the same problem while building with gcc6-c++, based on openSUSE:Leap:42.3:Update.
However there is no such problem while building with gcc7-c++, based on openSUSE:Leap:42.3:Update.
Can you switch to gcc7? Otherwise filter out -fstack-clash-protection from the optflags. This option was not backported to gcc5 and gcc6. Ciao, Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org