Package: ck
Version:0.4.4-1
User: debian-m...@lists.debian.org

Hello,

I have tried ck.patch proposed by Plamen Aleksandrov.

With this patch package does build further on MIPS.
Later there are problems with 8B __sync operations which are not supported on 
mips 32bit.


/tmp/ccjioxse.o: In function `ck_pr_add_64':

/build/ck-cHjeHK/ORIG/ck-0.4.4/regressions/ck_ht/benchmark/../../../include/gcc/ck_pr.h:242:
 undefined reference to `__sync_fetch_and_add_8'

collect2: error: ld returned 1 exit status

Makefile:17: recipe for target 'parallel_bytestring' failed


When this is resolved by replacing __sync operation with corresponding __atomic 
operation from libatomic library there are two new ones that fail.

__sync_val_compare_and_swap_8 and

__sync_bool_compare_and_swap_8


/tmp/ccdbKgaC.o: In function `ck_pr_cas_64':

/build/ck-cHjeHK/ORIG/ck-0.4.4/regressions/ck_pr/validate/../../../include/gcc/ck_pr.h:155:
 undefined reference to `__sync_bool_compare_and_swap_8'

/build/ck-cHjeHK/ORIG/ck-0.4.4/regressions/ck_pr/validate/../../../include/gcc/ck_pr.h:155:
 undefined reference to `__sync_bool_compare_and_swap_8'

/build/ck-cHjeHK/ORIG/ck-0.4.4/regressions/ck_pr/validate/../../../include/gcc/ck_pr.h:155:
 undefined reference to `__sync_bool_compare_and_swap_8'

/tmp/ccdbKgaC.o: In function `ck_pr_cas_64_value':

/build/ck-cHjeHK/ORIG/ck-0.4.4/regressions/ck_pr/validate/../../../include/gcc/ck_pr.h:186:
 undefined reference to `__sync_val_compare_and_swap_8'

/tmp/ccdbKgaC.o: In function `main':

/build/ck-cHjeHK/ORIG/ck-0.4.4/regressions/ck_pr/validate/../../../include/gcc/ck_pr.h:155:
 undefined reference to `__sync_bool_compare_and_swap_8'

I am working on resolving this issues.
Suggestions are welcomed.

Thank you!

Regards,
Jurica


Reply via email to