concurrencykit / ck

Concurrency primitives, safe memory reclamation mechanisms and non-blocking (including lock-free) data structures designed to aid in the research, design and implementation of high performance concurrent systems developed in C99+.
http://concurrencykit.org/
Other
2.35k stars 312 forks source link

0.7.0 Build fails on i686 #142

Closed hhorak closed 5 years ago

hhorak commented 5 years ago

I'm trying to build 0.7.0 on i686 (32bit intel, Fedora 32) and it fails with this message:

BUILDSTDERR: ck_pr_unary.c: In function 'run_test_dec_int':
BUILDSTDERR: ck_pr_unary.c:104:1: error: unsupported size for integer register
BUILDSTDERR:   104 | GENERATE_TEST(dec, -, 1, 1)
BUILDSTDERR:       | ^~~~~~~~~~~~~
BUILDSTDERR: ../../../include/gcc/x86/ck_pr.h: Assembler messages:
BUILDSTDERR: ../../../include/gcc/x86/ck_pr.h:260: Error: bad register name `%dil'
BUILDSTDERR: make[2]: *** [Makefile:87: ck_pr_unary] Error 1
BUILDSTDERR: make[1]: *** [Makefile:46: all] Error 2
BUILDSTDERR: make: *** [Makefile:27: regressions] Error 2

Full build log from fedora scratch build is here (although it will be erased soon): https://kojipkgs.fedoraproject.org//work/tasks/8227/37198227/build.log

pkhuong commented 5 years ago

Thank you for the report! This should be a quick fix; I'm just waiting for CI.