From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.bugs Subject: bug#18743: 25.0.50; Clang 3.0 fails to compile src/fns.c, GCC 4.8 cannot dump emacs Date: Wed, 15 Oct 2014 22:52:55 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1413406657 30233 80.91.229.3 (15 Oct 2014 20:57:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Oct 2014 20:57:37 +0000 (UTC) To: 18743@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 15 22:57:29 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1XeVdO-0004y4-LS for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Oct 2014 22:57:26 +0200 Original-Received: from localhost ([::1]:46798 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XeVdO-0007K4-Cf for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Oct 2014 16:57:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XeVdB-0007BH-An for bug-gnu-emacs@gnu.org; Wed, 15 Oct 2014 16:57:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XeVd1-00025D-01 for bug-gnu-emacs@gnu.org; Wed, 15 Oct 2014 16:57:13 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53314) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XeVd0-000259-Jr for bug-gnu-emacs@gnu.org; Wed, 15 Oct 2014 16:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XeVd0-0002I8-3p for bug-gnu-emacs@gnu.org; Wed, 15 Oct 2014 16:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Peter Dyballa Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 Oct 2014 20:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18743 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14134065798750 (code B ref -1); Wed, 15 Oct 2014 20:57:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Oct 2014 20:56:19 +0000 Original-Received: from localhost ([127.0.0.1]:44878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XeVcH-0002H1-Px for submit@debbugs.gnu.org; Wed, 15 Oct 2014 16:56:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42268) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XeVcE-0002Go-Bb for submit@debbugs.gnu.org; Wed, 15 Oct 2014 16:56:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XeVc3-0001vV-HH for submit@debbugs.gnu.org; Wed, 15 Oct 2014 16:56:13 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:43851) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XeVc3-0001vR-Ew for submit@debbugs.gnu.org; Wed, 15 Oct 2014 16:56:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43978) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XeVbu-00064s-N8 for bug-gnu-emacs@gnu.org; Wed, 15 Oct 2014 16:56:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XeVbk-0001u4-PC for bug-gnu-emacs@gnu.org; Wed, 15 Oct 2014 16:55:54 -0400 Original-Received: from mout3.freenet.de ([195.4.92.93]:38976) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XeVbk-0001te-EO for bug-gnu-emacs@gnu.org; Wed, 15 Oct 2014 16:55:44 -0400 Original-Received: from [195.4.92.142] (helo=mjail2.freenet.de) by mout3.freenet.de with esmtpa (ID peter_dyballa@freenet.de) (port 25) (Exim 4.82 #2) id 1XeVbh-0008JY-1E for bug-gnu-emacs@gnu.org; Wed, 15 Oct 2014 22:55:41 +0200 Original-Received: from localhost ([::1]:50186 helo=mjail2.freenet.de) by mjail2.freenet.de with esmtpa (ID peter_dyballa@freenet.de) (Exim 4.82 #2) id 1XeVbg-0007D5-Ta for bug-gnu-emacs@gnu.org; Wed, 15 Oct 2014 22:55:41 +0200 Original-Received: from mx15.freenet.de ([195.4.92.25]:33936) by mjail2.freenet.de with esmtpa (ID peter_dyballa@freenet.de) (Exim 4.82 #2) id 1XeVZ2-0005Vj-JF for bug-gnu-emacs@gnu.org; Wed, 15 Oct 2014 22:52:56 +0200 Original-Received: from ip-178-201-53-162.hsi08.unitymediagroup.de ([178.201.53.162]:53981 helo=sumac.fritz.box) by mx15.freenet.de with esmtpsa (ID peter_dyballa@freenet.de) (TLSv1:AES128-SHA:128) (port 587) (Exim 4.82 #2) id 1XeVZ2-00015w-Bn for bug-gnu-emacs@gnu.org; Wed, 15 Oct 2014 22:52:56 +0200 X-Mailer: Apple Mail (2.1085) X-Originated-At: 178.201.53.162!53981 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:94556 At revno: 118128 Apple clang version 3.0 (tags/Apple/clang-211.10.1) (based on LLVM = 3.0svn) Target: x86_64-apple-darwin10.8.0 Thread model: posix Mac OS X 10.6.8; this is the Clang compiler coming with Apple's = Developer Tools (Xcode 4.2 (4C199)). fns.c:1929:16: error: read-only variable is not assignable *dest++ =3D *a++; ~^ GCC 4.8 accepts this construct, but fails when dumping emacs: Dumping under the name emacs --- List of All Regions --- address size prot maxp --- List of Regions to be Dumped --- address size prot maxp --- Header Information --- Magic =3D 0xfeedfacf CPUType =3D 16777223 CPUSubType =3D -2147483645 FileType =3D 0x2 NCmds =3D 48 SizeOfCmds =3D 4664 Flags =3D 0x00000085 Highest address of load commands in input file: 0x100656000 Lowest offset of all sections in __TEXT segment: 0x2f58 --- List of Load Commands in Input File --- # cmd cmdsize name address size 0 LC_SEGMENT_64 72 __PAGEZERO 0 = 0x100000000 1 LC_SEGMENT_64 712 __TEXT 0x100000000 = 0x1e7000 __text 0x100002f58 0x17a878 __text_cold 0x10017d7d0 0x2b2 __text_startup 0x10017da82 0x1394 __stubs 0x10017ee16 0x10aa __stub_helper 0x10017fec0 0x1bd6 __cstring 0x100181a98 0x18b68 __const 0x10019a600 0xad0 __eh_frame 0x10019b0d0 0x4bf28 2 LC_SEGMENT_64 1272 __DATA 0x1001e7000 = 0x398000 __program_vars 0x1001e7000 0x28 __got 0x1001e7028 0xe0 __nl_symbol_ptr 0x1001e7108 0x10 __la_symbol_ptr 0x1001e7118 0x1638 __data 0x1001e8760 0x2f1338 __static_data 0x1004d9a98 0x26 __const 0x1004d9ac0 0x49d0 __bss2 0x1004de490 0x150 __pu_bss2 0x1004de5e0 0x64 __bss 0x1004de660 0x105 __bss4 0x1004de770 0x89650 __common 0x100567dc0 0x4 __bss3 0x100567dc8 0x1f28 __pu_bss4 0x100569cf0 0x12e28 __pu_bss3 0x10057cb18 0x1678 3 LC_SEGMENT_64 72 __LINKEDIT 0x10057f000 = 0xd7000 4 LC_DYLD_INFO_ONLY 48 5 LC_SYMTAB 24 6 LC_DYSYMTAB 80 7 LC_LOAD_DYLINKER 32 8 LC_UUID 24 9 LC_VERSION_MIN_MACOSX 16 10 LC_UNIXTHREAD 184 11 LC_LOAD_DYLIB 56 12 LC_LOAD_DYLIB 56 13 LC_LOAD_DYLIB 64 14 LC_LOAD_DYLIB 56 15 LC_LOAD_DYLIB 56 16 LC_LOAD_DYLIB 56 17 LC_LOAD_DYLIB 56 18 LC_LOAD_DYLIB 56 19 LC_LOAD_DYLIB 56 20 LC_LOAD_DYLIB 56 21 LC_LOAD_DYLIB 56 22 LC_LOAD_DYLIB 56 23 LC_LOAD_DYLIB 64 24 LC_LOAD_DYLIB 56 25 LC_LOAD_DYLIB 64 26 LC_LOAD_DYLIB 64 27 LC_LOAD_DYLIB 72 28 LC_LOAD_DYLIB 64 29 LC_LOAD_DYLIB 64 30 LC_LOAD_DYLIB 56 31 LC_LOAD_DYLIB 56 32 LC_LOAD_DYLIB 64 33 LC_LOAD_DYLIB 64 34 LC_LOAD_DYLIB 64 35 LC_LOAD_DYLIB 56 36 LC_LOAD_DYLIB 64 37 LC_LOAD_DYLIB 64 38 LC_LOAD_DYLIB 64 39 LC_LOAD_DYLIB 64 40 LC_LOAD_DYLIB 56 41 LC_LOAD_DYLIB 56 42 LC_LOAD_DYLIB 56 43 LC_LOAD_DYLIB 64 44 LC_LOAD_DYLIB 56 45 LC_LOAD_DYLIB 64 46 LC_FUNCTION_STARTS 16 47 LC_DATA_IN_CODE 16 0x101efc080 (sz: 0x3f24/ 0x3f28) 0x101e00000 (sz: 0x8c3e5/ 0xfc080) 0x101bfc080 (sz: 0x3f25/ 0x3f28) 0x101b00000 (sz: 0xfc07f/ 0xfc080) 0x1037f8000 (sz: 0x20ca/ 0x7fa0) 0x103000000 (sz: 0x20a3fd/0x7f8000) 0x102ff8000 (sz: 0x7f97/ 0x7fa0) 0x102800000 (sz: 0x7f7fff/0x7f8000) 0x101977000 (sz: 0/ 0x1000) --- Load Commands written to Output File --- Writing segment __PAGEZERO @ 0 ( = 0/0x100000000 @ 0) Writing segment __TEXT @ 0 (0x1e7000/0x1e7000 @ = 0x100000000) Writing segment __DATA @ 0x1e7000 (0x398000/0x398000 @ = 0x1001e7000) section __program_vars at 0x1e7000 - 0x1e7028 (sz: = 0x28) section __got at 0x1e7028 - 0x1e7108 (sz: = 0xe0) section __nl_symbol_ptr at 0x1e7108 - 0x1e7118 (sz: = 0x10) section __la_symbol_ptr at 0x1e7118 - 0x1e8750 (sz: = 0x1638) section __data at 0x1e8760 - 0x4d9a98 (sz: = 0x2f1338) section __static_data at 0x4d9a98 - 0x4d9abe (sz: = 0x26) section __const at 0x4d9ac0 - 0x4de490 (sz: = 0x49d0) section __bss2 at 0x4de490 - 0x4de5e0 (sz: = 0x150) section __pu_bss2 at 0x4de5e0 - 0x4de644 (sz: = 0x64) unexec: my_endbss_static is not in section __bss make[1]: *** [bootstrap-emacs] Error 1 make: *** [src] Error 2 There are no problems with GCC 4.2. -- Greetings Pete 0 %-/\_// (*)(*)