Bug#750998: ck: fails to compile on MIPS

2015-04-24 Thread Jurica Stanojkovic
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




Bug#750998: ck: fails to compile on MIPS

2014-06-09 Thread Plamen Alexandrov
Package: ck
Version: 0.4.2-1
Severity: normal

I report this so I can upload patch for it.

During configuration, the package fails with error:
Detecting machine architecture...failed  [unsupported]


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: mips (mips64)

Kernel: Linux 3.2.0-4-5kc-malta
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#750998: ck: fails to compile on MIPS

2014-06-09 Thread Daniel Pocock


On 09/06/14 13:07, Plamen Alexandrov wrote:
 Package: ck
 Version: 0.4.2-1
 Severity: normal
 
 I report this so I can upload patch for it.
 
 During configuration, the package fails with error:
 Detecting machine architecture...failed  [unsupported]

Thanks for the feedback, could you also send the patch to the upstream
mailing list?

If they include it in their repository and tag a new release, I will get
the package built again.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org