From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Thu, 24 Apr 1997 17:10:40 +0100 From: Nigel Metheringham Subject: Problems with building xemacs on alpha Long ago I got xemacs working on a noname box under RH 2.x or so (so ECOFF). Recently I offered to build up a copy so that the xemacs rpm's on red hat contrib covered the alpha as well. In the meantime I have upgraded to RH 4.1, and so the world has gone elf. I have hacked elf64 support out of Gnu emacs, but the build fails in the link of temacs (so before we hit anything relating to dump/undump support - its just a relatively normal link). It looks like the sheer number of libraries/symbols have overcome ld's capability to cope! I'll copy in the link command and the first few of several hundred lines of error message. I have tried linking in pieces - making several relocatable sections and linking them, also switching from dynamic to static linking. However I still am hitting this problem. Any suggestions as to solutions or why this is happening would be greatfully received.... Nigel. [link trace follows] gcc -nostdlib -L/usr/X11R6/lib -L. -L ../lwlib -o temacs pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o abbrev.o alloc.o blocktype.o buffer.o bytecode.o callint.o callproc.o casefiddle.o casetab.o cmdloop.o cmds.o console.o console-stream.o data.o database.o device.o dialog.o dired.o doc.o doprnt.o dynarr.o editfns.o elhash.o emacs.o eval.o events.o event-stream.o event-unixoid.o extents.o faces.o fileio.o filelock.o filemode.o floatfns.o fns.o font-lock.o frame.o general.o getloadavg.o dgif_lib.o gif_err.o gifalloc.o glyphs.o gui.o hash.o indent.o inline.o insdel.o intl.o keymap.o lread.o lstream.o macros.o marker.o md5.o menubar.o minibuf.o objects.o opaque.o print.o process.o profile.o pure.o rangetab.o realpath.o redisplay.o redisplay-output.o regex.o scrollbar.o search.o signal.o sound.o specifier.o strftime.o symbols.o syntax.o sysdep.o toolbar.o console-tty.o device-tty.o event-tty.o frame-tty.o objects-tty.o redisplay-tty.o cm.o undo.o unexelf1.o console-x.o device-x.o dialog-x.o event-Xt.o frame-x.o glyphs-x.o gui-x.o menubar-x.o objects-x.o redisplay-x.o scrollbar-x.o toolbar-x.o xgccache.o xselect.o window.o terminfo.o lastfile.o ralloc.o EmacsFrame.o EmacsShell.o TopLevelEmacsShell.o TransientEmacsShell.o EmacsManager.o -llw -lXaw -lXpm -lcompface -ljpeg -lpng -lz -lXmu -lXt -lSM -lICE -lXext -lX11 -lncurses -lgdbm -ldb -lm -lgcc -lc -lgcc /usr/lib/crtn.o buffer.o: In function `init_buffer': buffer.c(.text+0x7ac4): the `getwd' function is dangerous and should not be used. ../lwlib/liblw.a(lwlib-Xlw.o): In function `xlw_create_scrollbar': lwlib-Xlw.c(.text+0x66c): relocation truncated to fit: LITERAL xlwScrollBarWidgetClass ../lwlib/liblw.a(lwlib-Xlw.o): In function `xlw_update_scrollbar': lwlib-Xlw.c(.text+0x768): relocation truncated to fit: LITERAL $C51 lwlib-Xlw.c(.text+0x770): relocation truncated to fit: LITERAL $C52 lwlib-Xlw.c(.text+0x7bc): relocation truncated to fit: LITERAL $C53 lwlib-Xlw.c(.text+0x800): relocation truncated to fit: LITERAL $C54 lwlib-Xlw.c(.text+0x8ac): relocation truncated to fit: LITERAL XlwScrollBarSetValues ../lwlib/liblw.a(lwlib-Xlw.o): In function `lw_lucid_widget_p': lwlib-Xlw.c(.text+0x900): relocation truncated to fit: LITERAL xlwScrollBarWidgetClass ../lwlib/liblw.a(lwlib-Xlw.o): In function `xlw_update_one_widget': lwlib-Xlw.c(.text+0x990): relocation truncated to fit: LITERAL xlwScrollBarWidgetClass ../lwlib/liblw.a(lwlib-Xlw.o): In function `xlw_popup_menu': lwlib-Xlw.c(.text+0xa08): relocation truncated to fit: LITERAL xlw_pop_up_menu ../lwlib/liblw.a(xlwmenu.o): In function `push_new_stack': xlwmenu.c(.text+0x310): relocation truncated to fit: LITERAL XtCalloc xlwmenu.c(.text+0x354): relocation truncated to fit: LITERAL XtRealloc ../lwlib/liblw.a(xlwmenu.o): In function `make_old_stack_space': xlwmenu.c(.text+0x3f8): relocation truncated to fit: LITERAL XtCalloc xlwmenu.c(.text+0x430): relocation truncated to fit: LITERAL XtRealloc ../lwlib/liblw.a(xlwmenu.o): In function `close_to_reference_time': xlwmenu.c(.text+0x484): relocation truncated to fit: LITERAL XtGetMultiClickTime ../lwlib/liblw.a(xlwmenu.o): In function `string_width': xlwmenu.c(.text+0x504): relocation truncated to fit: LITERAL XTextExtents ../lwlib/liblw.a(xlwmenu.o): In function `parameterize_string': xlwmenu.c(.text+0x700): relocation truncated to fit: LITERAL XtMalloc xlwmenu.c(.text+0x734): relocation truncated to fit: LITERAL $C78 xlwmenu.c(.text+0x7a8): relocation truncated to fit: LITERAL XtMalloc xlwmenu.c(.text+0x900): relocation truncated to fit: LITERAL $C79 xlwmenu.c(.text+0x960): relocation truncated to fit: LITERAL $C79 [and around 400 lines more] -- [ Nigel.Metheringham@theplanet.net - Systems Software Engineer ] [ Tel : +44 113 251 6012 Fax : +44 113 224 0003 ] [ Friends don't let friends use sendmail! ] -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com