unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacs-19.34 segfauls when built with Xfree 4.3.0 (glibc 2.3.x, gcc 3.2)
@ 2003-05-06 20:12 Hin-Tak Leung
  0 siblings, 0 replies; 10+ messages in thread
From: Hin-Tak Leung @ 2003-05-06 20:12 UTC (permalink / raw)


I am trying to build emacs-19.34 against glibc-2.3 and Xfree 4.3.0
on linux with gcc 3.2. The binary works with -nw switch, but
when I run it without -nw, it segfaults with Fatal Error(11).
So it seems to be an X-related problem.

I had an older binary which was compiled by gcc 2.95.x against
Xfree 4.1(?) and glibc-2.1 (maybe 2.0?) which still works on
this current system.


#uname -a
Linux pc7221 2.4.20 #2 Wed Apr 23 08:44:11 BST 2003 i686 unknown

#cat /var/log/XFree86.log
XFree86 Version 4.3.0
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.20 i686 [ELF]

# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/specs
Configured with: ../gcc-3.2.2/configure --prefix=/usr --enable-shared 
--enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld 
--verbose --target=i386-slackware-linux --host=i386-slackware-linux
Thread model: posix
gcc version 3.2.2

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: emacs-19.34 segfauls when built with Xfree 4.3.0 (glibc 2.3.x, gcc 3.2)
       [not found] <mailman.5658.1052251660.21513.help-gnu-emacs@gnu.org>
@ 2003-05-07  2:01 ` Sam Halliday
  0 siblings, 0 replies; 10+ messages in thread
From: Sam Halliday @ 2003-05-07  2:01 UTC (permalink / raw)


Hin-Tak Leung wrote:
> I am trying to build emacs-19.34 against glibc-2.3 and Xfree 4.3.0
> on linux with gcc 3.2. The binary works with -nw switch, but
> when I run it without -nw, it segfaults with Fatal Error(11).
> So it seems to be an X-related problem.

have you tried using a more recent version of emacs? emacs-21.3.1 is
what i use and it compiled with gcc-3.2.3 on XFree86-4.3 no problems
(glibc-3.2.3) using using Lesstif-0.93.41. unless there is some reason
you WANT to use an older version?

cheers,
Sam

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: emacs-19.34 segfauls when built with Xfree 4.3.0 (glibc 2.3.x,gcc 3.2)
@ 2003-05-12 14:40 Hin-Tak Leung
  2003-05-12 15:22 ` Thien-Thi Nguyen
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Hin-Tak Leung @ 2003-05-12 14:40 UTC (permalink / raw)


That's a somewhat time-wasting question - if I am on linux with
gcc 3.2 glibc 2.3.x and Xfree 4.3.0 most certainly the linux
distribution I use come with a more recent version of emacs or xemacs.
(actually both). And my original post mentioned that I built emacs-19
successfully on a Xfree 4.1/glibc 2.0/2.1 system as well,
and that binary still works on the current system.

I want to use a elisp script called cemacs (for Chinese inputs)
but unfortunately the inclusion the MULE (Multi-lingual Extension)
since version 20 has broken it. It does continue to work with
xemacs-21.x, but that's besides the point.

Now back to my question: why emacs 19.34 segfault when built against
glibc-2.3 and Xfree 4.3.0? And please stick to the question... -
and please do not ask why I don't switch to xemacs, or use MULE.

Just to anticipate these two questions: MULE is no where as good
as cemacs (unfortunately, and please don't start an argument on why I
should use MULE even though it is inferior), and xemacs is too
bloated for my taste. So I would really rather try to keep using
a small installation of 19.34 (in addition to emacs 21 which came
with the distro), or port cemacs forward to emacs 21 (quite major
work, probably). The 2nd option is probably better for long
term, but until it is done, I will continue to try to build emacs
19 on current systems... and I would really like to find out
why it won't build.

==============
Hin-Tak Leung wrote:
> I am trying to build emacs-19.34 against glibc-2.3 and Xfree 4.3.0
> on linux with gcc 3.2. The binary works with -nw switch, but
> when I run it without -nw, it segfaults with Fatal Error(11).
> So it seems to be an X-related problem.

have you tried using a more recent version of emacs? emacs-21.3.1 is
what i use and it compiled with gcc-3.2.3 on XFree86-4.3 no problems
(glibc-3.2.3) using using Lesstif-0.93.41. unless there is some reason
you WANT to use an older version?

cheers,
Sam

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: emacs-19.34 segfauls when built with Xfree 4.3.0 (glibc 2.3.x,gcc  3.2)
  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
       [not found] ` <20030512164103.1607f814.samuel@ma.hw.ac.uk>
  2003-05-14 13:48 ` Richard Stallman
  2 siblings, 0 replies; 10+ messages in thread
From: Thien-Thi Nguyen @ 2003-05-12 15:22 UTC (permalink / raw)
  Cc: samuel

Hin-Tak Leung <hintak_leung@yahoo.co.uk> writes:

   Now back to my question: why emacs 19.34 segfault when built against
   glibc-2.3 and Xfree 4.3.0? And please stick to the question... - and
   please do not ask why I don't switch to xemacs, or use MULE.

in this case probably no one can answer your question w/o your investing
effort into debugging the matter locally.  as well, probably few people
are interested in helping you if you scold them.

of course, there is the option of hiring someone to work on this problem
for you, in which case you can treat them as befits the conventional (in
your business sphere) employer / employee relationship, and clearly set
out in a written contract.  you may consult the etc/SERVICES file to
find someone in your vicinity, or further away on the net.

thi

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: emacs-19.34 segfauls when built with Xfree 4.3.0 (glibc 2.3.x,gcc 3.2)
       [not found] ` <20030512164103.1607f814.samuel@ma.hw.ac.uk>
@ 2003-05-12 16:25   ` Hin-Tak Leung
       [not found]     ` <20030512180149.371bb9d5.samuel@ma.hw.ac.uk>
  0 siblings, 1 reply; 10+ messages in thread
From: Hin-Tak Leung @ 2003-05-12 16:25 UTC (permalink / raw)


That's another pointless reply... you still have not offered
any substantial help - e.g. suggestion for compiler switches,
small modification at the source level, etc.

FWIW, I had tried both "-D_BSD_SOURCE" (the default)
and also "-D_GNU_SOURCE -D_BSD_SOURCE" (how the redhat
4.x rpm was built). Both binaries work happily with "-nw" inside
an xterm and seg-fault under X.

Thanks for another "I am trying to help and I am not saying anything" post...

Sam Halliday wrote:
> Hin-Tak Leung wrote:
> 
>>>>I am trying to build emacs-19.34
> 
> <snip>
> 
>>>have you tried using a more recent version of emacs?
> 
> <snip>
> 
>>That's a somewhat time-wasting question
> 
> 
> don't be a cheeky fucker! i was being nice to you and trying to help,
> now don't reply off list... and please keep it to the mailing lists and
> newsgroups.
> 
> and don't top post!
> 
> Sam
> 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: emacs-19.34 segfauls when built with Xfree 4.3.0 (glibc 2.3.x,gcc 3.2)
       [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-14  2:51         ` Eli Zaretskii
  0 siblings, 2 replies; 10+ messages in thread
From: Hin-Tak Leung @ 2003-05-12 17:29 UTC (permalink / raw)


(Sigh) A 3rd "See I am so helpful" post. Look - there is no
useful content in any of your three replies.

Other than my stated reason (an important old elisp script that
doesn't run under current versions), I think the memory foot-print
and launch-time could well be the reason for anybody wanting
to run emacs-19 or even earlier on current systems instead of the
current. As you say, it is a frequent-enough request, and I asked
a legitimate question that you fail to address anywhere close
in 3 posts...

Why can't you just try to answer a straight-forward question,
as you seem to suggest you "want to help"? As it turned out,
if I had mentioned cemacs (and mentioned that I don't want
to use MULE), I would be drawing myself into a
flame war regarding MULE's merits. That had seemed to be a
sensitive subject to some others (ttn@glug.org - who I believe
is possibly involved in MULE's development as I seems to have
come across that name in other projects). It is a fairly personal
choice - cemacs versus MULE, emacs 19 versus 21, and I don't really
need to explain why I prefer one to the other.

I asked a technical question and reported a possible bug
of an old unmaintained version of emacs, which I believe
some other people may like to continue to use for their own
reasons - those reasons are somewhat irrelevant to the question.
I would really prefer it to stay that way.

Sam Halliday wrote:
> Hin-Tak Leung wrote:
> 
>>Thanks for another "I am trying to help and I am not saying
>>anything" post...
> 
> 
> dude... i was trying to help initially... i know lots of people on
> mailing lists who for some reason or other like to run the latest and
> greatest linux kernel and gnu c libraries, but yet use whatever old
> program they can find (eg your old emacs) so it wasnt exactly a stupid
> thing to suggest you upgrade... if you described your system in so much
> detail, how come you managed to leave out the bit about cemacs!!!
> 
> i really dont give a shit if you start using xemacs... was that supposed
> to be some kind of lame threat, cuz it doesnt exactly scare me :-/
> 
> get a fuckin life,
> Sam
> 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: emacs-19.34 segfauls when built with Xfree 4.3.0 (glibc 2.3.x,gcc 3.2)
  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
  1 sibling, 1 reply; 10+ messages in thread
From: Sam Halliday @ 2003-05-12 22:41 UTC (permalink / raw)


Hin-Tak Leung <hintak_leung@yahoo.co.uk> wrote:
> (Sigh) A 3rd "See I am so helpful" post. Look - there is no
> useful content in any of your three replies.

they were not replies to the list... they were personal replies to you!
and were not intented for the list, so please remove me from your
CC's!!!

i offered help, you were a wanker about it... end of story. it had
NOTHING to do with the emacs mailing lists at that stage. now please
stop spamming me!

i apologise to all others on the list for this off topic email,

Sam

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: emacs-19.34 segfauls when built with Xfree 4.3.0 (glibc 2.3.x,gcc 3.2)
  2003-05-12 22:41         ` Sam Halliday
@ 2003-05-12 22:52           ` Hin-Tak Leung
  0 siblings, 0 replies; 10+ messages in thread
From: Hin-Tak Leung @ 2003-05-12 22:52 UTC (permalink / raw)
  Cc: bug-gnu-emacs

Languages... wonder what kind of school gives rise to these people.
(You bought shame on the whole *.hw.ac.uk domain...).

Sam Halliday wrote:
> Hin-Tak Leung <hintak_leung@yahoo.co.uk> wrote:
> 
>>(Sigh) A 3rd "See I am so helpful" post. Look - there is no
>>useful content in any of your three replies.
> 
> 
> they were not replies to the list... they were personal replies to you!
> and were not intented for the list, so please remove me from your
> CC's!!!
> 
> i offered help, you were a wanker about it... end of story. it had
> NOTHING to do with the emacs mailing lists at that stage. now please
> stop spamming me!
> 
> i apologise to all others on the list for this off topic email,
> 
> Sam
> 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: emacs-19.34 segfauls when built with Xfree 4.3.0 (glibc 2.3.x,gcc  3.2)
  2003-05-12 17:29       ` Hin-Tak Leung
  2003-05-12 22:41         ` Sam Halliday
@ 2003-05-14  2:51         ` Eli Zaretskii
  1 sibling, 0 replies; 10+ messages in thread
From: Eli Zaretskii @ 2003-05-14  2:51 UTC (permalink / raw)


> Date: Mon, 12 May 2003 18:29:50 +0100
> From: Hin-Tak Leung <hintak_leung@yahoo.co.uk>
> 
> I asked a technical question and reported a possible bug
> of an old unmaintained version of emacs, which I believe
> some other people may like to continue to use for their own
> reasons - those reasons are somewhat irrelevant to the question.
> I would really prefer it to stay that way.

Bugs (and a crash is a sign of a bug) should be reported to
gnu.emacs.bug, not to gnu.emacs.help.

I find it hard to believe you will find someone who will debug this
for you in such an old version of Emacs.

I looked thru etc/PROBLEMS and found there an entry about crashes at
startup when Emacs is built with XFree R6.4; there's a patch there for
Xlib, which perhaps will help you (assuming that PROBLEMS describes
the same problem there).

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: emacs-19.34 segfauls when built with Xfree 4.3.0 (glibc 2.3.x,gcc 3.2)
  2003-05-14 13:48 ` Richard Stallman
@ 2003-05-14 16:34   ` Hin-Tak Leung
  0 siblings, 0 replies; 10+ messages in thread
From: Hin-Tak Leung @ 2003-05-14 16:34 UTC (permalink / raw)
  Cc: bug-gnu-emacs

Yes, it is a GNU/Linux system.

As it turns out, the solution (adding '-z nocombreloc' to LDFLAGS)
fixes problem with building current version of emacs as well.

It is a problem with 'combreloc' becoming the default since March 2002 in
GNU ld so it affects very new GNU/Linux system when trying to build
all versions of emacs and xemacs, in addition to very new GNU/Hurd systems,
and any other system for which GNU ld is the default linker and for which the
version of GNU ld is less than 14 months old.

I'll address cemacs/MULE separately.

Richard Stallman wrote:
>     That's a somewhat time-wasting question - if I am on linux with
>     gcc 3.2 glibc 2.3.x and Xfree 4.3.0 most certainly the linux
>     distribution I use come with a more recent version of emacs or xemacs.
> 
> If it contains those things, it appears to be a GNU/Linux
> distribution, not a distribution of Linux alone.  See
> http://www.gnu.org/gnu/gnu-linux-faq.html.
> 
>     Now back to my question: why emacs 19.34 segfault when built against
>     glibc-2.3 and Xfree 4.3.0?
> 
> We're not maintaining Emacs 19.34 any more, because it is obsolete.
> Other people are free to work on it if they want to.
> 
> In contrast,, we might be interested in trying to fix this problem
> 
>     I want to use a elisp script called cemacs (for Chinese inputs)
>     but unfortunately the inclusion the MULE (Multi-lingual Extension)
>     since version 20 has broken it.
> 
> if you send a bug report with a precise complete test case.
> 
> We are certainly interested in improving MULE.  Could you write to
> emacs-devel@gnu.org and tell us why specifically MULE is not as good
> as cemacs for your usage?
> 

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-05-14 16:34 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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
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
     [not found] ` <20030512164103.1607f814.samuel@ma.hw.ac.uk>
2003-05-12 16:25   ` 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
  -- strict thread matches above, loose matches on Subject: below --
2003-05-06 20:12 emacs-19.34 segfauls when built with Xfree 4.3.0 (glibc 2.3.x, gcc 3.2) Hin-Tak Leung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).