bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Linking problem with Xemacs


From: Bartick, Brett
Subject: RE: Linking problem with Xemacs
Date: Tue, 25 Mar 2003 13:42:29 -0500

Thanks Nick!
Actually, due to my poor typing skills, the original information in my email message was incorrect. I have tested with GNU ld 2.13.2.1 and I experienced the same problem. I also sent a more elaborate email message the to Xemacs people before I sent one to this group. During my cut & paste operation, I copied the wrong information.

Actually upon further investigate on my part, I noticed a "PROBLEMS" file in the Xemacs 21.4.12 tree. This is the pertinent information from that file:


** SunOS/Solaris
*** 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.


Regards,

Brett

-----Original Message-----
From: Nick Clifton [mailto:address@hidden]
Sent: Tuesday, March 25, 2003 3:33 AM
To: Bartick, Brett
Cc: 'address@hidden'
Subject: Re: Linking problem with Xemacs


Hi Brett,

> I seem to be having another linking problem with the GNU ld.
>
> nyfiprodapp4:/root# ld -V
> GNU ld version 2.11.2 (with BFD 2.11.2)

Try downloading the latest release (2.13.2).  This should fix your
problem.  (Note do not use the earlier 2.13.1 release as this has a
serious Solaris bug in it).

Cheers
        Nick
-----  This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please delete it and all copies from your system, destroy any hard copies and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Nomura Holding America Inc., Nomura Securities International, Inc, and their respective subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state the views of such entity. Unless otherwise stated, any pricing information in this message is indicative only, is subject to change and does not constitute an offer to deal at any price quoted. Any reference to the terms of executed transactions should be treated as preliminary only and subject to our formal written confirmation.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]