Summary: | app-editors/emacs MIPS support | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jon Akers <jka> |
Component: | Current packages | Assignee: | MIPS Porters <mips> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | emacs |
Priority: | High | Keywords: | KEYWORDREQ |
Version: | unspecified | ||
Hardware: | MIPS | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch to allow compile against mips based machines |
Description
Jon Akers
2008-08-06 15:26:53 UTC
It's probably a good idea to attach a unified diff with the changes to configure.in. Unfortunately, nobody in the Emacs team has MIPS hardware available, so we have no way to test or reproduce this. If you provide us with a working patch for MIPS support, we are happy to include it. Changing severity to "enhancement" since app-editors/emacs doesn't have any mips keywords. Created attachment 162426 [details, diff]
Patch to allow compile against mips based machines
Here is the patch I used to allow compilation of emacs on a mips machine like the lemote fulong.
MIPS support was recently added to the upstream CVS trunk: <http://cvs.savannah.gnu.org/viewvc/emacs/configure.in?root=emacs&r1=1.576&r2=1.578> Could you please try if app-editors/emacs-cvs-23.0.9999.ebuild works for you? OK... it compiles fine now, but I do still get that error about 95% memory usage. The memory warning is displayed in vm-limit.c, functions check_memory_limits and get_lim_data are the relevant ones. 1. Please attach the full build.log 2. Can you find out which implementation of get_lim_data is used (there are several #if conditionals)? 3. Also it would be interesting to use GDB and set a breakpoint in check_memory_limits, to see what the values of the following variables are: lim_data, cp, data_space_start I tried to compile Emacs 23.1 on the Lemote Yeeloong and it succeeded. It works fine, apart from some display errors, the CPU is a Loongson 2F, N32 userland, 64-bit little endian. The shipped Debian installation with Emacs 22 on the other hand shows the same message as reported by the original reporter. (In reply to comment #7) > I tried to compile Emacs 23.1 on the Lemote Yeeloong and it succeeded. > It works fine, apart from some display errors, the CPU is a Loongson 2F, N32 > userland, 64-bit little endian. The shipped Debian installation with Emacs 22 > on the other hand shows the same message as reported by the original reporter. So, no patch needed? Just add the keyword? (In reply to comment #8) > (In reply to comment #7) > > I tried to compile Emacs 23.1 on the Lemote Yeeloong and it succeeded. > > It works fine, apart from some display errors, the CPU is a Loongson 2F, N32 > > userland, 64-bit little endian. The shipped Debian installation with Emacs 22 > > on the other hand shows the same message as reported by the original reporter. > > So, no patch needed? Just add the keyword? I would say yes, but I only tested a limited scope of all possibilities...MIPS team? (In reply to comment #9) > > So, no patch needed? Just add the keyword? > > I would say yes, but I only tested a limited scope of all possibilities... > MIPS team? One year has passed. About time for a reminder. Does anyone on Gentoo/MIPS use emacs? Someone test it please? Added ~mips. |