Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1388561 - [openmpi] FTBFS due missing atomics
Summary: [openmpi] FTBFS due missing atomics
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: openmpi
Version: 26
Hardware: ppc64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Doug Ledford
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PPCTracker
TreeView+ depends on / blocked
 
Reported: 2016-10-25 16:24 UTC by Dan Horák
Modified: 2018-05-03 16:17 UTC (History)
3 users (show)

Fixed In Version: openmpi-2.0.2-1.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-03 16:17:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github open-mpi ompi issues 2055 0 None None None 2016-10-25 20:26:53 UTC

Description Dan Horák 2016-10-25 16:24:13 UTC
both ppc64 and ppc64le builds fail with 

...
../../../opal/threads/thread_usage.h:173:1: note: in expansion of macro 'OPAL_THREAD_DEFINE_ATOMIC_SWAP'
 OPAL_THREAD_DEFINE_ATOMIC_SWAP(int64_t, int64_t, 64)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../../opal/include/opal/sys/atomic.h:615:0,
                 from ../../../opal/threads/thread_usage.h:28,
                 from ../../../opal/class/opal_object.h:128,
                 from ../../../ompi/errhandler/errhandler.h:32,
                 from intercepts.cc:27:
../../../opal/class/opal_lifo.h: In function 'opal_list_item_t* opal_lifo_pop_atomic(opal_lifo_t*)':
../../../opal/include/opal/sys/atomic_impl.h:288:77: error: 'opal_atomic_ll_64' was not declared in this scope
 #define opal_atomic_ll_ptr(addr) (void *) opal_atomic_ll_64((int64_t *) addr)
                                                                             ^
../../../opal/class/opal_lifo.h:214:37: note: in expansion of macro 'opal_atomic_ll_ptr'
         item = (opal_list_item_t *) opal_atomic_ll_ptr (&lifo->opal_lifo_head.data.item);
                                     ^~~~~~~~~~~~~~~~~~
../../../opal/include/opal/sys/atomic_impl.h:289:94: error: 'opal_atomic_sc_64' was not declared in this scope
 #define opal_atomic_sc_ptr(addr, newval) opal_atomic_sc_64((int64_t *) addr, (int64_t) newval)
                                                                                              ^
../../../opal/class/opal_lifo.h:220:15: note: in expansion of macro 'opal_atomic_sc_ptr'
     } while (!opal_atomic_sc_ptr (&lifo->opal_lifo_head.data.item, next));
               ^~~~~~~~~~~~~~~~~~
In file included from ../../../ompi/request/request.h:38:0,
                 from ../../../ompi/communicator/comm_request.h:17,
                 from ../../../ompi/communicator/communicator.h:35,
                 from intercepts.cc:28:
../../../opal/threads/wait_sync.h: In function 'void wait_sync_update(ompi_wait_sync_t*, int, int)':
../../../opal/threads/wait_sync.h:114:45: error: 'opal_atomic_swap_32' was not declared in this scope
         opal_atomic_swap_32 (&sync->count, 0);
                                             ^
make[2]: Leaving directory '/builddir/build/BUILD/openmpi-2.0.1/ompi/mpi/cxx'
make[2]: *** [Makefile:1807: intercepts.lo] Error 1
make[1]: Leaving directory '/builddir/build/BUILD/openmpi-2.0.1/ompi'
make[1]: *** [Makefile:3324: all-recursive] Error 1
make: *** [Makefile:1800: all-recursive] Error 1
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.hAxc5H (%build)
    Bad exit status from /var/tmp/rpm-tmp.hAxc5H (%build)
Child return code was: 1
...


for full logs please see http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=3837392

Version-Release number of selected component (if applicable):
openmpi-2.0.1-1.fc26

Comment 1 Orion Poplawski 2016-10-25 20:26:53 UTC
This looks like it will be fixed in 2.0.2.  See upstream bug https://github.com/open-mpi/ompi/issues/2055

Comment 2 Dan Horák 2016-10-26 20:23:29 UTC
Thanks for the pointer, I'll try to backport the upstream patches tomorrow, ppc koji is going to be merged with primary koji this week and due the missing openmpi we are few days behind ...

Comment 3 Dan Horák 2016-10-27 07:14:49 UTC
Temporarily disabled the C++ bindings for ppc, see https://github.com/open-mpi/ompi/issues/2055#issuecomment-256487077

Comment 4 Fedora End Of Life 2017-02-28 10:30:45 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 5 Dan Horák 2017-07-12 12:18:52 UTC
Upstream has fixed the ppc specific issues in all active branches, so with updated packages we can drop the workaround.

Comment 6 Fedora End Of Life 2018-05-03 08:18:08 UTC
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '26'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.


Note You need to log in before you can comment on or make changes to this bug.