Closed
Description
main branch at HEAD as of Thurs Sept 29 @ 31953c1
Vanilla configure (only prefix option specified), then make yields:
opal_convertor.c: In function 'opal_convertor_accelerator_memcpy':
opal_convertor.c:55:27: error: 'opal_accelerator_base_module_t' has no member named '__builtin___memcpy_chk'
55 | res = opal_accelerator.memcpy(MCA_ACCELERATOR_NO_DEVICE_ID, MCA_ACCELERATOR_NO_DEVICE_ID,
| ^
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:31,
from /opt/local/lib/gcc12/gcc/x86_64-apple-darwin21/12.1.0/include-fixed/stdio.h:413,
from opal_convertor.c:31:
../../opal/mca/accelerator/accelerator.h:82:38: warning: passing argument 1 of '__builtin_object_size' makes pointer from integer without a cast [-Wint-conversion]
82 | #define MCA_ACCELERATOR_NO_DEVICE_ID -1
| ^~
| |
| int
opal_convertor.c:55:35: note: in expansion of macro 'MCA_ACCELERATOR_NO_DEVICE_ID'
55 | res = opal_accelerator.memcpy(MCA_ACCELERATOR_NO_DEVICE_ID, MCA_ACCELERATOR_NO_DEVICE_ID,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../opal/mca/accelerator/accelerator.h:82:38: note: expected 'const void *' but argument is of type 'int'
82 | #define MCA_ACCELERATOR_NO_DEVICE_ID -1
| ^~
opal_convertor.c:55:35: note: in expansion of macro 'MCA_ACCELERATOR_NO_DEVICE_ID'
55 | res = opal_accelerator.memcpy(MCA_ACCELERATOR_NO_DEVICE_ID, MCA_ACCELERATOR_NO_DEVICE_ID,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Anyone have an idea of how to work around or resolve this?
Metadata
Metadata
Assignees
Labels
No labels