Subject: Re: problem building emacs on sparc64
To: None <port-sparc@netbsd.org, sjg@quick.com.au>
From: None <eeh@netbsd.org>
List: port-sparc
Date: 01/08/2001 16:10:17
===> Building for emacs-20.7
cd lib-src; gmake all \
CC='cc' CFLAGS='-O' CPPFLAGS='' \
LDFLAGS='-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/X11R6/lib' MAKE='gmake'
gmake[1]: Entering directory `/var/obj/pkgsrc/editors/emacs/work/emacs-20.7/lib-src'
cc -DHAVE_CONFIG_H -I. -I../src -I/var/obj/pkgsrc/editors/emacs/work/emacs-20.7/lib-src -I/var/obj/pkgsrc/editors/emacs/work/emacs-20.7/lib-src/../src -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/X11R6/lib -O -o test-distrib /var/obj/pkgsrc/editors/emacs/work/emacs-20.7/lib-src/test-distrib.c
./test-distrib /var/obj/pkgsrc/editors/emacs/work/emacs-20.7/lib-src/testfile
./test-distrib: Shared object has no run-time symbol table
gmake[1]: *** [test-distrib] Error 1
gmake[1]: Leaving directory `/var/obj/pkgsrc/editors/emacs/work/emacs-20.7/lib-src'
gmake: *** [lib-src] Error 2
*** Error code 2
There is a problem with the `ld' provided in the 1.5 tarballs. It's
the same one being used on all the other architectures, which does not
work for sparc64. That version of `ld' generates this problem.
I sent a new set with the fixed `ld' to releng a few weeks ago
but I don't know what the state of that is at the moment.
You can try grabbing `ld' from one of the toolchain snapshots and see
if it fixes the problem.
Eduardo