On Sun, Feb 12, 2017 at 12:48:42PM -0600, Rob Browning wrote:
> Iain Lane <[email protected]> writes:
> 
> > We noticed in Ubuntu (zesty) that emacs24 was failing to build, like:
> >
> >> Memory exhausted--use M-x save-some-buffers then exit and restart
> >> Emacs
> >
> > ...I checked in Debian, and the same happens for us here on ppc64 (be).
> >
> >   
> > https://buildd.debian.org/status/fetch.php?pkg=emacs24&arch=ppc64&ver=24.5+1-8&stamp=1485124019&raw=0
> >
> > Some brief googling led me to
> >
> >   https://bugzilla.redhat.com/show_bug.cgi?id=1356919
> >
> > and then onto
> >
> >   https://debbugs.gnu.org/cgi/bugreport.cgi?bug=24033#11
> >
> > Which I backported to 24 (25 is fixed), and it made emacs24 build for
> > us.
> >
> > The patch is attached if you want it.
> 
> Thanks for the help -- first I'd like to figure out how this patch
> relates to
> 
>   debian/patches/0022-Emacs-should-work-with-glibc-2.24-on-ppc64.patch
> 
> Which I think may already include effectively the same code, though
> guarded differently and in a different location.  i.e. I wonder if that
> patch either needs adjustment, or replacement.

I don't think so - that's why there's a comment about duplication. If
you see the sources upstream @ emacs25, you'll find it twice:

  
http://git.savannah.gnu.org/cgit/emacs.git/tree/src/emacs.c?h=emacs-25&id=c54cf8dcfd016783bc4881eb218d7b556020a18c#n677

and

  
http://git.savannah.gnu.org/cgit/emacs.git/tree/src/emacs.c?h=emacs-25&id=c54cf8dcfd016783bc4881eb218d7b556020a18c#n810

So the patch is in line with what they have upstream, AFAICS.

It does seem to me that these two instances could possibly be reconciled
somehow, but I don't know the code at all really so I wouldn't be
confident of not breaking something if I tried.

Hope that helps.

Cheers,

-- 
Iain Lane                                  [ [email protected] ]
Debian Developer                                   [ [email protected] ]
Ubuntu Developer                                   [ [email protected] ]

Attachment: signature.asc
Description: PGP signature

Reply via email to