Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build issues. #72

Open
agarwalayush opened this issue Dec 24, 2015 · 1 comment
Open

Build issues. #72

agarwalayush opened this issue Dec 24, 2015 · 1 comment

Comments

@agarwalayush
Copy link

Hi,
I am trying to build this project (master branch). I am on ghc 7.10.
I am using sandbox, and I think there is no issues with installation.
While building I get these errors
Can anybody please help.

/tmp/ghc28604_0/ghc_6.s: Assembler messages:

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

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

/tmp/ghc28604_0/ghc_6.s:183:0:
     Error: can't resolve `.rodata' {.rodata section} - `PathszuHLearn_getLibDir1_info$def' {.text section}

/tmp/ghc28604_0/ghc_6.s:203:0:
     Error: can't resolve `.rodata' {.rodata section} - `PathszuHLearn_getLibDir_info$def' {.text section}

/tmp/ghc28604_0/ghc_6.s:249:0:
     Error: can't resolve `.rodata' {.rodata section} - `PathszuHLearn_getDataDir4_info$def' {.text section}

/tmp/ghc28604_0/ghc_6.s:295:0:
     Error: can't resolve `.rodata' {.rodata section} - `PathszuHLearn_getDataDir2_info$def' {.text section}

/tmp/ghc28604_0/ghc_6.s:315:0:
     Error: can't resolve `.rodata' {.rodata section} - `PathszuHLearn_getDataDir1_info$def' {.text section}

/tmp/ghc28604_0/ghc_6.s:335:0:
     Error: can't resolve `.rodata' {.rodata section} - `PathszuHLearn_getDataDir_info$def' {.text section}

/tmp/ghc28604_0/ghc_6.s:362:0:
     Error: can't resolve `.rodata' {.rodata section} - `PathszuHLearn_getDataFileName1_info$def' {.text section}

/tmp/ghc28604_0/ghc_6.s:382:0:
     Error: can't resolve `.rodata' {.rodata section} - `PathszuHLearn_getDataFileName_info$def' {.text section}

/tmp/ghc28604_0/ghc_6.s:428:0:
     Error: can't resolve `.rodata' {.rodata section} - `PathszuHLearn_getLibexecDir4_info$def' {.text section}

/tmp/ghc28604_0/ghc_6.s:474:0:
     Error: can't resolve `.rodata' {.rodata section} - `PathszuHLearn_getLibexecDir2_info$def' {.text section}

/tmp/ghc28604_0/ghc_6.s:494:0:
     Error: can't resolve `.rodata' {.rodata section} - `PathszuHLearn_getLibexecDir1_info$def' {.text section}

/tmp/ghc28604_0/ghc_6.s:514:0:
     Error: can't resolve `.rodata' {.rodata section} - `PathszuHLearn_getLibexecDir_info$def' {.text section}

/tmp/ghc28604_0/ghc_6.s:560:0:
     Error: can't resolve `.rodata' {.rodata section} - `PathszuHLearn_getSysconfDir4_info$def' {.text section}

/tmp/ghc28604_0/ghc_6.s:606:0:
     Error: can't resolve `.rodata' {.rodata section} - `PathszuHLearn_getSysconfDir2_info$def' {.text section}

/tmp/ghc28604_0/ghc_6.s:626:0:
     Error: can't resolve `.rodata' {.rodata section} - `PathszuHLearn_getSysconfDir1_info$def' {.text section}

/tmp/ghc28604_0/ghc_6.s:646:0:
     Error: can't resolve `.rodata' {.rodata section} - `PathszuHLearn_getSysconfDir_info$def' {.text section}

/tmp/ghc28604_0/ghc_6.s:692:0:
     Error: can't resolve `.rodata' {.rodata section} - `PathszuHLearn_getBinDir4_info$def' {.text section}

/tmp/ghc28604_0/ghc_6.s:738:0:
     Error: can't resolve `.rodata' {.rodata section} - `PathszuHLearn_getBinDir2_info$def' {.text section}

/tmp/ghc28604_0/ghc_6.s:758:0:
     Error: can't resolve `.rodata' {.rodata section} - `PathszuHLearn_getBinDir1_info$def' {.text section}

/tmp/ghc28604_0/ghc_6.s:778:0:
     Error: can't resolve `.rodata' {.rodata section} - `PathszuHLearn_getBinDir_info$def' {.text section}
@mikeizbicki
Copy link
Owner

I've seen similar errors before when using a version of llvm that's not compatible with the version of ghc. What version of llvm are you using? You can use the following command to check:

$ opt --version
LLVM (http://llvm.org/):
  LLVM version 3.5.2
  Optimized build with assertions.
  Built Apr 22 2015 (15:50:13).
  Default target: x86_64-unknown-linux-gnu
  Host CPU: penryn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants