Trying to compile binutils-2.17.50.0.3 (gdb-6.4 also tries to take the addr of a bitfield) with gcc-trunk from 20060828, i get errors of the form:
make[3]: Entering directory `/root/src/buildroot/build_x86_64/binutils-2.17.50.0.3-target/libiberty' if [ x"" != x ] && [ ! -d pic ]; then \ mkdir pic; \ else true; fi touch stamp-picdir if [ x"" != x ]; then \ x86_64-linux-uclibc-gcc -c -DHAVE_CONFIG_H -O2 -fPIC -ftree-loop-optimize -ftree-vectorize -ftree-vect-loop-version -funroll-loops -freorder-blocks -freorder-blocks-and-partition -mtune=nocona -march=nocona -msse -msse2 -msse3 -mfpmath=sse -fprefetch-loop-arrays -funswitch-loops -fbranch-target-load-optimize -ftree-loop-linear -ftree-loop-im -ftree-loop-ivcanon -fgcse-after-reload -fvariable-expansion-in-unroller -fivopts -I. -I/root/src/buildroot/toolchain_build_x86_64/binutils-2.17.50.0.3/libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat /root/src/buildroot/toolchain_build_x86_64/binutils-2.17.50.0.3/libiberty/regex.c -o pic/regex.o; \ else true; fi x86_64-linux-uclibc-gcc -c -DHAVE_CONFIG_H -O2 -fPIC -ftree-loop-optimize -ftree-vectorize -ftree-vect-loop-version -funroll-loops -freorder-blocks -freorder-blocks-and-partition -mtune=nocona -march=nocona -msse -msse2 -msse3 -mfpmath=sse -fprefetch-loop-arrays -funswitch-loops -fbranch-target-load-optimize -ftree-loop-linear -ftree-loop-im -ftree-loop-ivcanon -fgcse-after-reload -fvariable-expansion-in-unroller -fivopts -I. -I/root/src/buildroot/toolchain_build_x86_64/binutils-2.17.50.0.3/libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat /root/src/buildroot/toolchain_build_x86_64/binutils-2.17.50.0.3/libiberty/regex.c -o regex.o /root/src/buildroot/toolchain_build_x86_64/binutils-2.17.50.0.3/libiberty/regex.c: In function 'byte_re_match_2_internal': /root/src/buildroot/toolchain_build_x86_64/binutils-2.17.50.0.3/libiberty/regex.c:5549: error: cannot take address of bit-field 'match_null_string_p' /root/src/buildroot/toolchain_build_x86_64/binutils-2.17.50.0.3/libiberty/regex.c:5549: error: cannot take address of bit-field 'match_null_string_p' /root/src/buildroot/toolchain_build_x86_64/binutils-2.17.50.0.3/libiberty/regex.c:5549: error: cannot take address of bit-field 'match_null_string_p' make[3]: *** [regex.o] Error 1 make[3]: Leaving directory `/root/src/buildroot/build_x86_64/binutils-2.17.50.0.3-target/libiberty' make[2]: *** [all-libiberty] Error 2 make[2]: Leaving directory `/root/src/buildroot/build_x86_64/binutils-2.17.50.0.3-target' make[1]: *** [all] Error 2 make[1]: Leaving directory `/root/src/buildroot/build_x86_64/binutils-2.17.50.0.3-target' make: *** [/root/src/buildroot/build_x86_64/binutils-2.17.50.0.3-target/binutils/objdump] Error 2 -- Summary: taking address of bitfield Product: binutils Version: unspecified Status: NEW Severity: critical Priority: P2 Component: binutils AssignedTo: unassigned at sources dot redhat dot com ReportedBy: rep dot nop at aon dot at CC: bug-binutils at gnu dot org http://sourceware.org/bugzilla/show_bug.cgi?id=3145 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils