From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: sqlite3 Date: Fri, 10 Dec 2021 10:38:55 +0200 Message-ID: <83zgp8svkw.fsf@gnu.org> References: <87tufmjyai.fsf@gnus.org> <87sfv5ljxn.fsf@gnus.org> <8735n5leza.fsf@gnus.org> <837dch1qox.fsf@gnu.org> <87ee6odu65.fsf@gnus.org> <83h7bjye0b.fsf@gnu.org> <87sfv360np.fsf@gnus.org> <83lf0vw6sg.fsf@gnu.org> <87k0gd1cl3.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10030"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 10 10:24:20 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mvc8Z-0002Mb-BO for ged-emacs-devel@m.gmane-mx.org; Fri, 10 Dec 2021 10:24:19 +0100 Original-Received: from localhost ([::1]:53122 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvc8X-0000uE-Sl for ged-emacs-devel@m.gmane-mx.org; Fri, 10 Dec 2021 04:24:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42976) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvbQq-0004d5-Ns for emacs-devel@gnu.org; Fri, 10 Dec 2021 03:39:08 -0500 Original-Received: from [2001:470:142:3::e] (port=45416 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvbQq-0001xI-Bb; Fri, 10 Dec 2021 03:39:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=xehdxLBvBp/kCyUERQ5KR+U/WwuDLJyFNqOtsQ9qVog=; b=iFUM36dRFIOZ nGuSYriDyvnEkzbuIr5oa45A4/YHD8jdm4hTBu/wE8R7mru8UaEB2ZLJlilKeclQBT8CkGmHpZJnL G+XkCQTveLUhe37H8eEIFz3kzEPeBgtCOHMK3V1yebUZPc/Yg3xCHWZZsiEWfn1WrkMJ7UxcneAdD 3AnnFbfGiXo1Itqkic9YLjGNZSxtwmHR+HnNa7TfIdh7HP/D+7G7QcYeR8gnw9XQlTpxKUnRCIKZs XcdqX+NMnhRhKBLDOYZ5zrninj9UOfrnP2RD/GfTfE+cEf7lhWLhUe24FzI7hNfkVfFSKm5ezTKWy SsyvguLdyhryIWrI01cSVQ==; Original-Received: from [87.69.77.57] (port=2870 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvbQq-0004tm-3x; Fri, 10 Dec 2021 03:39:08 -0500 In-Reply-To: <87k0gd1cl3.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 10 Dec 2021 02:19:04 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:281576 Archived-At: > From: Lars Ingebrigtsen > Cc: emacs-devel@gnu.org > Date: Fri, 10 Dec 2021 02:19:04 +0100 > > > The MinGW port of GDB works very well on Windows, I use it all the > > time. What problems did you see? > > Emacs crashed under gdb, but "bt" didn't give me anything. This could happen if the callstack is smashed. > > . Emacs is linked against the sqlite3 DLL statically, because > > configure.ac unconditionally adds -lsqlite3 to the link command > > line. This -lsqlite3 should be removed in the Windows build, > > since we will be loading the library at run time by an explicit > > call to the moral equivalent of 'dlopen'. See how this is done > > in configure.ac for other optional libraries. > > > > . You didn't add the necessary stuff to dynamic-library-alist in > > w32-win.el. Without that, Emacs doesn't know which DLL to try to > > load. > > Thanks; with those two changes, the sqlite branch now seems to work fine > dynamically loaded under mingw, but you should probably have a look at > this, as this is the very first time I've done this stuff. Will do, when the code lands on master. Thanks.