So, I've tried following the instructions listed here:
https://git.snowdrift.coop/sd/snowdrift/blob/master/BUILD.md
but I'm getting hung up on both "./build.sh test" and the
troubleshooting command "./sdb.hs clean".  Both give errors with the
"clock" library.  I believe the relevant errors are the following:

Clock.hsc:44:0: warning: "hsc_alignment" redefined
In file included
from 
.stack-work/dist/x86_64-linux-tinfo6-nopie/Cabal-1.24.2.0/build/System/Clock_hsc_make.c:1:0:
 
/home/christian/.stack/programs/x86_64-linux/ghc-tinfo6-nopie-8.0.2/lib/ghc-8.0.2/template-hsc.h:88:0:
note: this is the location of the previous definition #define
hsc_alignment(t...) \ 
/usr/bin/ld: 
.stack-work/dist/x86_64-linux-tinfo6-nopie/Cabal-1.24.2.0/build/System/Clock_hsc_make.o:
relocation R_X86_64_32 against `.rodata' can not be used when making a
shared object; recompile with -fPIC /usr/bin/ld: final link failed:
Nonrepresentable section on output

This is done via arch linux, with the recommended packages installed.

Let me know if any specific information could be helpful, and sorry for
the trouble.
  -Christian
_______________________________________________
Dev mailing list
Dev@lists.snowdrift.coop
https://lists.snowdrift.coop/mailman/listinfo/dev

Reply via email to