all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hin-Tak Leung <hintak_leung@yahoo.co.uk>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: emacs-19.34 segfauls when built with Xfree 4.3.0 (glibc 2.3.x,gcc 3.2)
Date: Fri, 16 May 2003 11:38:16 +0100	[thread overview]
Message-ID: <3EC4BF98.3000209@yahoo.co.uk> (raw)
In-Reply-To: <E19GKs5-0004bY-00@fencepost.gnu.org>

Richard Stallman wrote:
>     As it turns out, the solution (adding '-z nocombreloc' to LDFLAGS)
>     fixes problem with building current version of emacs as well.
> 
> That is very strange.  The current version (21.3) contains code to use
> those options automatically--see src/s/gnu-linux.h.  Can you debug why
> this automatic mechanism failed to work for you?

Many Apologies, you are right - 21.3 does build correctly on my
system (GNU/Linux). But I also had a quick look around, and found that:

(a) the other bug report with that symptom (-nw ok, die at 
XtInitializeWidgetClass () in XFree86 4.3), filed against CVS emacs was
for x86-freebsd5.0. (oops).

(b) '-z nocombreloc' is set for gnu-linux, not for any of the other
system type or machine type. Shouldn't GNU/Hurd gets it as well,
as there is no other linker but GNU ld on GNU/Hurd?

(c) there doesn't seem to be any check for recent version (<14 months)
of GNU ld (where the precise problem is)? or indeed, the presence of
any version of GNU ld?

I believe it is possible to build gcc on freebsd (and many other
systems) '--with-gnu-ld'? How often this is done, I don't know -
it is probably not recommended to build gcc like that either. And I
have no idea which ld gcc's ./configure will pick by default if
GNU ld is somehow available in addition to the BSD one, but I
do know that if both gcc and another cc is available, emacs's
./configure picks gcc. It is possibly quite difficult to check
for exactly (c), because it is buried underneath gcc in how
it was built? Unfortunately the person who submitted that particular
bug report is no longer contactable, and there didn't seem to be
any follow up; but given he had Xfree86 4.3, his system would
have been quite recent otherwise, and it is not unthinkable that
he has a recent version of GNU ld.

  parent reply	other threads:[~2003-05-16 10:38 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-12 14:40 emacs-19.34 segfauls when built with Xfree 4.3.0 (glibc 2.3.x,gcc 3.2) Hin-Tak Leung
2003-05-12 15:22 ` Thien-Thi Nguyen
2003-05-12 16:12   ` emacs-19.34 segfaults when built with Xfree 4.3.0 (glibc2.3.x,gcc 3.2) Hin-Tak Leung
2003-05-12 17:18     ` Thien-Thi Nguyen
2003-05-12 17:51       ` emacs-19.34 segfaults when built with Xfree 4.3.0(glibc2.3.x,gcc 3.2) Hin-Tak Leung
2003-05-12 18:15         ` Thien-Thi Nguyen
2003-05-12 19:00           ` Hin-Tak Leung
2003-05-12 20:36             ` Thien-Thi Nguyen
2003-05-12 22:11               ` Hin-Tak Leung
     [not found]               ` <mailman.6068.1052777215.21513.help-gnu-emacs@gnu.org>
2003-05-13  7:07                 ` Kai Großjohann
     [not found] ` <20030512164103.1607f814.samuel@ma.hw.ac.uk>
2003-05-12 16:25   ` emacs-19.34 segfauls when built with Xfree 4.3.0 (glibc 2.3.x,gcc 3.2) Hin-Tak Leung
     [not found]     ` <20030512180149.371bb9d5.samuel@ma.hw.ac.uk>
2003-05-12 17:29       ` Hin-Tak Leung
2003-05-12 22:41         ` Sam Halliday
2003-05-12 22:52           ` Hin-Tak Leung
2003-05-14  2:51         ` Eli Zaretskii
2003-05-14 13:48 ` Richard Stallman
2003-05-14 16:34   ` Hin-Tak Leung
2003-05-15 15:42     ` Richard Stallman
2003-05-15 18:27       ` Hin-Tak Leung
2003-05-16 10:38       ` Hin-Tak Leung [this message]
2003-05-16 11:40         ` Andreas Schwab
2003-05-16 12:11           ` Hin-Tak Leung
2003-05-16 12:40             ` Andreas Schwab
2003-05-16 17:11               ` Hin-Tak Leung
2003-05-17 13:50         ` Richard Stallman
2003-05-17 17:40           ` Hin-Tak Leung
     [not found] <mailman.5658.1052251660.21513.help-gnu-emacs@gnu.org>
2003-05-07  2:01 ` emacs-19.34 segfauls when built with Xfree 4.3.0 (glibc 2.3.x, gcc 3.2) Sam Halliday
  -- strict thread matches above, loose matches on Subject: below --
2003-05-06 20:12 Hin-Tak Leung

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3EC4BF98.3000209@yahoo.co.uk \
    --to=hintak_leung@yahoo.co.uk \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.