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

[WIP] release-cross: Try cross compiling from darwin too #22526

Closed
wants to merge 3 commits into from

Conversation

Ericson2314
Copy link
Member

@Ericson2314 Ericson2314 commented Feb 7, 2017

Motivation for this change

Most of the from-darwin builds will probably fail, but I'd like to know how. I'm going through my past cross PRs looking for regressions. This PR will fix them each time, for an "alternative" fixed history

Things done

Looking at hashes so when its ready already-building packages should stay the same.

@mention-bot
Copy link

@Ericson2314, thanks for your PR! By analyzing the history of the files in this pull request, we identified @edolstra, @rbvermaa and @aszlig to be potential reviewers.

Most of the from-darwin builds will probably fail, but I'd like to
know how.
@Ericson2314 Ericson2314 changed the title release-cross: Try cross compiling from darwin too [WIP] release-cross: Try cross compiling from darwin too Feb 7, 2017
…gh bootstrapping

Merge commit '5ad696b06763b7c5c6e1aa7ed848a50bff78c8d5' into release-cross-darwin
@domenkozar domenkozar added the 6.topic: darwin Running or building packages on Darwin label Feb 8, 2017
@@ -6078,7 +6078,7 @@ with pkgs;

binutilsCross = assert targetPlatform != buildPlatform; lowPrio (
if targetPlatform.libc == "libSystem" then darwin.cctools_cross
else forcedNativePackages.binutils.override {
else forcedNativePackages.binutils-raw.override {
Copy link
Member

Choose a reason for hiding this comment

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

Why? binutils-raw is very rarely what you want, as the GNU tools in it often screw up Mach-O binaries.

Copy link
Member Author

Choose a reason for hiding this comment

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

Both are wrong; I fix in my ghc-android branch: you need to feed in the overridden binutils into the darwin wrapper.

@Ericson2314
Copy link
Member Author

I'll open a new one or reopen this once I deal with all my outstanding commits.

@Ericson2314 Ericson2314 deleted the release-cross-darwin branch April 24, 2017 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: darwin Running or building packages on Darwin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants