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

Cannot build native compiler on mips64el-linux-gnu #4849

Closed
vicuna opened this issue Aug 23, 2009 · 3 comments
Closed

Cannot build native compiler on mips64el-linux-gnu #4849

vicuna opened this issue Aug 23, 2009 · 3 comments
Assignees

Comments

@vicuna
Copy link

vicuna commented Aug 23, 2009

Original bug ID: 4849
Reporter: @rixed
Assigned to: @xavierleroy
Status: closed (set by @xavierleroy on 2011-06-04T15:40:48Z)
Resolution: won't fix
Priority: normal
Severity: block
Version: 3.11.1
Category: ~DO NOT USE (was: OCaml general)
Monitored by: @glondu

Bug description

This was already reported on #4359, which was closed as "wontfix" since Mips
is not supported any more.
Anyway, as I believe Mips is far from dead (since China decided to build some), here is a patch that :

  • complete the configure script in order to choose correct default for mips64el-linux-gnu architectures
  • fix the generated code to handle little endian
  • fix a bug in generated code related to gp (may not have been present on Irix)

Notice that this patch was designed to work on a GNU/Linux distribution with n32 userland (as now, that mean experimental gentoo, experimental suze and maybe soon a new debian). This won't be enough on a stock mipsel debian (I would say it would be possible with multilib and maybe without dynlink but haven't tried).

File attachments

@vicuna
Copy link
Author

vicuna commented Jan 20, 2010

Comment author: @rixed

Any news on that ?
If there is a problem with that patch maybe I can help fix it ?

@vicuna
Copy link
Author

vicuna commented Mar 18, 2010

Comment author: @rixed

I forgot to fix a bug when calling a C function with more than 8 parameters. The last patch fix this (as well as previous problems).

@vicuna
Copy link
Author

vicuna commented Jun 4, 2011

Comment author: @xavierleroy

Apologies for leaving this PR hanging for so long. Interest in the MIPS port of ocamlopt seems still very low, and I'm still unable to maintain it by lack of appropriate hardware, so I think it is time to declare that port officially abandoned.

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

No branches or pull requests

2 participants