Robert Pluim writes:
Jesse Marlin writes:
> Yes, we are using solaris ld (v3.0). This was an unknown option. I looked
> at the man page for some options that might be related to combreloc
> option, but I only found the one -z combreloc. From gcc I noticed
> on the link line that a -z nocombreloc was being passed in, but it
> probably has no effect because the linker does not support it.
Hmm, if gcc were using solaris ld, then ld would complain, since it
does not support -z nocombreloc. Is it possible for you to run the
gcc link line with "-v" as this will tell us exactly which commands
gcc is calling? (gcc can be quite persistent at using GNU ld even
though Solaris ld is available. Adding -B/usr/ccs/bin/ (note the
trailing backslash) to the link line is the only sure-fire way I've
found of getting it to do the right thing (besides uninstalling GNU
ld, of course ;-)
Robert
--
Here is the link line:
[jlm@ray src]$ gmake CFLAGS+=-v
gcc -v -z ignore -L/usr/local/lib -L/usr/ccs/lib -Xlinker
-R/usr/ccs/lib:/usr/local/lib:/usr/dt/lib:/usr/openwin/lib -L/usr/dt/lib
-L/usr/openwin/lib -o temacs 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 unexsol2-6.o balloon_help.o balloon-x.o tooltalk.o eldap.o dgif_lib.o gif_io.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 sunplay.o console-tty.o device-tty.o event-tty.o frame-tty.o
objects-tty.o redisplay-tty.o cm.o terminfo.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 gmalloc.o vm-limit.o ralloc.o EmacsFrame.o EmacsShell.o
TopLevelEmacsShell.o TransientEmacsShell.o EmacsManager.o ../lwlib/liblw.a -lXm -lpng
-lz -lXpm -ltt -lXmu -lXt -lXext -lX11 -lSM -lICE -lgdbm -lcurses
/usr/demo/SOUND/lib/libaudio.a -lldap -lm -lsocket -lnsl -lelf -lgen -ldl
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/specs
gcc version 2.95.2 19991024 (release)
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/collect2 -V -Y P,/usr/ccs/lib:/usr/lib
-Qy -o temacs -z ignore /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/crt1.o
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/crti.o /usr/ccs/lib/values-Xa.o
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/crtbegin.o -L/usr/local/lib
-L/usr/ccs/lib -L/usr/dt/lib -L/usr/openwin/lib
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2 -L/usr/local/sparc-sun-solaris2.7/lib
-L/usr/ccs/bin -L/usr/ccs/lib -L/usr/local/lib
-R/usr/ccs/lib:/usr/local/lib:/usr/dt/lib:/usr/openwin/lib 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 unexsol2-6.o balloon_help.o balloon-x.o
tooltalk.o eldap.o dgif_lib.o gif_io.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 sunplay.o
console-tty.o device-tty.o event-tty.o frame-tty.o objects-tty.o redisplay-tty.o cm.o
terminfo.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 gmalloc.o vm-limit.o
ralloc.o EmacsFrame.o EmacsShell.o TopLevelEmacsShell.o TransientEmacsShell.o
EmacsManager.o ../lwlib/liblw.a -lXm -lpng -lz -lXpm -ltt -lXmu -lXt -lXext -lX11 -lSM
-lICE -lgdbm -lcurses /usr/demo/SOUND/lib/libaudio.a -lldap -lm -lsocket
-lnsl -lelf -lgen -ldl -lgcc -lc -lgcc
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/crtend.o
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/crtn.o
ld: Software Generation Utilities - Solaris/ELF (3.0)
./temacs -nd -batch -l /trout/home/jlm/compile/xemacs-21.4.6/src/../lisp/update-elc.el