mikeizbicki / HLearn

Homomorphic machine learning
Other
1.62k stars 138 forks source link

Build on Ubuntu 14.04 failing at assembler stage #67

Open kjameslubin opened 8 years ago

kjameslubin commented 8 years ago

I don't have time to dig in ATM, but there's an error:

[1 of 2] Compiling Paths_HLearn     ( .stack-work/dist/x86_64-linux/Cabal-1.22.4.0/build/autogen/Paths_HLearn.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.4.0/build/hlearn-allknn/hlearn-allknn-tmp/Paths_HLearn.o )
/tmp/ghc2498_0/ghc_6.s: Assembler messages:

/tmp/ghc2498_0/ghc_6.s:117:0:
     Error: can't resolve `.rodata' {.rodata section} - `PathszuHLearn_getLibDir4_info$def' {.text section}

/tmp/ghc2498_0/ghc_6.s:163:0:
     Error: can't resolve `.rodata' {.rodata section} - `PathszuHLearn_getLibDir2_info$def' {.text section}

/tmp/ghc2498_0/ghc_6.s:183:0:
 ...

Let me know if a more verbose trace would be helpful. I've personally had issues like this when the cabal file failed to reference a file that was nevertheless silently compiled, just a guess.