>>>> "Ed" == Ed Avis <Avis> writes:
Ed> I configured and built xemacs-21.5.14, and it seemed to go okay until:
Ed> Dumping under the name xemacs
Ed> unexec(): dldump(/u/avised/inst/xemacs-21.5.14/src/xemacs): ld.so.1:
Ed> ./temacs: fatal: /u/avised/inst/xemacs-21.5.14/src/xemacs: unknown
Ed> dynamic entry: 1879048176
Sun doesn't get along with GNU binutils.
*** Dumping error when using GNU binutils / GNU ld on a Sun.
Errors similar to the following:
Dumping under the name xemacs unexec():
dldump(/space/rpluim/xemacs-obj/src/xemacs): ld.so.1: ./temacs:
fatal: /space/rpluim/xemacs-obj/src/xemacs: unknown dynamic entry:
1879048176
are caused by using GNU ld. There are several workarounds available:
In XEmacs 21.2 or later, configure using the new portable dumper
(--pdump).
Alternatively, you can link using the Sun version of ld, which is
normally held in /usr/ccs/bin. This can be done by one of:
- building gcc with these configure flags:
configure --with-ld=/usr/ccs/bin/ld --with-as=/usr/ccs/bin/as
- adding -B/usr/ccs/bin/ to CFLAGS used to configure XEmacs
(Note: The trailing '/' there is significant.)
- uninstalling GNU ld.
The Solaris2 FAQ claims:
When you install gcc, don't make the mistake of installing
GNU binutils or GNU libc, they are not as capable as their
counterparts you get with Solaris 2.x.
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Ask not how you can "do" free software business;
ask what your business can "do for" free software.