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

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


Am 01.07.2015 um 15:40 schrieb Jö Fahlke:
> Am Wed,  1. Jul 2015, 15:35:12 +0200 schrieb Carsten Gräser:
>> Date: Wed, 01 Jul 2015 15:35:12 +0200
>> From: Carsten Gräser <graeser at mi.fu-berlin.de>
>> To: "dune-devel at dune-project.org" <dune-devel at dune-project.org>
>> Subject: Re: [Dune-devel] Building dune-common with gcc-4.8 fails
>>
>> Hi Jö,
> 
>> CMakeCache shows that this flag is also present in MPI_CXX_COMPILE_FLAGS
>> and MPI_C_COMPILE_FLAGS.
> 
> In your other Mail you bisected the problem to the patch that enabled mpi by
> default in cmake.  So this sounds very mpi-related.  Maybe that flag is
> extracted from mpicc?  And you don't have a problem before the patch because
> dune-common did not look for mpi then, but is doing it now?
> 
> Which MPI are you using?
It's mpich-3.1.

I also noticed that passing the compiler to mpic++ via -cxx preserves
this -fstack-protector-strong option which seems to be the ubuntu default.

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/7f7b469e/attachment.sig>


More information about the Dune-devel mailing list