From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: GDB and compiler-operations Date: Fri, 07 Sep 2018 20:11:38 +0300 Message-ID: <83r2i5teph.fsf@gnu.org> References: <5a2c709e-aa49-b5b6-3fbe-fb8bd33acb23@cs.ucla.edu> <06d01a4b-9d98-df5b-be8a-aeda449acad7@cs.ucla.edu> <83bm99vijd.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1536340187 20636 195.159.176.226 (7 Sep 2018 17:09:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 7 Sep 2018 17:09:47 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 07 19:09:43 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fyKGN-0005Fr-CK for ged-emacs-devel@m.gmane.org; Fri, 07 Sep 2018 19:09:43 +0200 Original-Received: from localhost ([::1]:39634 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyKIT-0001ak-RS for ged-emacs-devel@m.gmane.org; Fri, 07 Sep 2018 13:11:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyKIL-0001Zr-BH for emacs-devel@gnu.org; Fri, 07 Sep 2018 13:11:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fyKIG-0002ni-Bf for emacs-devel@gnu.org; Fri, 07 Sep 2018 13:11:44 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyKID-0002lm-Ae; Fri, 07 Sep 2018 13:11:38 -0400 Original-Received: from [176.228.60.248] (port=4600 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fyKIC-0005Dv-U6; Fri, 07 Sep 2018 13:11:37 -0400 In-reply-to: (message from Stefan Monnier on Fri, 07 Sep 2018 11:58:06 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:229432 Archived-At: > From: Stefan Monnier > Date: Fri, 07 Sep 2018 11:58:06 -0400 > > > (gdb) p offsetof (struct Lisp_Vector, contents) > > No symbol "__builtin_offsetof" in current context. > > Hmm... indeed that's the error I was seeing the other day, but today > I get the other one. IIRC this was the same machine, tho (and if not, > it was one running Debian testing or Debian stable, so nothing newer). It depends on whether the source was compiled with -g3 or not.