-
Notifications
You must be signed in to change notification settings - Fork 697
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
Foreign Library RTS Selection #5431
Foreign Library RTS Selection #5431
Conversation
996f182
to
1c07f83
Compare
@sergv Thanks for the reminder, for some reason I believed that this was already merged. |
Foreign Library RTS Selection
Also cherry-picked into |
@@ -1979,9 +1976,6 @@ checkForeignLibSupported comp platform flib = go (compilerFlavor comp) | |||
|
|||
goGhcLinux :: ForeignLibType -> Maybe String | |||
goGhcLinux ForeignLibNativeShared | |||
| standalone = unsupported [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this is removed. I get a lot of
/usr/bin/x86_64-linux-gnu-ld.gold: error: /opt/ghc/8.6.1/lib/ghc-8.6.1/base-4.12.0.0/libHSbase-4.12.0.0.a(Lex.o): requires unsupported dynamic reloc 11; recompile with -fPIC
... if I try to build options: standalone
library on Linux
See also: #4827
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ping @TravisWhitaker @23Skidoo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This build type is supported in general, just not by the GHC you have installed.
Fresh PR for #5118
[ci skip]
is used to avoid triggering the build bots.