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. https://copr-be.cloud.fedoraproject.org/results/sagitter/petsc/fedora-rawhide-i386/00464373-petsc/build.log.gz > > 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 (https://fedoraproject.org/wiki/Changes/Harden_All_Packages#Detailed_Harden_Flags_Description). I can disable and set them manually. New builds: Without "/usr/lib/rpm/redhat/redhat-hardened-cc1" flags: http://copr-fe.cloud.fedoraproject.org/coprs/sagitter/petsc/build/464687/ Same configuration for debugging: http://copr-fe.cloud.fedoraproject.org/coprs/sagitter/petsc/build/464692/ 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 /builddir/build/BUILD/petsc-3.7.4/buildopenmpi_dir/src/snes/examples/tutorials ex19 ********************************************************************************* -- --- 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/
signature.asc
Description: OpenPGP digital signature