From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#16210: 24.3.50; Build fails: error: trying to encode non-integer type as a bitfield Date: Sat, 21 Dec 2013 21:11:40 +0100 Message-ID: <52B5F5FC.2080409@swipnet.se> References: <09BB139E-1FF2-42E1-B437-10D66EE7DDD8@swipnet.se> <8E82FFB8-AFF3-4116-AEEF-34958E26E1A7@swipnet.se> <831F162E-6BC8-4BE9-AFE5-630C80133F05@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1387656736 24954 80.91.229.3 (21 Dec 2013 20:12:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Dec 2013 20:12:16 +0000 (UTC) To: 16210@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 21 21:12:19 2013 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 1VuSuI-0002Yo-9D for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Dec 2013 21:12:18 +0100 Original-Received: from localhost ([::1]:55408 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VuSuH-000212-Qo for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Dec 2013 15:12:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VuSu9-0001uA-EL for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2013 15:12:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VuSu4-0002dv-7l for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2013 15:12:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47828) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VuSu4-0002dr-4e for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2013 15:12:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VuSu3-0002bV-K4 for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2013 15:12:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Dec 2013 20:12:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16210 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16210-submit@debbugs.gnu.org id=B16210.13876567089961 (code B ref 16210); Sat, 21 Dec 2013 20:12:03 +0000 Original-Received: (at 16210) by debbugs.gnu.org; 21 Dec 2013 20:11:48 +0000 Original-Received: from localhost ([127.0.0.1]:33613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VuStn-0002aa-Cx for submit@debbugs.gnu.org; Sat, 21 Dec 2013 15:11:48 -0500 Original-Received: from mailfe09.swip.net ([212.247.155.1]:58681 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VuStj-0002aK-Pr for 16210@debbugs.gnu.org; Sat, 21 Dec 2013 15:11:45 -0500 X-T2-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50 Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe09.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 289549936 for 16210@debbugs.gnu.org; Sat, 21 Dec 2013 21:11:40 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <831F162E-6BC8-4BE9-AFE5-630C80133F05@swipnet.se> 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:82360 Archived-At: Hi. Bisecting shows that the error was introduced in rev 115529, which is a huge one. Changelog starts with 2013-12-14 Paul Eggert Use bool for boolean, focusing on headers. * atimer.h, lisp.h, syssignal.h, syswait.h, unexelf.c: No need to include , since conf_post.h does it now. * buffer.h (BUF_COMPUTE_UNCHANGED, DECODE_POSITION) (BUFFER_CHECK_INDIRECTION, GET_OVERLAYS_AT, PER_BUFFER_VALUE_P) ... Not using bool in bitfields, i.e in conf_post.h, change this: typedef bool bool_bf; to typedef unsigned int bool_bf; and the problem goes away. Can we please revert this? I don't see the benefit, even if this might be a gcc bug. Jan D. 2013-12-21 09:47, Jan Djärv skrev: > Hello. > > 21 dec 2013 kl. 09:41 skrev Jan Djärv : > >> Hello. >> >> gcc 4.7 gives the same error. Using clang 3.3 does not give any error. > > Using clang is not an option though, bootstrap-emacs segfaults before entering main. > > Jan D. > >> >> Jan D. >> >> 21 dec 2013 kl. 09:25 skrev Jan Djärv : >> >>> Bzr revision 115657, building GNUStep (--with-ns) on Fedora 19: >>> >>> gcc -std=gnu99 -c -Demacs -I. -I../../current/src -I../lib -I../../current/src/../lib -D_REENTRANT -fPIC -fno-strict-aliasing -I/usr/include -I/usr/local/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -MMD -MF deps/nsterm.d -MP -I/usr/include/p11-kit-1 -g3 -fobjc-exceptions -fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN -DGSDIAGNOSE ../../current/src/nsterm.m >>> ../../current/src/nsterm.m:6075:1: error: trying to encode non-integer type as a bitfield >>> } >>> ^ >>> ../../current/src/nsterm.m:6075:1: error: trying to encode non-integer type as a bitfield >>> ../../current/src/nsterm.m:6075:1: error: trying to encode non-integer type as a bitfield >>> ../../current/src/nsterm.m:6075:1: error: trying to encode non-integer type as a bitfield >>> ../../current/src/nsterm.m:6075:1: error: trying to encode non-integer type as a bitfield >>> ../../current/src/nsterm.m:6075:1: error: trying to encode non-integer type as a bitfield >>> ../../current/src/nsterm.m:6075:1: error: trying to encode non-integer type as a bitfield >>> ../../current/src/nsterm.m:6075:1: error: trying to encode non-integer type as a bitfield >>> ../../current/src/nsterm.m:6075:1: error: trying to encode non-integer type as a bitfield >>> ../../current/src/nsterm.m:6075:1: error: trying to encode non-integer type as a bitfield >>> ../../current/src/nsterm.m:6075:1: error: trying to encode non-integer type as a bitfield >>> ../../current/src/nsterm.m:6075:1: error: trying to encode non-integer type as a bitfield >>> ../../current/src/nsterm.m:6075:1: error: trying to encode non-integer type as a bitfield >>> ../../current/src/nsterm.m:6075:1: error: trying to encode non-integer type as a bitfield >>> ../../current/src/nsterm.m:6075:1: error: trying to encode non-integer type as a bitfield >>> ../../current/src/nsterm.m:6075:1: error: trying to encode non-integer type as a bitfield >>> ../../current/src/nsterm.m:6075:1: error: trying to encode non-integer type as a bitfield >>> ../../current/src/nsterm.m:6075:1: error: trying to encode non-integer type as a bitfield >>> ../../current/src/nsterm.m:6075:1: error: trying to encode non-integer type as a bitfield >>> ../../current/src/nsterm.m:6075:1: error: trying to encode non-integer type as a bitfield >>> ../../current/src/nsterm.m:6075:1: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> :0:0: error: trying to encode non-integer type as a bitfield >>> make[1]: *** [nsterm.o] Error 1 >>> >>> gcc -v: >>> Using built-in specs. >>> COLLECT_GCC=gcc >>> COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.2/lto-wrapper >>> Target: x86_64-redhat-linux >>> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-isl=/builddir/build/BUILD/gcc-4.8.2-20131212/obj-x86_64-redhat-linux/isl-install - -with-cloog=/builddir/build/BUILD/gcc-4.8.2-20131212/obj-x86_64-redhat-linux/cloog-install --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux >>> Thread model: posix >>> gcc version 4.8.2 20131212 (Red Hat 4.8.2-7) (GCC) >>> >>> Don't know whats causing the error, sice the line in the error messiage is a single }. >>> >>> Jan D. >>> >>> >>> >>> >> >> >> >