This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/28298] New: Problem compiling gcc 4.1.1
- From: "pierre42d at 9online dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jul 2006 08:54:17 -0000
- Subject: [Bug other/28298] New: Problem compiling gcc 4.1.1
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
[...]
make[3]: Entering directory `/tmp/gcc-4.1.1/host-i686-pc-linux-gnu/stage1-gcc'
make \
CFLAGS="-g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wmissing-format-attribute " \
CONFIG_H="tconfig.h auto-host.h ../.././gcc/../include/ansidecl.h" TM_H="tm.h
options.h ../.././gcc/config/i386/i386.h ../.././gcc/config/i386/unix.h
../.././gcc/config/i386/att.h ../.././gcc/config/dbxelf.h
../.././gcc/config/elfos.h ../.././gcc/config/svr4.h ../.././gcc/config/linux.h
../.././gcc/config/i386/linux.h ../.././gcc/defaults.h insn-constants.h
insn-flags.h options.h" \
INCLUDES="-I. -I. -I../.././gcc -I../.././gcc/. -I../.././gcc/../include
-I../.././gcc/../libcpp/include " \
MAKEOVERRIDES= \
-f libgcc.mk all
make[4]: Entering directory `/tmp/gcc-4.1.1/host-i686-pc-linux-gnu/stage1-gcc'
/tmp/gcc-4.1.1/host-i686-pc-linux-gnu/gcc/xgcc
-B/tmp/gcc-4.1.1/host-i686-pc-linux-gnu/gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include -O2 -O2 -s -O3 -march=i686 -DIN_GCC
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../.././gcc -I../.././gcc/.
-I../.././gcc/../include -I../.././gcc/../libcpp/include -fexceptions
-fvisibility=hidden -DHIDE_EXPORTS -c ../.././gcc/unwind-dw2.c -o
libgcc/./unwind-dw2.o
In file included from ../.././gcc/gthr-posix.h:43,
from ./gthr-default.h:1,
from ../.././gcc/gthr.h:114,
from ../.././gcc/unwind-dw2.c:42:
/usr/include/pthread.h:163: error: expected ';', ',' or ')' before '__thread'
/usr/include/pthread.h:591: error: storage class specified for parameter 'type
name'
In file included from /usr/include/pthread.h:655,
from ../.././gcc/gthr-posix.h:43,
from ./gthr-default.h:1,
from ../.././gcc/gthr.h:114,
from ../.././gcc/unwind-dw2.c:42:
/usr/include/bits/sigthread.h:36: error: storage class specified for parameter
'type name'
In file included from ./gthr-default.h:1,
from ../.././gcc/gthr.h:114,
from ../.././gcc/unwind-dw2.c:42:
../.././gcc/gthr-posix.h:91: error: 'pthread_create' undeclared here (not in a
function)
../.././gcc/gthr-posix.h:91: warning: type defaults to 'int' in declaration of
'__gthrw_pthread_create'
make[4]: *** [libgcc/./unwind-dw2.o] Error 1
make[4]: Leaving directory `/tmp/gcc-4.1.1/host-i686-pc-linux-gnu/stage1-gcc'
make[3]: *** [libgcc.a] Error 2
make[3]: Leaving directory `/tmp/gcc-4.1.1/host-i686-pc-linux-gnu/stage1-gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/tmp/gcc-4.1.1'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/tmp/gcc-4.1.1'
make: *** [all] Error 2
--
Summary: Problem compiling gcc 4.1.1
Product: gcc
Version: 4.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pierre42d at 9online dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28298