sdr-0.1.0.3 does not compile on i686-linux
Citing from http://hydra.nixos.org/build/26455954/log/raw:
c_sources/cpuid.c: In function ‘cpuid’:
c_sources/cpuid.c:4:5:
error: inconsistent operand constraints in an ‘asm’
asm volatile(
^
That assembly code is 64 bit only. I will either figure out how to tell cabal that it only builds for 64 bit machines or implement a 32 bit version.
Ping?
Sorry about the delay. I hope to find time to fix this by the end of this weekend.
I have disabled the package in the NixOS distribution.
I gave up on this. There doesn't seem to be a way to specify which architectures it builds on to cabal, and, I was unable to get Virtualbox to even start on my system so that I could develop a 32 bit version of the failing code and resolve this properly.
However, I see no reason to disable the package on 64 bit x86 architectures.
library
if arch(i386)
Buildable: False
I applied your suggested fix and uploaded to Hackage. Leaving this open to remind me to fix it properly.