From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Aur=C3=A9lien_Aptel?= Newsgroups: gmane.emacs.devel Subject: Re: Dynamic loading progress Date: Sun, 25 Oct 2015 17:26:52 +0100 Message-ID: References: <83r3trulse.fsf@gnu.org> <54E0D7E0.305@87.69.4.28> <83h9unukbg.fsf@gnu.org> <54E0DEF8.7020901@dancol> <83egpruiyp.fsf@gnu.org> <54E0FF93.2000104@dancol.org> <5610ED13.1010406@dancol.org> <56117F37.9060808@dancol.org> <56259FDD.8040401@dancol.org> <87zizeme8k.fsf@tromey.com> <5625B166.3080104@dancol.org> <86zizdczhp.fsf@stephe-leake.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1445790438 31964 80.91.229.3 (25 Oct 2015 16:27:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Oct 2015 16:27:18 +0000 (UTC) Cc: Eli Zaretskii , Daniel Colascione , Stephen Leake , Emacs development discussions , Tom Tromey To: Philipp Stephani Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 25 17:27:16 2015 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 1ZqO8U-0003It-8Z for ged-emacs-devel@m.gmane.org; Sun, 25 Oct 2015 17:27:10 +0100 Original-Received: from localhost ([::1]:48742 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqO8T-00074h-8g for ged-emacs-devel@m.gmane.org; Sun, 25 Oct 2015 12:27:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqO8G-00074V-B1 for emacs-devel@gnu.org; Sun, 25 Oct 2015 12:26:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZqO8F-0004qg-Ew for emacs-devel@gnu.org; Sun, 25 Oct 2015 12:26:56 -0400 Original-Received: from mail-lf0-x233.google.com ([2a00:1450:4010:c07::233]:33852) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqO8D-0004qM-UK; Sun, 25 Oct 2015 12:26:54 -0400 Original-Received: by lfaz124 with SMTP id z124so125402339lfa.1; Sun, 25 Oct 2015 09:26:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=ps1zqs3J0wZ8UVoJLOdXAD6ujm5H/lSszLGRo2s70yM=; b=s0N8Yd5kaaAaLAjhsJlSbNIwU5GZebOxeJQmuc3C65XDbVphyl0s7GIIo+2go71cqS IVGijYvnrNKIw45/TPKDX5ArVSS1ix8nJcabdPykKDzhTuZkVtCXVW9ct7IAlfGmKPiy QsLRYhKqGhZw62t/SRTAw/y8myCED2v0/BcMs0XUd8AwAmZoIX/O49d/1oHjGk7ZimSb kYdR50Ex4Bsn1DHtq6wrAY9s/czy/V0JsXz/t1rjfzim+1gh4cqgLc9iwdKmdA6Iiy0Z 3csFu4LNcXgzeVCkgiss0mLbgml85+Ib+T8qdQatIpAyTpsdhdpq6MQ7xSJPPU+D3K+t 4gJQ== X-Received: by 10.25.166.20 with SMTP id p20mr9817673lfe.51.1445790412750; Sun, 25 Oct 2015 09:26:52 -0700 (PDT) Original-Received: by 10.112.167.73 with HTTP; Sun, 25 Oct 2015 09:26:52 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: RXVV2z-XZfhvqBP8ldJzskYJGsk X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c07::233 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:192602 Archived-At: Philip, I've tried to merge you latest PR but I have a problem with module compiled with -fsanitize-address. This compiles the module with ASan aka AddressSanitizer on GCC. You've enable it to debug memory problems I guess and it looks useful but I cannot load them. [*] ./modt-error: running make gcc -fsanitize=address -ggdb3 -Wall -I../../src -fPIC -c modt-error.c gcc -shared -fsanitize=address -o modt-error.so modt-error.o ../../lib-src/make-docfile modt-error.c > modt-error.doc rm modt-error.o [*] ./modt-error: running test ../src/emacs -batch -L . -l ert -l ./modt-error/test.el -f ert-run-tests-batch-and-exit ==24402==ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD. [E] ./modt-error: test failed I'm sure I'm missing something obvious...