GNU bug report logs - #16210
24.3.50; Build fails: error: trying to encode non-integer type as a bitfield

Previous Next

Package: emacs;

Reported by: Jan Djärv <jan.h.d <at> swipnet.se>

Date: Sat, 21 Dec 2013 08:27:01 UTC

Severity: important

Found in version 24.3.50

Done: Jan Djärv <jan.h.d <at> swipnet.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 16210 in the body.
You can then email your comments to 16210 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#16210; Package emacs. (Sat, 21 Dec 2013 08:27:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jan Djärv <jan.h.d <at> swipnet.se>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 21 Dec 2013 08:27:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50;
 Build fails: error: trying to encode non-integer type as a bitfield
Date: Sat, 21 Dec 2013 09:25:54 +0100
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.






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16210; Package emacs. (Sat, 21 Dec 2013 08:43:02 GMT) Full text and rfc822 format available.

Message #8 received at 16210 <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: 16210 <at> debbugs.gnu.org
Subject: Re: bug#16210: 24.3.50;
 Build fails: error: trying to encode non-integer type as a bitfield
Date: Sat, 21 Dec 2013 09:41:49 +0100
Hello.

gcc 4.7 gives the same error.  Using clang 3.3 does not give any error.

	Jan D.

21 dec 2013 kl. 09:25 skrev Jan Djärv <jan.h.d <at> 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.
> 
> 
> 
> 





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16210; Package emacs. (Sat, 21 Dec 2013 08:48:02 GMT) Full text and rfc822 format available.

Message #11 received at 16210 <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: 16210 <at> debbugs.gnu.org
Subject: Re: bug#16210: 24.3.50;
 Build fails: error: trying to encode non-integer type as a bitfield
Date: Sat, 21 Dec 2013 09:47:42 +0100
Hello.

21 dec 2013 kl. 09:41 skrev Jan Djärv <jan.h.d <at> 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 <at> 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.
>> 
>> 
>> 
>> 
> 
> 
> 





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16210; Package emacs. (Sat, 21 Dec 2013 20:12:03 GMT) Full text and rfc822 format available.

Message #14 received at 16210 <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: 16210 <at> debbugs.gnu.org
Subject: Re: 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
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 <at> 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 <at> 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 <at> 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.
>>>
>>>
>>>
>>>
>>
>>
>>
>





Reply sent to Jan Djärv <jan.h.d <at> swipnet.se>:
You have taken responsibility. (Mon, 23 Dec 2013 12:09:02 GMT) Full text and rfc822 format available.

Notification sent to Jan Djärv <jan.h.d <at> swipnet.se>:
bug acknowledged by developer. (Mon, 23 Dec 2013 12:09:02 GMT) Full text and rfc822 format available.

Message #19 received at 16210-done <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: 16210-done <at> debbugs.gnu.org
Subject: Re: 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
Fix checked in, closing.

21 dec 2013 kl. 21:11 skrev Jan Djärv <jan.h.d <at> 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 <at> 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 <at> 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 <at> 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.
>>>> 
>>>> 
>>>> 
>>>> 
>>> 
>>> 
>>> 
>> 
> 





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 20 Jan 2014 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 153 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.