GCC10 flipped the default from -fcommon to -fno-common. This change results in this linker error.
/usr/sbin/ld: .libs/libdummycl2_la-libdummy_icd_gen.o:(.data.rel+0x0): multiple definition of `master_dispatch'; .libs/libdummycl2_la-libdummy_icd.o:(.bss+0x20): first defined here
This patch seems to resolve the linking issue. Not sure on if this breaks intended semantics or not, but make check is successful for all tests.
GCC10 flipped the default from
-fcommon
to-fno-common
. This change results in this linker error.This patch seems to resolve the linking issue. Not sure on if this breaks intended semantics or not, but
make check
is successful for all tests.