Skip to content

32 bit build fails on master: btl_base_am_rdma.c #8566

Closed
@jsquyres

Description

@jsquyres

32 bit builds are currently failing on master. Git bisect says 3e31775 is the bad commit:

make[1]: Entering directory `/home/jsquyres/git/o2/opal/mca/btl'
  CC       base/btl_base_am_rdma.lo
base/btl_base_am_rdma.c:199: warning: invalid use of structure with flexible array member
base/btl_base_am_rdma.c: In function ‘mca_btl_base_copy_from_segments’:
base/btl_base_am_rdma.c:294: warning: cast to pointer from integer of different size
base/btl_base_am_rdma.c:302: warning: cast to pointer from integer of different size
base/btl_base_am_rdma.c: In function ‘mca_btl_base_copy_to_segments’:
base/btl_base_am_rdma.c:324: warning: cast to pointer from integer of different size
base/btl_base_am_rdma.c:336: warning: cast to pointer from integer of different size
base/btl_base_am_rdma.c: In function ‘mca_btl_base_am_rdma_advance’:
base/btl_base_am_rdma.c:386: warning: cast from pointer to integer of different size
base/btl_base_am_rdma.c: In function ‘mca_btl_base_am_descriptor_complete’:
base/btl_base_am_rdma.c:415: warning: unused variable ‘context’
base/btl_base_am_rdma.c: In function ‘mca_btl_base_rdma_retry_operation’:
base/btl_base_am_rdma.c:724: warning: unused variable ‘btl’
base/btl_base_am_rdma.c: In function ‘mca_btl_base_am_rdma_progress’:
base/btl_base_am_rdma.c:770: warning: ISO C forbids braced-groups within expressions
base/btl_base_am_rdma.c:770: warning: ISO C forbids braced-groups within expressions
base/btl_base_am_rdma.c:779: warning: ISO C forbids braced-groups within expressions
base/btl_base_am_rdma.c:779: warning: ISO C forbids braced-groups within expressions
base/btl_base_am_rdma.c: In function ‘mca_btl_base_am_atomic_64’:
base/btl_base_am_rdma.c:804: error: implicit declaration of function ‘opal_atomic_fetch_add_64’
base/btl_base_am_rdma.c:807: error: implicit declaration of function ‘opal_atomic_fetch_and_64’
base/btl_base_am_rdma.c:810: error: implicit declaration of function ‘opal_atomic_fetch_or_64’
base/btl_base_am_rdma.c:813: error: implicit declaration of function ‘opal_atomic_fetch_xor_64’
base/btl_base_am_rdma.c:816: error: implicit declaration of function ‘opal_atomic_swap_64’
base/btl_base_am_rdma.c:819: error: implicit declaration of function ‘opal_atomic_fetch_min_64’
base/btl_base_am_rdma.c:822: error: implicit declaration of function ‘opal_atomic_fetch_max_64’
base/btl_base_am_rdma.c: In function ‘mca_btl_base_am_rdma_response’:
base/btl_base_am_rdma.c:895: error: implicit declaration of function ‘opal_atomic_add_fetch_64’
base/btl_base_am_rdma.c:894: warning: comparison between signed and unsigned integer expressions
base/btl_base_am_rdma.c: In function ‘mca_btl_base_am_process_atomic’:
base/btl_base_am_rdma.c:973: warning: pointer targets in passing argument 1 of ‘mca_btl_base_am_atomic_32’ differ in signedness
base/btl_base_am_rdma.c:832: note: expected ‘int32_t *’ but argument is of type ‘uint32_t *’
base/btl_base_am_rdma.c:977: warning: cast to pointer from integer of different size
base/btl_base_am_rdma.c:985: warning: cast to pointer from integer of different size
base/btl_base_am_rdma.c:990: error: implicit declaration of function ‘opal_atomic_compare_exchange_strong_64’
base/btl_base_am_rdma.c:990: warning: cast to pointer from integer of different size
base/btl_base_am_rdma.c:955: warning: unused variable ‘target_address’
base/btl_base_am_rdma.c: At top level:
base/btl_base_am_rdma.c:1008: warning: no previous prototype for ‘mca_btl_sm_sc_emu_init’
make[1]: *** [base/btl_base_am_rdma.lo] Error 1
make[1]: Leaving directory `/home/jsquyres/git/o2/opal/mca/btl'
make: *** [all-recursive] Error 1

A persistent question: do we care about 32 bit builds any more?

I think we have not formally removed 32 bit support, otherwise Past Jeff would likely have put in a configure check to disallow 32 bit builds.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions