From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: Preview: portable dumper Date: Wed, 14 Feb 2018 20:34:34 +0000 Message-ID: <20180214203434.GA83944@breton.holly.idiocy.org> References: <1775923222.898447.1518559575706@mail.libero.it> <83inb0xkfx.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1518640454 29615 195.159.176.226 (14 Feb 2018 20:34:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 14 Feb 2018 20:34:14 +0000 (UTC) User-Agent: Mutt/1.9.3 (2018-01-21) Cc: Angelo Graziosi , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 14 21:34:09 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 1em3kF-0005WW-DM for ged-emacs-devel@m.gmane.org; Wed, 14 Feb 2018 21:33:35 +0100 Original-Received: from localhost ([::1]:57597 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1em3mH-00039o-DM for ged-emacs-devel@m.gmane.org; Wed, 14 Feb 2018 15:35:41 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33817) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1em3lN-00035y-LG for emacs-devel@gnu.org; Wed, 14 Feb 2018 15:34:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1em3lM-0006qj-F1 for emacs-devel@gnu.org; Wed, 14 Feb 2018 15:34:45 -0500 Original-Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:53445) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1em3lK-0006ib-1O; Wed, 14 Feb 2018 15:34:42 -0500 Original-Received: by mail-wm0-x22f.google.com with SMTP id t74so25134510wme.3; Wed, 14 Feb 2018 12:34:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=4Ik8jjYIHHhoretJ9WPmfLZeR3Ry8vjQs9Lamya+t28=; b=PsY4aqpG0CpKS7G4sbMroBhXTLxAgYyNRZdjjfNIuQMIpnmr3XC3V4QoCQ2bXcSa1i WtoPmHqAdSNLRcB/kffHR2hRhvqlfKRkOr5MsygqCRK/UI8DWG36L5aD7bqrobXQ4cLW q9XL5J5ewc8xIV9VrcNrEXrg4l7gj6se+Wa035fmZvSQyZK6QctSMKryGdpsRhLEjmt9 ZLJj/WXc87G88Mi7MwRuC0XX/ULPPSmzKd9R5VcyJbHOo8DzXDuZOgK86+iywnFvolaI qv2zzY4CI8mUMvHCJzV6fl7hCT7TX8b4/O2kzhuwjz2F4VhBOjCHwx9ZIW4PrWpYZYQR PDDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=4Ik8jjYIHHhoretJ9WPmfLZeR3Ry8vjQs9Lamya+t28=; b=h2J26OrWgMliy8hB20n6eNeZBxVP4O8isfxF/Ucw5EUUh8a3o51XsBPk9ssjh34JAm 9DgM5oU6X6jOZX57OVWRDLrHNwnf9s8aUo8dLZ+BMiylFCZEiAfonpkwkOHBM1P3wWUX Kba/Cqia5mHcXhn7ikJcpMdeFuYfrMPOYqjrUYyF66Gpk8x/fk99HSNqi7pe/ET82FF6 rFctqCwHjKdNwQgfhVLbR94OQsIxzWTDOBUaYm/q9vqiVAREnGA/xiSzWAfXLGk5KKK3 zar4nMI2dvhnI/AM47qFhriQwZjos77CjvzVSAcgsl2DdfLNVtcPmDggKnBwupDP1ho8 reNA== X-Gm-Message-State: APf1xPDxtiK7EueoU7rtn/5roM6Rj5Z9/PSbIS4u0cd1Zhw5jWPE6+KO rM8rNwXbgmXV8TjggjUQu98F/4pI X-Google-Smtp-Source: AH8x225YnrMQmYX19uE2zWv/XHDR6rZYgkbIuU0euFPzhEXf2ncYQ5bSY2TDLV159CFa6xN1uBbhQQ== X-Received: by 10.28.211.130 with SMTP id k124mr242875wmg.62.1518640480485; Wed, 14 Feb 2018 12:34:40 -0800 (PST) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-913b-4aa7-5fb8-b2de.holly.idiocy.org. [2001:8b0:3f8:8129:913b:4aa7:5fb8:b2de]) by smtp.gmail.com with ESMTPSA id i75sm9778057wmg.41.2018.02.14.12.34.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Feb 2018 12:34:37 -0800 (PST) Content-Disposition: inline In-Reply-To: <83inb0xkfx.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::22f 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:222748 Archived-At: On Wed, Feb 14, 2018 at 06:29:54AM +0200, Eli Zaretskii wrote: > > Date: Tue, 13 Feb 2018 23:06:15 +0100 (CET) > > From: Angelo Graziosi > > > > Eli Zaretskii wrote: > > > > > > I'd urge people to try this branch and report any issues they see. > > > > What should we look for? > > The usual stuff, I think: does it build, does it work as expected, > etc. Lots of errors on macOS 10.13 (clang). Looks like they’re mostly the same thing repeated. dispnew.c:3019:1: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment and section separated by a comma DEFUN ("redraw-frame", Fredraw_frame, Sredraw_frame, 0, 1, 0, ^ ./lisp.h:3183:4: note: expanded from macro 'DEFUN' SUBR_SECTION_ATTRIBUTE \ ^ ./lisp.h:3150:52: note: expanded from macro 'SUBR_SECTION_ATTRIBUTE' # define SUBR_SECTION_ATTRIBUTE ATTRIBUTE_SECTION (".subrs") ^ dispnew.c:3028:1: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment and section separated by a comma DEFUN ("redraw-display", Fredraw_display, Sredraw_display, 0, 0, "", ^ ./lisp.h:3183:4: note: expanded from macro 'DEFUN' SUBR_SECTION_ATTRIBUTE \ ^ ./lisp.h:3150:52: note: expanded from macro 'SUBR_SECTION_ATTRIBUTE' # define SUBR_SECTION_ATTRIBUTE ATTRIBUTE_SECTION (".subrs") ^ dispnew.c:5596:1: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment and section separated by a comma DEFUN ("open-termscript", Fopen_termscript, Sopen_termscript, ^ ./lisp.h:3183:4: note: expanded from macro 'DEFUN' SUBR_SECTION_ATTRIBUTE \ ^ ./lisp.h:3150:52: note: expanded from macro 'SUBR_SECTION_ATTRIBUTE' # define SUBR_SECTION_ATTRIBUTE ATTRIBUTE_SECTION (".subrs") ^ dispnew.c:5629:1: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment and section separated by a comma DEFUN ("send-string-to-terminal", Fsend_string_to_terminal, ^ ./lisp.h:3183:4: note: expanded from macro 'DEFUN' SUBR_SECTION_ATTRIBUTE \ ^ ./lisp.h:3150:52: note: expanded from macro 'SUBR_SECTION_ATTRIBUTE' # define SUBR_SECTION_ATTRIBUTE ATTRIBUTE_SECTION (".subrs") ^ dispnew.c:5672:1: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment and section separated by a comma DEFUN ("ding", Fding, Sding, 0, 1, 0, ^ ./lisp.h:3183:4: note: expanded from macro 'DEFUN' SUBR_SECTION_ATTRIBUTE \ ^ ./lisp.h:3150:52: note: expanded from macro 'SUBR_SECTION_ATTRIBUTE' # define SUBR_SECTION_ATTRIBUTE ATTRIBUTE_SECTION (".subrs") ^ dispnew.c:5712:1: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment and section separated by a comma DEFUN ("sleep-for", Fsleep_for, Ssleep_for, 1, 2, 0, ^ ./lisp.h:3183:4: note: expanded from macro 'DEFUN' SUBR_SECTION_ATTRIBUTE \ ^ ./lisp.h:3150:52: note: expanded from macro 'SUBR_SECTION_ATTRIBUTE' # define SUBR_SECTION_ATTRIBUTE ATTRIBUTE_SECTION (".subrs") ^ dispnew.c:5812:1: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment and section separated by a comma DEFUN ("redisplay", Fredisplay, Sredisplay, 0, 1, 0, ^ ./lisp.h:3183:4: note: expanded from macro 'DEFUN' SUBR_SECTION_ATTRIBUTE \ ^ ./lisp.h:3150:52: note: expanded from macro 'SUBR_SECTION_ATTRIBUTE' # define SUBR_SECTION_ATTRIBUTE ATTRIBUTE_SECTION (".subrs") ^ dispnew.c:5852:1: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment and section separated by a comma DEFUN ("frame-or-buffer-changed-p", Fframe_or_buffer_changed_p, ^ ./lisp.h:3183:4: note: expanded from macro 'DEFUN' SUBR_SECTION_ATTRIBUTE \ ^ ./lisp.h:3150:52: note: expanded from macro 'SUBR_SECTION_ATTRIBUTE' # define SUBR_SECTION_ATTRIBUTE ATTRIBUTE_SECTION (".subrs") ^ dispnew.c:6069:34: error: use of undeclared identifier 'will_dump'; did you mean 'will_dump_p'? if (!inhibit_window_system && !will_dump) ^~~~~~~~~ will_dump_p ./lisp.h:654:1: note: 'will_dump_p' declared here will_dump_p (void) ^ dispnew.c:6069:34: warning: address of function 'will_dump_p' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!inhibit_window_system && !will_dump) ~^~~~~~~~~ dispnew.c:6069:34: note: prefix with the address-of operator to silence this warning if (!inhibit_window_system && !will_dump) ^ & dispnew.c:6069:34: note: suffix with parentheses to turn this into a function call if (!inhibit_window_system && !will_dump) ^ () dispnew.c:6176:1: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment and section separated by a comma DEFUN ("internal-show-cursor", Finternal_show_cursor, ^ ./lisp.h:3183:4: note: expanded from macro 'DEFUN' SUBR_SECTION_ATTRIBUTE \ ^ ./lisp.h:3150:52: note: expanded from macro 'SUBR_SECTION_ATTRIBUTE' # define SUBR_SECTION_ATTRIBUTE ATTRIBUTE_SECTION (".subrs") ^ dispnew.c:6192:1: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment and section separated by a comma DEFUN ("internal-show-cursor-p", Finternal_show_cursor_p, ^ ./lisp.h:3183:4: note: expanded from macro 'DEFUN' SUBR_SECTION_ATTRIBUTE \ ^ ./lisp.h:3150:52: note: expanded from macro 'SUBR_SECTION_ATTRIBUTE' # define SUBR_SECTION_ATTRIBUTE ATTRIBUTE_SECTION (".subrs") ^ 1 warning and 11 errors generated. -- Alan Third