Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Nov 2017 16:39:27 -0500
From:      Ed Maste <emaste@freebsd.org>
To:        Tobias Kortkamp <tobik@freebsd.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>, ashish@freebsd.org
Subject:   Re: Emacs and LLD
Message-ID:  <CAPyFy2Bbo_-R8ymwDP4EqpgOW9GEmBO1Ui%2B_v8rXeYVA9FutaA@mail.gmail.com>
In-Reply-To: <1509722947.3890181.1160658160.1B91FF70@webmail.messagingengine.com>
References:  <1509722947.3890181.1160658160.1B91FF70@webmail.messagingengine.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3 November 2017 at 11:29, Tobias Kortkamp <tobik@freebsd.org> wrote:
>
> My src.conf has WITH_LLD_IS_LD=yes and reading
> https://bugs.freebsd.org/214864 leads me to believe that it's somehow
> responsible for the problems I have with Emacs.

Yes, the emacs build does some rather unusual things and it's perhaps
not surprising that it's one of the ports that's giving grief with
lld.

The exp-run shows the same error you experienced:

./temacs --batch --load loadup bootstrap
Fatal error 'Can't allocate initial thread' at line 337 in file
/poudriere/jails/headamd64PR214864/usr/src/lib/libthr/thread/thr_init.c
(errno = 12)
gmake[2]: *** [Makefile:737: bootstrap-emacs] Abort trap (core dumped)

I don't yet have any insight into the failure, and hope that someone
with knowledge of the emacs build process and emacs internals can take
a look.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2Bbo_-R8ymwDP4EqpgOW9GEmBO1Ui%2B_v8rXeYVA9FutaA>