From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: emacs-dynamic-module in Emacs Git? Date: Thu, 04 Dec 2014 20:02:02 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87fvcuq585.fsf@lifelogs.com> References: <87lhmz4mtj.fsf@lifelogs.com> <87sih575rc.fsf@lifelogs.com> <8361dyaqf1.fsf@gnu.org> <837fycae5p.fsf@gnu.org> <87y4qs19mi.fsf@lifelogs.com> <874mtfu0et.fsf@lifelogs.com> <83wq6b6z9d.fsf@gnu.org> <87oarlrbl7.fsf@lifelogs.com> Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1417741310 15964 80.91.229.3 (5 Dec 2014 01:01:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Dec 2014 01:01:50 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 05 02:01:45 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XwhHE-0004la-Kc for ged-emacs-devel@m.gmane.org; Fri, 05 Dec 2014 02:01:44 +0100 Original-Received: from localhost ([::1]:48354 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwhHE-0006Y6-1d for ged-emacs-devel@m.gmane.org; Thu, 04 Dec 2014 20:01:44 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwhH5-0006VQ-Vt for emacs-devel@gnu.org; Thu, 04 Dec 2014 20:01:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XwhGz-00056Y-6V for emacs-devel@gnu.org; Thu, 04 Dec 2014 20:01:35 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:57494) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwhGz-00056I-0t for emacs-devel@gnu.org; Thu, 04 Dec 2014 20:01:29 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XwhGw-0004bf-1n for emacs-devel@gnu.org; Fri, 05 Dec 2014 02:01:26 +0100 Original-Received: from c-98-229-61-72.hsd1.ma.comcast.net ([98.229.61.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Dec 2014 02:01:26 +0100 Original-Received: from tzz by c-98-229-61-72.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Dec 2014 02:01:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 35 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-98-229-61-72.hsd1.ma.comcast.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:cRfXbReisqHzmxQUJMYDJ0/wQgY= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:178867 Archived-At: On Thu, 4 Dec 2014 21:40:34 +0100 Aurélien Aptel wrote: AA> On Tue, Dec 2, 2014 at 10:22 PM, Ted Zlatanov wrote: >> OK, dynamic-modules was rebased, squashed to a single commit, and pushed >> to branch "dynamic-modules-rc1". I added ChangeLogs and renamed >> Makefile to Makefile.in in all the modules, but otherwise this is pretty >> much what Aurélien wrote. AA> You forgot to include the opaque module in SUBDIR_MAKEFILES. I pushed with that minor change to dynamic-modules-rc2 AA> I'm currently on a different computer than usual and although loading AA> works, calling any external symbol from a lib linked against the module AA> crashes emacs (similar error with yaml). AA> ./src/emacs: symbol lookup error: AA> /home/aaptel/dev/emacs/modules/curl/curl.so: undefined symbol: AA> curl_global_init AA> Strangely enough the module file doesn't show any curl dependency with ldd, AA> although it was compiled with -lcurl. AA> $ ldd curl.so AA> linux-gate.so.1 => (0xb7757000) AA> libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb757f000) AA> /lib/ld-linux.so.2 (0xb7758000) AA> I don't know what's wrong (probably comes from my system). Weird. Anyone else tested this? I'll hold off merging for 1 more day... Ted