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.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 20:47:58 +0300 Message-ID: <8334xwdkj5.fsf@gnu.org> References: <838r7odr18.fsf@gnu.org> <837cn8dma3.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24535"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 66774@debbugs.gnu.org To: Jim Dupont Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 27 19:48:57 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 1qwQx6-00069j-Co for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 Oct 2023 19:48:56 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qwQwi-0004Hl-SH; Fri, 27 Oct 2023 13:48: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 1qwQwh-0004HT-07 for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2023 13:48: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 1qwQwg-0005Wa-P1 for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2023 13:48:30 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qwQxC-0007Rf-78 for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2023 13:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Oct 2023 17:49:02 +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.169842890628386 (code B ref 66774); Fri, 27 Oct 2023 17:49:02 +0000 Original-Received: (at 66774) by debbugs.gnu.org; 27 Oct 2023 17:48:26 +0000 Original-Received: from localhost ([127.0.0.1]:37061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwQwc-0007Nl-3K for submit@debbugs.gnu.org; Fri, 27 Oct 2023 13:48:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwQwa-0007Mx-9e for 66774@debbugs.gnu.org; Fri, 27 Oct 2023 13:48:24 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qwQvz-0005PW-B7; Fri, 27 Oct 2023 13:47:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=TIqbsDdgR3VWiYbJJ58UoL5E+8046gomItS3aJ1Z3NY=; b=K1G8BrDw1z4qVsGIRW67 21XoQ2ShRNd7IQPtl6YDqgaGvFhD3qHNCokpPtxcmpCh0iNvmw6TDfUcmuXSitfgwv5Ul6lwmArbD n36oETRuPOCmYD3Sl6UFVLe+BHcMR8tuY2y6FKXg6MZTtoBMFudLSNLsm6OJIhZVY3iVqI7NI7EA5 h+04fd17gQNr4B27NvCAJ1P5sWKQa+PcxgtNO+xGdZ8AJwCzHAnm8SX1BvzkxlQetrxIuutgO4aFz ZeyoLI/ky+UoEou4F67LNDAfd5kXz7F6fYjWSuoSYunxWdnfInEUoBOs3x2VsfFZ62LV3cCEj9uKS jjr47vlgEvuFwA==; In-Reply-To: (message from Jim Dupont on Fri, 27 Oct 2023 13:29:57 -0400) 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:273400 Archived-At: > From: Jim Dupont > Date: Fri, 27 Oct 2023 13:29:57 -0400 > Cc: 66774@debbugs.gnu.org > > so turning that flag on resulted in the compile working but linking had this What do you mean by "turning that flag on"? what did you do, exactly? > ```/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 > ``` Fixed.