Paul and Orion,

the fix has been merged into v1.10.
I will issue a separate pr for v2.x since this issue is impacting quite a
lot of openmpi users

Sorry for the inconvenience,

Gilles

On Tuesday, December 22, 2015, Paul Hargrove <phhargr...@lbl.gov> wrote:

> Orion,
>
> The FCFLAGS_save issue was been fixed in master over the weekend and the
> appropriate PRs filed for v1.10 and v2.0 (and may already have been merged).
>
> -Paul
>
> On Mon, Dec 21, 2015 at 9:52 AM, Orion Poplawski <or...@cora.nwra.com
> <javascript:_e(%7B%7D,'cvml','or...@cora.nwra.com');>> wrote:
>
>> On 12/19/2015 09:35 AM, Ralph Castain wrote:
>> > Hello folks
>> >
>> > Don’t want your holiday to be too boring, so we are also making
>> available the
>> > v1.10.2 release candidate for review. We won’t release until sometime in
>> > January, but hopefully some of you will have a chance to test it in the
>> > meantime. You’ll find it in the usual place:
>>
>> Seeing the following on Fedora Rawhide with gcc 5.3.1:
>>
>> checking size of Fortran type(test_mpi_handle)... configure: WARNING:
>> Could
>> not determine size of type(test_mpi_handle)
>> configure: WARNING: See config.log for details
>> configure: error: Cannot continue
>>
>> config.log shows:
>>
>> configure:59062: checking size of Fortran type(test_mpi_handle)
>> configure:59132: gcc -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security
>> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
>> --param=ssp-buffer-size=4 -grecord-gcc-switches
>> -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic
>> -finline-functions -fno-strict-aliasing -I. -c conftest.c
>> configure:59139: $? = 0
>> configure:59149: gfortran   conftestf.f90 conftest.o -o conftest
>> -Wl,-z,relro
>> -specs=/usr/lib/rpm/redhat/redhat-hardened-ld
>> /usr/bin/ld: /tmp/ccCHL5mV.o: relocation R_X86_64_32 against `.rodata'
>> can not
>> be used when making a shared object; recompile with -fPIC
>> /tmp/ccCHL5mV.o: error adding symbols: Bad value
>> collect2: error: ld returned 1 exit status
>> configure:59156: $? = 1
>> configure:59177: here is the Fortran program:
>> program fsize
>> type, BIND(C) :: test_mpi_handle
>>   integer :: MPI_VAL
>> end type test_mpi_handle
>>    external size
>>    type(test_mpi_handle) :: x(2)
>>    call size(x(1),x(2))
>> end program
>> configure:59186: WARNING: Could not determine size of
>> type(test_mpi_handle)
>> configure:59188: WARNING: See config.log for details
>> configure:59190: error: Cannot continue
>>
>> This is triggered by the use of hardening flags in Fedora builds - but the
>> problem seems to be that something is resetting FCFLAGS to empty during
>> the
>> configure processes by the time this step is reached.  I believe this is
>> in
>> OMPI_FORTRAN_CHECK_USE_ONLY from
>> ./openmpi-1.10.2rc1/config/ompi_fortran_check_use_only.m4.  FCFLAGS gets
>> set to:
>>
>>     FCFLAGS=$FCFLAGS_save
>>
>> but nothing appears to be setting FCFLAGS_save.
>>
>>
>> --
>> Orion Poplawski
>> Technical Manager                     303-415-9701 x222
>> NWRA, Boulder/CoRA Office             FAX: 303-415-9702
>> 3380 Mitchell Lane                       or...@nwra.com
>> <javascript:_e(%7B%7D,'cvml','or...@nwra.com');>
>> Boulder, CO 80301                   http://www.nwra.com
>> _______________________________________________
>> devel mailing list
>> de...@open-mpi.org <javascript:_e(%7B%7D,'cvml','de...@open-mpi.org');>
>> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel
>> Link to this post:
>> http://www.open-mpi.org/community/lists/devel/2015/12/18444.php
>>
>
>
>
> --
> Paul H. Hargrove                          phhargr...@lbl.gov
> <javascript:_e(%7B%7D,'cvml','phhargr...@lbl.gov');>
> Computer Languages & Systems Software (CLaSS) Group
> Computer Science Department               Tel: +1-510-495-2352
> Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900
>

Reply via email to