* bug#2403: And the guilty is: Garbage Collecting leak
@ 2009-03-30 18:11 Ulrich Mueller
2009-03-31 2:00 ` Stefan Monnier
0 siblings, 1 reply; 5+ messages in thread
From: Ulrich Mueller @ 2009-03-30 18:11 UTC (permalink / raw)
To: Stefan Monnier; +Cc: 2403
> Other arches don't use GCPROs at all, instead they conservatively
> scan the whole stack. They do that by setting
> #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
> in the corresponding emacs/src/s/*.h. This is the preferred way to
> function, [...]
Since almost all other arches do it, I wonder if this shouldn't be
done for GNU/Linux on SuperH, too. That is, add "|| defined __sh__"
to the large #if statement in src/s/gnu-linux.h .
Ulrich
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#2403: And the guilty is: Garbage Collecting leak
2009-03-30 18:11 bug#2403: And the guilty is: Garbage Collecting leak Ulrich Mueller
@ 2009-03-31 2:00 ` Stefan Monnier
2009-04-04 21:42 ` bug#2403: GCPROs and UNGCPRO should be no-ops also on SuperH Ulrich Mueller
0 siblings, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2009-03-31 2:00 UTC (permalink / raw)
To: Ulrich Mueller; +Cc: 2403
> Since almost all other arches do it, I wonder if this shouldn't be
> done for GNU/Linux on SuperH, too. That is, add "|| defined __sh__"
> to the large #if statement in src/s/gnu-linux.h .
Yes, it's probably a good idea, but we first need to check.
If you have access to such an arch, please try it out.
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#2403: GCPROs and UNGCPRO should be no-ops also on SuperH
2009-03-31 2:00 ` Stefan Monnier
@ 2009-04-04 21:42 ` Ulrich Mueller
2009-04-17 19:42 ` Ulrich Mueller
0 siblings, 1 reply; 5+ messages in thread
From: Ulrich Mueller @ 2009-04-04 21:42 UTC (permalink / raw)
To: Stefan Monnier; +Cc: 2403, sh, emacs
[-- Attachment #1: message body text --]
[-- Type: text/plain, Size: 685 bytes --]
>> Since almost all other arches do it, I wonder if this shouldn't be
>> done for GNU/Linux on SuperH, too. That is, add "|| defined __sh__"
>> to the large #if statement in src/s/gnu-linux.h .
> Yes, it's probably a good idea, but we first need to check.
> If you have access to such an arch, please try it out.
Gentoo SuperH architecture team has tested it, and they find that
Emacs builds and works with that definition added.
Whereas without it, the build on SuperH fails with a bus error, as
mentioned on this bug report before.
So please commit attached patch.
2009-04-04 Ulrich Mueller <ulm@gentoo.org>
* s/gnu-linux.h: Make GCPROs and UNGCPRO no-ops also on SuperH.
[-- Attachment #2: emacs-23.0.92-sh.patch --]
[-- Type: text/plain, Size: 446 bytes --]
--- emacs-orig/src/s/gnu-linux.h
+++ emacs/src/s/gnu-linux.h
@@ -258,7 +258,7 @@
#if defined __i386__ || defined __sparc__ || defined __mc68000__ \
|| defined __alpha__ || defined __mips__ || defined __s390__ \
|| defined __arm__ || defined __powerpc__ || defined __amd64__ \
- || defined __ia64__
+ || defined __ia64__ || defined __sh__
#define GC_SETJMP_WORKS 1
#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
#ifdef __mc68000__
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#2403: GCPROs and UNGCPRO should be no-ops also on SuperH
2009-04-04 21:42 ` bug#2403: GCPROs and UNGCPRO should be no-ops also on SuperH Ulrich Mueller
@ 2009-04-17 19:42 ` Ulrich Mueller
2009-04-28 14:09 ` Raúl Porcel
0 siblings, 1 reply; 5+ messages in thread
From: Ulrich Mueller @ 2009-04-17 19:42 UTC (permalink / raw)
To: 2403; +Cc: sh, emacs
>>>>> On Sat, 4 Apr 2009, Ulrich Mueller wrote:
>>> Since almost all other arches do it, I wonder if this shouldn't be
>>> done for GNU/Linux on SuperH, too. That is, add "|| defined __sh__"
>>> to the large #if statement in src/s/gnu-linux.h .
>> Yes, it's probably a good idea, but we first need to check.
>> If you have access to such an arch, please try it out.
> Gentoo SuperH architecture team has tested it, and they find that
> Emacs builds and works with that definition added.
> So please commit attached patch.
Any reason why this cannot be committed?
<http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?msg=136;filename=emacs-23.0.92-sh.patch;att=1;bug=2403>
Ulrich
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#2403: GCPROs and UNGCPRO should be no-ops also on SuperH
2009-04-17 19:42 ` Ulrich Mueller
@ 2009-04-28 14:09 ` Raúl Porcel
0 siblings, 0 replies; 5+ messages in thread
From: Raúl Porcel @ 2009-04-28 14:09 UTC (permalink / raw)
To: 2403; +Cc: Ulrich Mueller, sh, emacs
Ulrich Mueller wrote:
>>>>>> On Sat, 4 Apr 2009, Ulrich Mueller wrote:
>
>>>> Since almost all other arches do it, I wonder if this shouldn't be
>>>> done for GNU/Linux on SuperH, too. That is, add "|| defined __sh__"
>>>> to the large #if statement in src/s/gnu-linux.h .
>
>>> Yes, it's probably a good idea, but we first need to check.
>>> If you have access to such an arch, please try it out.
>
>> Gentoo SuperH architecture team has tested it, and they find that
>> Emacs builds and works with that definition added.
>
>> So please commit attached patch.
>
> Any reason why this cannot be committed?
> <http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?msg=136;filename=emacs-23.0.92-sh.patch;att=1;bug=2403>
>
> Ulrich
Same question here
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-04-28 14:09 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-30 18:11 bug#2403: And the guilty is: Garbage Collecting leak Ulrich Mueller
2009-03-31 2:00 ` Stefan Monnier
2009-04-04 21:42 ` bug#2403: GCPROs and UNGCPRO should be no-ops also on SuperH Ulrich Mueller
2009-04-17 19:42 ` Ulrich Mueller
2009-04-28 14:09 ` Raúl Porcel
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.