From: "Jan Djärv" <jan.h.d@swipnet.se>
To: 16210-done@debbugs.gnu.org
Subject: bug#16210: 24.3.50; Build fails: error: trying to encode non-integer type as a bitfield
Date: Mon, 23 Dec 2013 13:08:13 +0100 [thread overview]
Message-ID: <4EB079C7-FE83-4B61-85A3-C5D0D55E95FD@swipnet.se> (raw)
In-Reply-To: <52B5F5FC.2080409@swipnet.se>
Fix checked in, closing.
21 dec 2013 kl. 21:11 skrev Jan Djärv <jan.h.d@swipnet.se>:
> Hi.
>
> Bisecting shows that the error was introduced in rev 115529, which is a huge one. Changelog starts with
>
> 2013-12-14 Paul Eggert <eggert@cs.ucla.edu>
>
> Use bool for boolean, focusing on headers.
> * atimer.h, lisp.h, syssignal.h, syswait.h, unexelf.c:
> No need to include <stdbool.h>, 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 <jan.h.d@swipnet.se>:
>>
>>> 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 <jan.h.d@swipnet.se>:
>>>
>>>> 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
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>:0:0: error: trying to encode non-integer type as a bitfield
>>>> <built-in>: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.
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>
prev parent reply other threads:[~2013-12-23 12:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-21 8:25 bug#16210: 24.3.50; Build fails: error: trying to encode non-integer type as a bitfield Jan Djärv
2013-12-21 8:41 ` Jan Djärv
2013-12-21 8:47 ` Jan Djärv
2013-12-21 20:11 ` Jan Djärv
2013-12-23 12:08 ` Jan Djärv [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EB079C7-FE83-4B61-85A3-C5D0D55E95FD@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=16210-done@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.