Bug 21264 - emerge of app-editors/xemacs-21.4.12 fails to build
Bug#: 21264 Product:  Gentoo Linux Version: unspecified Platform: Alpha
OS/Version: Linux Status: RESOLVED Severity: major Priority: P2
Resolution: FIXED Assigned To: alpha@gentoo.org Reported By: pcmoore@umich.edu
Component: Applications
URL: 
Summary: emerge of app-editors/xemacs-21.4.12 fails to build
Keywords:  
Status Whiteboard: 
Opened: 2003-05-19 13:41 0000
Description:   Opened: 2003-05-19 13:41 0000
When emerging app-editors/xemacs-21.4.12 the build fails with the following
error: 

*** 
gcc -mcpu=ev67 -O3 -pipe   -L/usr/X11R6/lib -Wl,-export-dynamic -o xemacs 
abbrev.o 
alloc.o blocktype.o buffer.o bytecode.o callint.o callproc.o casefiddle.o
casetab.o 
chartab.o cmdloop.o cmds.o console.o console-stream.o data.o device.o dired.o
doc.o 
doprnt.o dynarr.o editfns.o elhash.o emacs.o eval.o events.o filelock.o
dumper.o 
balloon_help.o balloon-x.o menubar.o scrollbar.o dialog.o toolbar.o menubar-x.o 
scrollbar-x.o dialog-x.o toolbar-x.o gui-x.o realpath.o inline.o linuxplay.o
miscplay.o 
console-tty.o device-tty.o event-tty.o frame-tty.o objects-tty.o
redisplay-tty.o cm.o 
terminfo.o gpmevent.o event-unixoid.o database.o sysdll.o emodules.o
process-unix.o 
event-stream.o extents.o faces.o fileio.o  filemode.o floatfns.o fns.o
font-lock.o frame.o 
general.o glyphs.o glyphs-eimage.o glyphs-widget.o gui.o gutter.o  hash.o
imgproc.o 
indent.o insdel.o intl.o keymap.o  line-number.o lread.o lstream.o macros.o
marker.o 
md5.o minibuf.o objects.o opaque.o print.o process.o profile.o rangetab.o
redisplay.o 
redisplay-output.o regex.o search.o select.o  signal.o sound.o specifier.o
strftime.o 
symbols.o syntax.o sysdep.o undo.o console-x.o device-x.o event-Xt.o frame-x.o 
glyphs-x.o objects-x.o redisplay-x.o select-x.o xgccache.o widget.o window.o 
lastfile.o 
vm-limit.o  EmacsFrame.o EmacsShell.o TopLevelEmacsShell.o 
TransientEmacsShell.o EmacsManager.o   dump-id.o ../lwlib/liblw.a  -lXm -lpng
-ljpeg 
-lz -lXpm -lXmu -lXt -lXext -lX11 -lSM -lICE -lgdbm -lgpm -lncurses -lm -lutil 
./xemacs -nd -batch -l 
/var/tmp/portage/xemacs-21.4.12/work/xemacs-21.4.12/src/../lisp/update-elc.el 
Error before initialization is complete! 
Fatal error: assertion failed, file eval.c, line 1880, abort() 
make[1]: *** [update-elc.stamp] Aborted 
make[1]: Leaving directory
`/var/tmp/portage/xemacs-21.4.12/work/xemacs-21.4.12/src' 
make: *** [src] Error 2 

!!! ERROR: app-editors/xemacs-21.4.12 failed. 
!!! Function src_compile, Line 165, Exitcode 2 
!!! (no error message) 
***

------- Comment #1 From Aron Griffis (RETIRED) 2003-05-21 23:03:51 0000 -------
Note this works on x86 (just tested), so I'm assuming it's an alpha-only
problem.

------- Comment #2 From Tavis Ormandy (RETIRED) 2003-05-22 09:45:28 0000 -------
Confirmed, note this mailing list post

http://list-archive.xemacs.org/xemacs-beta/200303/msg00007.html

use alpha && myconf="${myconf} --with-system-malloc" fixes it for me, if someone else can verify i'll commit it.

------- Comment #3 From Paul Moore 2003-05-22 12:31:54 0000 -------
I was able to build XEmacs-21.4.12 from a tarball using the system-malloc
yesterday.  I just patched up my ebuild for the package and I am emerging it as
I type this, I'll update this when it is finished.

Quick little bugger - it just finished, looks okay.  It sounds like this is
really a problem with glibc, should this bug be transfered to the glibc folk?

------- Comment #4 From Tavis Ormandy (RETIRED) 2003-05-22 14:14:52 0000 -------
Comitted, Thanks.

------- Comment #5 From Paul Moore 2003-05-22 14:19:35 0000 -------
Perhaps I spoke to soon, xemacs is crashing quite a bit at various places.  I
am beginning to wonder about possibly downgrading my version of glibc to a
2.2.x - any reason why I shouldn't?

------- Comment #6 From Tavis Ormandy (RETIRED) 2003-05-22 14:53:59 0000 -------
You cant downgrade glibc, it _will_ break your system. 

I cant reproduce any crashes, although i dont know emacs very well, is there a way to reproduce a crash? (i've compiled my copy with ccc, i dont think would effect it though)

------- Comment #7 From Paul Moore 2003-05-23 10:04:27 0000 -------
Yeah, I guess I thought the /sbin and /bin paths were all statically linked -
you can imagine my surprise when I was installing the older version of glibc
and '/bin/rm' failed ... on the plus side at least ldconfig is statically
linked ;)

As far as compilers go I have compiled everything on my system with gcc since
it was there, right now I am just trying to get this machine to a useable
state.  I may go back later and recompile key packages with ccc for performance
reasons.  However, at this point I have already spent more time on getting this
box up then I had planned.

Thanks for your help and all of the alpha team's hard work in making gentoo
happen on Alpha.