From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Dupont Newsgroups: gmane.emacs.bugs Subject: bug#66774: master branch profiler.c: In function =?UTF-8?Q?=E2=80=98syms=5Fof=5Fprofiler=5Ffor=5Fpdumper=E2=80=99:?= profiler.c:636:7: error: =?UTF-8?Q?=E2=80=98memory=E2=80=99?= undeclared (first use in this function) Date: Fri, 27 Oct 2023 13:29:57 -0400 Message-ID: References: <838r7odr18.fsf@gnu.org> <837cn8dma3.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000042774a0608b60a8c" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12329"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 66774@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 27 19:30:58 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1qwQfh-00033j-Eb for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 Oct 2023 19:30:57 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qwQfI-0000PF-Ow; Fri, 27 Oct 2023 13:30:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qwQfH-0000Ox-3z for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2023 13:30:31 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qwQfG-0001ja-S0 for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2023 13:30:30 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qwQfm-0006pY-09 for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2023 13:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jim Dupont Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Oct 2023 17:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66774 X-GNU-PR-Package: emacs Original-Received: via spool by 66774-submit@debbugs.gnu.org id=B66774.169842785226236 (code B ref 66774); Fri, 27 Oct 2023 17:31:01 +0000 Original-Received: (at 66774) by debbugs.gnu.org; 27 Oct 2023 17:30:52 +0000 Original-Received: from localhost ([127.0.0.1]:37030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwQfc-0006p6-BF for submit@debbugs.gnu.org; Fri, 27 Oct 2023 13:30:52 -0400 Original-Received: from mail-pg1-x536.google.com ([2607:f8b0:4864:20::536]:48255) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwQfX-0006og-Ak for 66774@debbugs.gnu.org; Fri, 27 Oct 2023 13:30:50 -0400 Original-Received: by mail-pg1-x536.google.com with SMTP id 41be03b00d2f7-578b407045bso1883715a12.0 for <66774@debbugs.gnu.org>; Fri, 27 Oct 2023 10:30:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698427809; x=1699032609; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=nxfmFF+2gTDHtYDHFPxCU45aynch1LT8mrgAfXMPyJs=; b=W6kbEzgWOEcm7DaKzciC99+UkNW3ITiBM3KCQty/uFPg+AnddO5hpJFrcJOL6slGWu wFx2ylgJyz2VQrCrDBdKXULrvuArgUZc72gcQi+x8qIhSB7WxVmb19BkdOPgyBJCEAdk ixq9lDzg+v1oQpwhKKRgsetmx3JxqyXpGK1LQE4lHcwvZm52E6BwCpZO3PKUoxGpHTsc 2mHs8vicuH5xo1ozBEh0L68bcv7DoDNyWOmgXnTwfj5WrnViN0rtJCHmkviz72kNoiGC xW+9zlfCOj/2MkszKri809q4vM5n3n8gHrkjzrAarz0Q7rCdurscpFm+H16elHYYerjs OBXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698427809; x=1699032609; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=nxfmFF+2gTDHtYDHFPxCU45aynch1LT8mrgAfXMPyJs=; b=Yu/gwkiE7DzjCagzDahEGO0BNqBI06YqAq4CoPhkUmW4l8DBOluBmehiYXI9o6Pzgl 09Z49v2BzD8WAeGxISfcaC7SKPw6cUzhjHbXRZK7UNScPMURm+Si5UrituC81Xqg+5YT YNE20tN6797hBCI2NW67HltA6ESYYTz79x4mSAIRedoz0H2z7Z7KFVnUC68V3KFr/4VA GTqZybEDbjJFDBeMdssG1o6lZvE+Zz7XF9BFRg4YZn3vgRJ7uahwJp8IdZgwY3fU+4Uh so/F6WvaclykgVM/bBAgX7lfiUho4zCRpukZzfr4SfEvpgIFqpIAfryp4wBVxKv9TLXI NGVA== X-Gm-Message-State: AOJu0Yx6WI1oUKTpHPdRPSW1t6ZTtl3ZEjZVkMi4wxq/d6kle52W45yY sM/YqBsEIa9UgkaKOW2t96jstwwxad9Ly8ZqVLc= X-Google-Smtp-Source: AGHT+IEXcg19T+16vrxg375u6R5MkjrGAUXNQvSRxeHE/URE+zjQ3BpTjkXsJoWrN/T65xbczXofGIDMP73k0mjEmUY= X-Received: by 2002:a05:6a20:3ca2:b0:15e:d84:1c5e with SMTP id b34-20020a056a203ca200b0015e0d841c5emr4144519pzj.38.1698427809460; Fri, 27 Oct 2023 10:30:09 -0700 (PDT) In-Reply-To: <837cn8dma3.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:273396 Archived-At: --00000000000042774a0608b60a8c Content-Type: text/plain; charset="UTF-8" so turning that flag on resulted in the compile working but linking had this ```/usr/bin/ld: profiler.o: in function `Fprofiler_memory_log': /mnt/data1/2023/10/23/emacs/src/profiler.c:514: undefined reference to `export_log' /usr/bin/ld: profiler.o: in function `malloc_probe': /mnt/data1/2023/10/23/emacs/src/profiler.c:524: undefined reference to `add_sample' collect2: error: ld returned 1 exit status ``` here are my last 2 config logs let me know if you need anything else. https://github.com/jmikedupont2/emacs/blob/bugreport/profile/var/log/build/config.log and https://github.com/jmikedupont2/emacs/blob/bugreport/profile/var/log/build/config.log~ On Fri, Oct 27, 2023, 13:10 Eli Zaretskii wrote: > [Please use Reply All to keep the bug tracker on the CC list.] > > > From: Jim Dupont > > Date: Fri, 27 Oct 2023 11:29:54 -0400 > > > > this is standard x86 64 gnu linux. > > adding the define got me past it, I think its just autoconfig not > working. you want my config logs? > > Yes, please post config.log. > --00000000000042774a0608b60a8c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
so turning that flag on resulted in the compile working b= ut linking had this
```/usr/bin/ld: profiler.o: in functio= n `Fprofiler_memory_log':=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0/mnt/data1/2023/10/23/emacs/src/profiler.c:514: undefin= ed reference to `export_log'
/usr/bin/ld: profil= er.o: in function `malloc_probe':=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/mnt/data1/2023/10/2= 3/emacs/src/profiler.c:524: undefined reference to `add_sample'
collect2: error: ld returned 1 exit status
```

On Fri, Oct 27, 202= 3, 13:10 Eli Zaretskii <eliz@gnu.org> wrote:
[Please use Reply All to keep the bug tracker on the CC list.= ]

> From: Jim Dupont <jmikedupont2@gmail.com>
> Date: Fri, 27 Oct 2023 11:29:54 -0400
>
> this is standard x86 64 gnu linux.
> adding the define got me past it, I think its just autoconfig not work= ing. you want my config logs?

Yes, please post config.log.
--00000000000042774a0608b60a8c--