Skip to content

Foreign Library RTS Selection - #5431

Merged
23Skidoo merged 1 commit into
haskell:masterfrom
TravisWhitaker:foreign-lib-rts-selection
Aug 29, 2018
Merged

Foreign Library RTS Selection#5431
23Skidoo merged 1 commit into
haskell:masterfrom
TravisWhitaker:foreign-lib-rts-selection

Conversation

@TravisWhitaker

Copy link
Copy Markdown
Collaborator

Fresh PR for #5118

  • Patches conform to the coding conventions.
  • Any changes that could be relevant to users have been recorded in the changelog.
  • The documentation has been updated, if necessary.
  • If the change is docs-only, [ci skip] is used to avoid triggering the build bots.
@23Skidoo 23Skidoo added this to the 2.4 milestone Jul 31, 2018
@23Skidoo
23Skidoo force-pushed the foreign-lib-rts-selection branch from 996f182 to 1c07f83 Compare July 31, 2018 23:09
@23Skidoo 23Skidoo mentioned this pull request Aug 7, 2018
4 tasks
@sergv

sergv commented Aug 24, 2018

Copy link
Copy Markdown
Collaborator

@23Skidoo Could we merge this, please? The prerequisite #5118 was closed stating that something's merged, presumably this PR, but it looks like it isn't.

@23Skidoo

Copy link
Copy Markdown
Member

@sergv Thanks for the reminder, for some reason I believed that this was already merged.

@23Skidoo
23Skidoo merged commit 2f8c435 into haskell:master Aug 29, 2018
23Skidoo added a commit that referenced this pull request Aug 29, 2018
@23Skidoo

Copy link
Copy Markdown
Member

Also cherry-picked into 2.4.


goGhcLinux :: ForeignLibType -> Maybe String
goGhcLinux ForeignLibNativeShared
| standalone = unsupported [

@phadej phadej Oct 16, 2018

Copy link
Copy Markdown
Collaborator

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

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Collaborator Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants