Compiling various micro-kernels of DataRaceBench, we see linker errors:
/usr/local/sword/lib/libsword_static.a(sword_rtl.cc.o):(.tbss.__sword_accesses1__+0x0): multiple definition of `__sword_accesses1__'
/tmp/usr/host_22264/DRB080-func-arg-orig-yes-332a52.o:(.tbss+0x18): first defined here
/usr/local/sword/lib/libsword_static.a(sword_rtl.cc.o): In function `Access::getAccessSizeType() const':
/usr/local/src/sword/rtl/sword_rtl.cc:61: multiple definition of `__sword_accesses2__'
/tmp/usr/host_22264/DRB080-func-arg-orig-yes-332a52.o:dataracebench/micro-benchmarks/DRB080-func-arg-orig-yes.c:58: first defined here
/usr/local/sword/lib/libsword_static.a(sword_rtl.cc.o): In function `Access::getAccessSizeType() const':
/usr/local/src/sword/rtl/sword_rtl.cc:61: multiple definition of `__sword_accesses__'
/tmp/usr/host_22264/DRB080-func-arg-orig-yes-332a52.o:dataracebench/micro-benchmarks/DRB080-func-arg-orig-yes.c:58: first defined here
/usr/local/sword/lib/libsword_static.a(sword_rtl.cc.o): In function `Access::getAccessSizeType() const':
/usr/local/src/sword/rtl/sword_rtl.cc:61: multiple definition of `__sword_buffer__'
/tmp/usr/host_22264/DRB080-func-arg-orig-yes-332a52.o:dataracebench/micro-benchmarks/DRB080-func-arg-orig-yes.c:60: first defined here
/usr/local/sword/lib/libsword_static.a(sword_rtl.cc.o): In function `Access::getAccessSizeType() const':
/usr/local/src/sword/rtl/sword_rtl.cc:61: multiple definition of `__sword_datafile__'
/tmp/usr/host_22264/DRB080-func-arg-orig-yes-332a52.o:dataracebench/micro-benchmarks/DRB080-func-arg-orig-yes.c:63: first defined here
/usr/local/sword/lib/libsword_static.a(sword_rtl.cc.o): In function `Access::getAccessSizeType() const':
/usr/local/src/sword/rtl/sword_rtl.cc:61: multiple definition of `__sword_metafile__'
/tmp/usr/host_22264/DRB080-func-arg-orig-yes-332a52.o:dataracebench/micro-benchmarks/DRB080-func-arg-orig-yes.c:63: first defined here
clang-6.0: error: linker command failed with exit code 1 (use -v to see invocation)
The example kernel was: https://github.com/LLNL/dataracebench/blob/master/micro-benchmarks/DRB080-func-arg-orig-yes.c
Compiling various micro-kernels of DataRaceBench, we see linker errors:
The example kernel was: https://github.com/LLNL/dataracebench/blob/master/micro-benchmarks/DRB080-func-arg-orig-yes.c