From: Joseph Mingrone <jrm@ftfl.ca>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: Wolfgang Jenkner <wjenkner@inode.at>,
ashish@FreeBSD.org, 22065@debbugs.gnu.org,
Dmitry Antipov <dmantipov@yandex.ru>
Subject: bug#22065: core dumped during compilation (emacs-25 branch on FreeBSD 9)
Date: Mon, 15 Feb 2016 14:51:01 -0400 [thread overview]
Message-ID: <86d1rxst7u.fsf@phe.ftfl.ca> (raw)
In-Reply-To: <867fkz16lw.fsf@phe.ftfl.ca>
[-- Attachment #1: Type: text/plain, Size: 2223 bytes --]
Paul Eggert <eggert@cs.ucla.edu> writes:
> Joseph Mingrone wrote:
>> I'll submit a patch for the FreeBSD port to use clang.
> Hold on a minute. Please don't do that, as Emacs is far more tested on GCC and
> (among other things) GCC has better compile-time checking on Emacs. Instead of
> papering over the bug (if there is a bug), let's fix it. Here are some points:
Sure. I'm willing to test further. I just thought that since 1) clang is the
default compiler in FreeBSD 10+ and 2) if the problem was with the default,
ancient compiler in FreeBSD 9.x, I might be abusing everyone's valuable time.
> 1. I just now booted FreeBSD-9.3-RELEASE-i386 under VirtualBox and verified that
> Emacs dumped core without my recent patch
> <http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-25&id=1834ac7d24c60ecabb4fc2469d350a03db1798ab>. I
> also verified that Emacs build and runs fine with the patch. So, if Emacs is
> dumping core for you on FreeBSD 9 i386, there's something different about your
> configuration that is causing the problem. Are you sure you installed the patch
> correctly in your build?
I set the FreeBSD emacs-devel port (FreeBSD package building system) to pull
from commit 44b16f6 and I still see the problem on amd64 (with X), but not on
i386.
> 2. My fix assumes Emacs is built with GCC 4.2.1, the standard GCC on FreeBSD 9
> i386. However, your recent email <http://bugs.gnu.org/22065#22> indicates that
> you're building with GCC 4.8.5. Possibly the problem is due to this compiler or
> its installation. Can you please try building with the standard GCC 4.2.1
> instead?
> 3. Your most recent email says this:
> Message from gcc-4.8.5_2:
> To ensure binaries built with this toolchain find appropriate versions
> of the necessary run-time libraries, you may want to link using
> -Wl,-rpath=/usr/local/lib/gcc48
> And yet the same email's log says that Emacs was not linked with that
> flag. Perhaps this configuration glitch explains your problem?
The newer GCC was referenced because a dependency required it, however Emacs
itself was built with the default compiler (cc) which is a patched GCC 4.2.1 (as
Wolfgang stated).
Joseph
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
next prev parent reply other threads:[~2016-02-15 18:51 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-30 22:10 bug#22065: core dumped during compilation (emacs-25 branch on FreeBSD 9) Joseph Mingrone
2015-12-26 21:22 ` Lars Ingebrigtsen
2016-02-13 1:08 ` Paul Eggert
2016-02-14 16:12 ` Wolfgang Jenkner
2016-02-14 19:47 ` Paul Eggert
2016-02-15 4:05 ` Joseph Mingrone
2016-02-15 5:56 ` Ashish SHUKLA
2016-02-15 8:17 ` Paul Eggert
2016-02-15 13:08 ` Wolfgang Jenkner
2016-02-15 18:51 ` Joseph Mingrone
2016-02-15 18:51 ` Joseph Mingrone [this message]
2016-02-17 3:38 ` Joseph Mingrone
2016-02-17 7:56 ` Paul Eggert
2016-02-17 13:23 ` Wolfgang Jenkner
2016-02-17 15:35 ` Joseph Mingrone
2016-02-17 17:49 ` Wolfgang Jenkner
2016-02-17 22:45 ` Joseph Mingrone
2016-02-18 13:39 ` Wolfgang Jenkner
2016-03-20 2:40 ` Paul Eggert
[not found] ` <handler.22065.D22065.145844160912708.notifdone@debbugs.gnu.org>
2016-03-20 2:52 ` bug#22065: closed (Re: bug#22065: core dumped during compilation (emacs-25 branch on FreeBSD 9)) Joseph Mingrone
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=86d1rxst7u.fsf@phe.ftfl.ca \
--to=jrm@ftfl.ca \
--cc=22065@debbugs.gnu.org \
--cc=ashish@FreeBSD.org \
--cc=dmantipov@yandex.ru \
--cc=eggert@cs.ucla.edu \
--cc=wjenkner@inode.at \
/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.