From: Paul Eggert <eggert@cs.ucla.edu>
To: Dilyan Palauzov <dilyan.palauzov@aegee.org>
Cc: 20297@debbugs.gnu.org
Subject: bug#20297: compiling emacs 24.5 (src/Makefile and RUN_TEMACS)
Date: Sun, 12 Apr 2015 15:58:52 -0700 [thread overview]
Message-ID: <552AF8AC.3080904@cs.ucla.edu> (raw)
In-Reply-To: <55283442.9080909@aegee.org>
I don't observe this problem on Fedora 21 x86-64, when configuring similar to
the way you did:
./configure CFLAGS='-m32' --with-kerberos5 --with-wide-int --without-x
Could you give more details about your platform? In particular, I'm puzzled
about the "CFLAGS='-pipe -O3 -fno-fat-lto-objects -flto -mssse3'" and the
"LDFLAGS='-Wl,-O1 -Wl,-z,relro -Wl,-S'" settings, if all you ran was
"./configure --with-kerberos5 --with-wide-int --without-x" and "make". As far
as I can see, the Emacs 24.5 source code does not specify -pipe, or -O3, or
-mssse3, or -flto and -ffat-lto-objects (unless you configure with
--enable-link-time-optimization), or -Wl,-z,relro, etc. If your build system is
specifying those options, I suggest bypassing it and building Emacs without the
extra options; then you can turn the options on one at a time and see which one
is causing your problem.
> The problem is the variable RUN_TEMACS in src/Makefile(.in), which is
> "./temacs", but shall be the path to temacs, relative to the build-root.
I don't see why this is the problem. Your build is trying to run ./temacs and
./temacs is dumping core with an illegal instruction. This sounds like a bug,
regardless of how temacs was invoked.
Also, can you build the Emacs master branch? Please try:
git clone git://git.savannah.gnu.org/emacs.git
cd emacs
./autogen.sh
./configure
make
If this works for you, then your bug is probably fixed already in Emacs 25.
next prev parent reply other threads:[~2015-04-12 22:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-10 20:36 bug#20297: compiling emasc 24.5 (src/Makefile and RUN_TEMACS) Дилян Палаузов
2015-04-12 22:58 ` Paul Eggert [this message]
2015-04-13 11:05 ` bug#20297: compiling emacs " Дилян Палаузов
2015-04-13 11:42 ` Дилян Палаузов
2015-04-13 14:06 ` Paul Eggert
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=552AF8AC.3080904@cs.ucla.edu \
--to=eggert@cs.ucla.edu \
--cc=20297@debbugs.gnu.org \
--cc=dilyan.palauzov@aegee.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).