http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51072
Uros Bizjak <ubizjak at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|bg |Build with | |--disable-bootstrap fails | |in libitm --- Comment #1 from Uros Bizjak <ubizjak at gmail dot com> 2011-11-09 21:55:39 UTC --- Trying to build gcc, configured with: ../gcc-svn/trunk/configure --disable-bootstrap --enable-languages=c Fails in libitm with: libtool: compile: g++ -B/usr/local/x86_64-unknown-linux-gnu/bin/ -B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/x86_64-unknown-linux-gnu/include -isystem /usr/local/x86_64-unknown-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I../../../gcc-svn/trunk/libitm -I../../../gcc-svn/trunk/libitm/config/linux/x86 -I../../../gcc-svn/trunk/libitm/config/linux -I../../../gcc-svn/trunk/libitm/config/x86 -I../../../gcc-svn/trunk/libitm/config/posix -I../../../gcc-svn/trunk/libitm/config/generic -I../../../gcc-svn/trunk/libitm -std=gnu++0x -funwind-tables -fno-exceptions -fno-rtti -Wall -pthread -Werror -fabi-version=4 -g -O2 -D_GNU_SOURCE -MT beginend.lo -MD -MP -MF .deps/beginend.Tpo -c ../../../gcc-svn/trunk/libitm/beginend.cc -fPIC -DPIC -o .libs/beginend.o In file included from ../../../gcc-svn/trunk/libitm/libitm_i.h:32:0, from ../../../gcc-svn/trunk/libitm/alloc_c.cc:25: ../../../gcc-svn/trunk/libitm/libitm.h:154:82: error: ‘transaction_pure’ attribute directive ignored [-Werror=attributes] ../../../gcc-svn/trunk/libitm/libitm.h:157:68: error: ‘transaction_pure’ attribute directive ignored [-Werror=attributes] ../../../gcc-svn/trunk/libitm/libitm.h:160:68: error: ‘transaction_pure’ attribute directive ignored [-Werror=attributes] ../../../gcc-svn/trunk/libitm/libitm.h:162:64: error: ‘transaction_pure’ attribute directive ignored [-Werror=attributes] In file included from ../../../gcc-svn/trunk/libitm/libitm_i.h:39:0, from ../../../gcc-svn/trunk/libitm/alloc_c.cc:25: ../../../gcc-svn/trunk/libitm/local_type_traits:1754:36: error: ISO C++ forbids declaration of ‘__underlying_type’ with no type [-fpermissive] ../../../gcc-svn/trunk/libitm/local_type_traits:1754:36: error: expected ‘;’ at end of member declaration ../../../gcc-svn/trunk/libitm/local_type_traits:1754:38: error: ‘type’ does not name a type ../../../gcc-svn/trunk/libitm/alloc_c.cc:64:43: error: ‘transaction_pure’ attribute directive ignored [-Werror=attributes] cc1plus: all warnings being treated as errors This happends with standard Fedora15 installation.