[petsc-dev] Possible error running C/C++ src/snes/examples/tutorials/ex19 with 1 MPI process

Antonio Trande anto.trande at gmail.com
Tue Oct 11 16:52:27 CDT 2016


On 10/11/2016 09:39 PM, Satish Balay wrote:
> On Tue, 11 Oct 2016, Antonio Trande wrote:
> 
>> 'configure' does not recognize '-D_FORTIFY_SOURCE=2' flag (it says that
>> should be -D-FORTIFY-SOURCE=2) that comes from default flags used on
>> Fedora and automatically set when package is built. I'm forced to
>> exclude it with 'configure' and re-introduce it with 'make'.
>> This is the reason because flags are set more times.
>> It's good if you can fix this problem with 'configure'.
> 
> I suspect thats hapenning because you are missing quotes for CFLAGS=""
> [as mentioned earlier] - so configure it treating -D_FORTIFY_SOURCE=2
> as an argument to configure - and not as the text inside CFLAGS argument.
> 
> Satish

You're right.
I'm fixing all settings of compiler flags.

-- 
---
Antonio Trande
mailto: sagitter 'at' fedoraproject 'dot' org
http://fedoraos.wordpress.com/
https://fedoraproject.org/wiki/User:Sagitter
GPG Key: 0x6CE6D08A
Check on https://keys.fedoraproject.org/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20161011/e77b2ed8/attachment.sig>


More information about the petsc-dev mailing list