[Dune-devel] Building dune-common with gcc-4.8 fails

Carsten Gräser graeser at mi.fu-berlin.de
Wed Jul 1 14:53:22 CEST 2015


Dear all,
when testing the release I noticed that building dune-common
with gcc-4.8 (and below) on ubuntu 15.04, 64bit, currently
fails with the following error:

  g++-4.8: error: unrecognized command line option ‘-fstack-protector-strong’
  doc/comm/CMakeFiles/indexset.dir/build.make:54: recipe for target 'doc/comm/CMakeFiles/indexset.dir/indexset.cc.o' failed
  make[2]: *** [doc/comm/CMakeFiles/indexset.dir/indexset.cc.o] Error 1

I don't have any idea where this flag is added. It's not present
in my options file and grep does not find it in dune-common.

I'm building with cmake and the option file just contains

  CMAKE_FLAGS="-DCMAKE_CXX_COMPILER='/usr/bin/g++-4.8'"

Any ideas? Can someone confirm this on another distribution

Best,
Carsten

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune-devel/attachments/20150701/8c0bcf27/attachment.sig>


More information about the Dune-devel mailing list