* 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
[parent not found: <mailman.5658.1052251660.21513.help-gnu-emacs@gnu.org>]
* 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
[parent not found: <20030512164103.1607f814.samuel@ma.hw.ac.uk>]
* 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: 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
2003-05-14 16:34 ` Hin-Tak Leung
2 siblings, 1 reply; 10+ messages in thread
From: Richard Stallman @ 2003-05-14 13:48 UTC (permalink / raw)
Cc: samuel
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
* 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 --
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
[not found] <mailman.5658.1052251660.21513.help-gnu-emacs@gnu.org>
2003-05-07 2:01 ` Sam Halliday
-- strict thread matches above, loose matches on Subject: below --
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
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).