This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/63235] New: building fails with --disable-bootstrap
- From: "andi-gcc at firstfloor dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 12 Sep 2014 05:22:46 +0000
- Subject: [Bug c/63235] New: building fails with --disable-bootstrap
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63235
Bug ID: 63235
Summary: building fails with --disable-bootstrap
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: andi-gcc at firstfloor dot org
When I build with --disable-bootstrap i now always get
Host compiler
gcc version 4.8.1 20130909 [gcc-4_8-branch revision 202388] (SUSE Linux)
Is the new C++ tree code getting miscompiled?
libtool: compile: /home/ak/gcc/obj/./gcc/xgcc -B/home/ak/gcc/obj/./gcc/
-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 "-DPACKAGE_NAME=\"Cilk Runtime
Library\"" -DPACKAGE_TARNAME=\"cilk-runtime-library\" -DPACKAGE_VERSION=\"2.0\"
"-DPACKAGE_STRING=\"Cilk Runtime Library 2.0\""
-DPACKAGE_BUGREPORT=\"cilk@intel.com\" -DPACKAGE_URL=\"\"
-DPACKAGE=\"cilk-runtime-library\" -DVERSION=\"2.0\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1
-DHAVE_ATTRIBUTE_VISIBILITY=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
-DHAVE_PTHREAD_AFFINITY_NP=1 -I. -I../../../gcc/libcilkrts
-I../../../gcc/libcilkrts/include -I../../../gcc/libcilkrts/runtime
-I../../../gcc/libcilkrts/runtime/config/x86 -DIN_CILK_RUNTIME=1 -pthread
-fcilkplus -I../../../gcc/libcilkrts/include -I../../../gcc/libcilkrts/runtime
-I../../../gcc/libcilkrts/runtime/config/x86 -DIN_CILK_RUNTIME=1 -fcilkplus
-std=c99 -g -O2 -MT os-unix-sysdep.lo -MD -MP -MF .deps/os-unix-sysdep.Tpo -c
../../../gcc/libcilkrts/runtime/config/x86/os-unix-sysdep.c -fPIC -DPIC -o
.libs/os-unix-sysdep.o
../../../gcc/libcilkrts/runtime/config/x86/os-unix-sysdep.c: In function
'restore_x86_fp_state':
../../../gcc/libcilkrts/runtime/config/x86/os-unix-sysdep.c:114:5: internal
compiler error: tree check: expected tree_list, have var_decl in
get_attribute_name, at attribs.c:679
if (__builtin_cpu_supports("sse"))
^
0xc814f4 tree_check_failed(tree_node const*, char const*, int, char const*,
...)
../../gcc/gcc/tree.c:9160
0x574a45 tree_check
../../gcc/gcc/tree.h:2967
0x574a45 get_attribute_name(tree_node const*)
../../gcc/gcc/attribs.c:679
0xc84605 private_lookup_attribute(char const*, unsigned long, tree_node*)
../../gcc/gcc/tree.c:5746
0xcdbf78 lookup_attribute
../../gcc/gcc/tree.h:3773
0xcdbf78 varpool_node::add(tree_node*)
../../gcc/gcc/varpool.c:452
0xcf9942 fold_builtin_cpu
../../gcc/gcc/config/i386/i386.c:32484
0x69017f fold_builtin_call_array(unsigned int, tree_node*, tree_node*, int,
tree_node**)
../../gcc/gcc/builtins.c:10565
0x5acca4 build_function_call_vec(unsigned int, vec<unsigned int, va_heap,
vl_ptr>, tree_node*, vec<tree_node*, va_gc, vl_embed>*, vec<tree_node*, va_gc,
vl_embed>*)