On 10/13/2016 02:31 AM, Satish Balay wrote:
> On Wed, 12 Oct 2016, Satish Balay wrote:
>> On Wed, 12 Oct 2016, Antonio Trande wrote:
>>> Latest builds:
>>> http://copr-fe.cloud.fedoraproject.org/coprs/sagitter/petsc/build/464373/
>> I'll try and see if I can reproduce this.. [in a 32bit VM]..
> To start off - I looked at all the 5 32bit build logs in 464373 - and
> they don't have any C or OpeMPI tests crashing anymore.  I remember
> seeing these crashes in some of the previous logs. Any idea what fixed
> this?

There are errors.

> And wrt the fortran example [with non-mpi build] crashing - somehow
> the following appears to make a difference:
> FFLAGS=-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
> balay@localhost petsc]$ cat /usr/lib/rpm/redhat/redhat-hardened-cc1
> *cc1_options:
> + %{!r:%{!fpie:%{!fPIE:%{!fpic:%{!fPIC:%{!fno-pic:-fPIE}}}}}}
> [balay@localhost petsc]$ 
> For one - this doesn't look like something gfortran would use or
> invoke - and yet - its affected by it. Its changing the behavior of
> fortran common blocks - and adds a couple of entries in the object
> file created (somefort.o) - I don't know what they do..
> <          U _GLOBAL_OFFSET_TABLE_
> < 00000000 T __x86.get_pc_thunk.ax
> Is it possible to remove this option from FFLAGS? [with 'FOPTFLAGS=']

They are flags automatically set for "hardened" builds

I can disable and set them manually.

New builds:

Without "/usr/lib/rpm/redhat/redhat-hardened-cc1" flags:

Same configuration for debugging:

On Fedora builds, i see this warning without any other info:

*******************Error detected during compile or link!*******************
See http://www.mcs.anl.gov/petsc/documentation/faq.html

Antonio Trande
mailto: sagitter 'at' fedoraproject 'dot' org
GPG Key: 0x6CE6D08A
Check on https://keys.fedoraproject.org/

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to