[Bug other/61427] New: Fail to build due to #error GATHER_STATISTICS must be defined
Torsten at Robitzki dot de
gcc-bugzilla@gcc.gnu.org
Thu Jun 5 22:25:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61427
Bug ID: 61427
Summary: Fail to build due to #error GATHER_STATISTICS must be
defined
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: Torsten at Robitzki dot de
Hello,
I try to build an arm cross compiler on OSX. The used compiler is gcc version
4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00). After
./configure the compiler with:
sudo ../configure --target=$target --prefix=$prefix \
--disable-shared --disable-threads \
--with-gcc --with-gnu-ld --with-gnu-as --with-dwarf2 \
--enable-languages=c,c++ \
--enable-multilib --with-newlib \
--with-headers=../../newlib-2.1.0/newlib/libc/include \
--disable-libssp --disable-libstdcxx-pch \
--disable--vtable-verify \
--without-libstdcxx \
--disable-libmudflap --disable-libgomp -v
the build brakes with:
g++ -c -DIN_GCC_FRONTEND -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -Ic
-I../../gcc -I../../gcc/c -I../../gcc/../include -I./../intl
-I../../gcc/../libcpp/include -I../../gcc/../libdecnumber
-I../../gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc/../libbacktrace
-o c/c-lang.o -MT c/c-lang.o -MMD -MP -MF c/.deps/c-lang.TPo
../../gcc/c/c-lang.c
In file included from ../../gcc/tree-core.h:26,
from ../../gcc/tree.h:23,
from ../../gcc/c/c-lang.c:25:
../../gcc/statistics.h:25:2: error: #error GATHER_STATISTICS must be defined
…
when searching the config.log for "error", I find:
conftest.cpp:11:2: error: #error -static-libstdc++ not implemented
| #error -static-libstdc++ not implemented
could this be a bug in the gcc build?
Kind reagards,
Torsten
More information about the Gcc-bugs
mailing list