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
Cannot finish building "make bootstrap" #7054
Comments
Comment author: @gasche This sounds like an issue caused by You may want to retry building and bootstraping the git index before this PR was merged, for example at the just-before commit Otherwise, below is a diff that could maybe solve your issue -- tell me if it does and I'll commit it upstream. (Once you get something working, feel free to propose a patch to fix the build system for NetBSD/arm, here as a "git format-patch" output or as a github pull request, as your prefer.) diff --git a/debugger/Makefile.shared b/debugger/Makefile.shared OTHEROBJS=
|
Comment author: @mshinwell I thought Xavier had already committed a fix for this on trunk? |
Comment author: @xavierleroy Yes, I ran into this issue yesterday and committed a fix, e896e90 Could you please "git pull" and try again? |
Comment author: @gasche xleroy > note that utils/misc.ml now depends on Clflags, so your fix seems incomplete in theory. In practice the dependency is only on the name of constant constructors, so I guess that somehow never generates a hard linking dependency. |
Comment author: @xavierleroy gasche > feel free to commit your fix (with clflags before misc) on top of mine. |
Comment author: RichN I probably should have based my work off a more stable branch, but I wanted to minimize the diffs when I eventually make the pull-request. Thanks for pointing out the problem. I'm rebuilding everything with the latest source. If it succeeds, I'll close out this issue. |
Comment author: RichN gmake compare Excellent! This issue can be closed out. Now I'm off to "make opt". |
Original bug ID: 7054
Reporter: RichN
Assigned to: @xavierleroy
Status: closed (set by @xavierleroy on 2017-02-16T14:16:44Z)
Resolution: fixed
Priority: low
Severity: minor
OS: NetBSD
OS Version: 7.0
Fixed in version: 4.03.0+dev / +beta1
Category: configure and build/install
Bug description
I'm trying to add support to OCaml for NetBSD/arm. I'm building the latest git sources on a RaspberryPi running NetBSD 7.0. I can do this successfully:
('gmake' is GnuMake on NetBSD)
Then I try to confirm it built correctly by running:
But it fails with:
Reading the INSTALL file a little closer, it mentions that systems need to specify their GnuMake with an environment variable:
If I do this, then the original build fails, too, with the same error. If I undefine GNUMAKE and rebuild, it succeeds (however, the "make bootstrap" still fails in the same spot.)
Steps to reproduce
This may be very specific to the platform. On my RaspberryPi, it happens every time I try to build OCaml. I can give access to the machine, if someone wants to take a closer look.
Additional information
Minor configure changes were made so that the build system recognizes NetBSD/arm platforms. Nothing was done to the build system with regards to the ocamldebugger (where the error seems to have occurred.) A complete set of diffs is available (there aren't many.)
The text was updated successfully, but these errors were encountered: