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

Carsten Gräser graeser at mi.fu-berlin.de
Wed Jul 1 15:30:49 CEST 2015


I just tracked this back:

The problem first appeared with b57a46c0adabdfe4dae8cc6d04972ee66ee76e84.

Carsten
Am 01.07.2015 um 14:53 schrieb Carsten Gräser:
> 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/a0571108/attachment.sig>


More information about the Dune-devel mailing list