New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple definition errors in test-tool #340
Comments
The |
These commits all combined fix the issue around local_iscsi_queue_pdu: But the circular header definitions for |
Most likely ea89dcd which I'll try ... |
Yes with this on top as well it works to build the version currently in Ubuntu. And in the next cycle (feature freeze atm) we can sync the new version. |
Following a cherry-pick of #308 "attribute_packed.patch" to resolve a multiple-definition error with gcc10, Debian and Ubuntu CI's are also seeing "multiple defintion" errors in the test-tool code:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libiscsi.html
https://buildd.debian.org/status/package.php?p=libiscsi
https://launchpad.net/ubuntu/+source/libiscsi/1.19.0-2/+build/19774393
This is with:
Kernel version: 4.15.0-112-generic
gcc version: 10.2.0
/usr/bin/ld: test_prefetch10_simple.o:./test-tool/iscsi-support.h:782: multiple definition of
local_iscsi_queue_pdu'; iscsi-test-cu.o:./test-tool/iscsi-support.h:782: first defined here /usr/bin/ld: test_prefetch10_simple.o:./test-tool/iscsi-support.h:63: multiple definition of
copy_aborted_ascqs'; iscsi-test-cu.o:./test-tool/iscsi-support.h:63: first defined here/usr/bin/ld: test_prefetch10_simple.o:./test-tool/iscsi-support.h:62: multiple definition of
miscompare_ascqs'; iscsi-test-cu.o:./test-tool/iscsi-support.h:62: first defined here /usr/bin/ld: test_prefetch10_simple.o:./test-tool/iscsi-support.h:61: multiple definition of
removal_ascqs'; iscsi-test-cu.o:./test-tool/iscsi-support.h:61: first defined here/usr/bin/ld: test_prefetch10_simple.o:./test-tool/iscsi-support.h:60: multiple definition of
sanitize_ascqs'; iscsi-test-cu.o:./test-tool/iscsi-support.h:60: first defined here /usr/bin/ld: test_prefetch10_simple.o:./test-tool/iscsi-support.h:59: multiple definition of
write_protect_ascqs'; iscsi-test-cu.o:./test-tool/iscsi-support.h:59: first defined here/usr/bin/ld: test_prefetch10_simple.o:./test-tool/iscsi-support.h:58: multiple definition of
unsupp_desc_code_ascqs'; iscsi-test-cu.o:./test-tool/iscsi-support.h:58: first defined here /usr/bin/ld: test_prefetch10_simple.o:./test-tool/iscsi-support.h:57: multiple definition of
too_many_desc_ascqs'; iscsi-test-cu.o:./test-tool/iscsi-support.h:57: first defined here/usr/bin/ld: test_prefetch10_simple.o:./test-tool/iscsi-support.h:56: multiple definition of
param_list_len_err_ascqs'; iscsi-test-cu.o:./test-tool/iscsi-support.h:56: first defined here /usr/bin/ld: test_prefetch10_simple.o:./test-tool/iscsi-support.h:55: multiple definition of
invalid_cdb_ascqs'; iscsi-test-cu.o:./test-tool/iscsi-support.h:55: first defined here/usr/bin/ld: test_prefetch10_simple.o:./test-tool/iscsi-support.h:54: multiple definition of
lba_oob_ascqs'; iscsi-test-cu.o:./test-tool/iscsi-support.h:54: first defined here /usr/bin/ld: test_prefetch10_simple.o:./test-tool/iscsi-support.h:53: multiple definition of
no_medium_ascqs'; iscsi-test-cu.o:./test-tool/iscsi-support.h:53: first defined here/usr/bin/ld: test_prefetch10_beyond_eol.o:./test-tool/iscsi-support.h:54: multiple definition of `lba_oob_ascqs'; iscsi-test-cu.o:./test-tool/iscsi-support.h:54: first defined here
The text was updated successfully, but these errors were encountered: