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 fails on 32-bit CentOS 6 #96

Closed
robdockins opened this issue Jan 27, 2016 · 2 comments
Closed

Build fails on 32-bit CentOS 6 #96

robdockins opened this issue Jan 27, 2016 · 2 comments

Comments

@robdockins
Copy link
Contributor

While building later packages we get the following error:

libabc.a: unknown symbol `__fixunssfdi'
ghc: unable to load package `abcBridge-0.16'

__fixunssfdi is floating-point conversion function, and a symbol that should be in libgcc, as I understand it. I've no idea why it is being referenced or why it is not found.

@atomb
Copy link
Contributor

atomb commented Jan 28, 2016

I believe this is happening during Template Haskell expansion, so GHCi is trying to load the abcBridge package. GHCi currently uses its own, built-in proto-linker rather than the system linker. So the fact that it doesn't know to go look for libgcc isn't super surprising. How to work around it, though, and why it works on all the other platforms, I'm not sure.

I think these pages might be relevant:

https://ghc.haskell.org/trac/ghc/wiki/DynamicGhcPrograms
https://ghc.haskell.org/trac/ghc/wiki/DynamicLinkingDebate

In addition, this page suggests that the default behavior of the GHCi linker might be different on 32-bit Linux than it is on 64-bit Linux:

https://ghc.haskell.org/trac/ghc/wiki/DynamicByDefault

@atomb atomb added the next label Feb 3, 2016
@atomb
Copy link
Contributor

atomb commented Feb 24, 2016

I managed to fix this by somewhat extensive refactoring to avoid the jvm-verifier library depending on abcBridge and avoiding Template Haskell in the saw-script package.

@atomb atomb closed this as completed Feb 24, 2016
brianhuffman pushed a commit that referenced this issue Apr 26, 2021
Modify saw-core external-format parser to use fresh `ExtCns` indices.
@sauclovian-g sauclovian-g removed the next label Oct 24, 2024
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

3 participants