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

Mark FreeBSD as supporting RPaths #4689

Closed
wants to merge 0 commits into from
Closed

Conversation

arrowd
Copy link
Collaborator

@arrowd arrowd commented Aug 14, 2017

FreeBSD has this patch in its GHC port for 2 years now.

@mention-bot
Copy link

@arrowd, thanks for your PR! By analyzing the history of the files in this pull request, we identified @dcoutts, @23Skidoo and @ezyang to be potential reviewers.

@23Skidoo
Copy link
Member

FreeBSD has this patch in its GHC port for 2 years now.

Shouldn't this check be dependent on GHC version then?

@arrowd
Copy link
Collaborator Author

arrowd commented Aug 15, 2017

Shouldn't this check be dependent on GHC version then?

Don't see how is so. Isn't it about an OS, not compiler?

@23Skidoo
Copy link
Member

23Skidoo commented Aug 15, 2017

You say that some versions of GHC on FreeBSD have this patch and some don't. I think it makes sense to check both the OS and the GHC version then, since our policy is to support all GHC versions released during the last 5 years.

@arrowd
Copy link
Collaborator Author

arrowd commented Aug 15, 2017

Well, the fact that we didn't have this patch for some time doesn't mean it didn't work for us. We might have not yet a chance to stumble upon it.

Another example of such problem is https://phabricator.haskell.org/rGHC0a891c8c448a0e70abb075702857d743674ad1ad We've been using GHC for a long time until we stumbled upon linking linker scripts issue, and now fixed it.

If you insist, I may try to reach original author of this patch and ask him for a full story, but I think it is a really overkill for such simple one-liner.

@23Skidoo
Copy link
Member

Well, the fact that we didn't have this patch for some time doesn't mean it didn't work for us.

I suppose there is a reason that this check currently returns False. Ideally we'd use CI to test this patch against each supported GHC version instead of guessing, but unfortunately Travis doesn't support FreeBSD.

@arrowd
Copy link
Collaborator Author

arrowd commented Aug 15, 2017

Judging from the comment above that case expression, these checks return False for all OSes where GHC haven't been extensively checked. And since Cabal team doesn't run FreeBSD on Travis, the burden of testing lies on us. We've been running this patch for 2 years, so I claim that this change is tested.

@23Skidoo
Copy link
Member

So which versions of GHC have you tested this patch with?

@arrowd
Copy link
Collaborator Author

arrowd commented Aug 15, 2017

According to SVN logs, 7.10.2 and 8.0.2.

@23Skidoo
Copy link
Member

Can you please make this check return True on FreeBSD only when the GHC version is >= 7.10.2?

@arrowd
Copy link
Collaborator Author

arrowd commented Aug 15, 2017

Nope, I have no idea how to do this, honestly.

@23Skidoo
Copy link
Member

Sorry, I didn't intend to close this, this is some GitHub glitch.

23Skidoo added a commit to 23Skidoo/cabal that referenced this pull request Aug 15, 2017
@23Skidoo
Copy link
Member

Cont. in #4695.

@haskell haskell locked and limited conversation to collaborators Aug 15, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants