public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/28298]  New: Problem compiling gcc 4.1.1
@ 2006-07-07  8:54 pierre42d at 9online dot fr
  2006-07-07 11:40 ` [Bug other/28298] " rguenth at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: pierre42d at 9online dot fr @ 2006-07-07  8:54 UTC (permalink / raw)
  To: gcc-bugs

[...]
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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug other/28298] Problem compiling gcc 4.1.1
  2006-07-07  8:54 [Bug other/28298] New: Problem compiling gcc 4.1.1 pierre42d at 9online dot fr
@ 2006-07-07 11:40 ` rguenth at gcc dot gnu dot org
  2006-07-07 16:37 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-07-07 11:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2006-07-07 11:39 -------
/usr/include/pthread.h:163: error: expected ';', ',' or ')' before '__thread'
/usr/include/pthread.h:591: error: storage class specified for parameter 'type
name'

so, whats wrong there?  This is really not enough information.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28298


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug other/28298] Problem compiling gcc 4.1.1
  2006-07-07  8:54 [Bug other/28298] New: Problem compiling gcc 4.1.1 pierre42d at 9online dot fr
  2006-07-07 11:40 ` [Bug other/28298] " rguenth at gcc dot gnu dot org
@ 2006-07-07 16:37 ` pinskia at gcc dot gnu dot org
  2006-07-08 14:09 ` pierre42d at 9online dot fr
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-07-07 16:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-07-07 16:37 -------
/usr/include/pthread.h:163: error: expected ';', ',' or ')' before '__thread'

Did you disable fixincludes?  If so this is why you don't disable fixincludes
:).

If you did not, then you might be better off updating glibc since the old glibc
headers are broken.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28298


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug other/28298] Problem compiling gcc 4.1.1
  2006-07-07  8:54 [Bug other/28298] New: Problem compiling gcc 4.1.1 pierre42d at 9online dot fr
  2006-07-07 11:40 ` [Bug other/28298] " rguenth at gcc dot gnu dot org
  2006-07-07 16:37 ` pinskia at gcc dot gnu dot org
@ 2006-07-08 14:09 ` pierre42d at 9online dot fr
  2006-08-15 15:47 ` sebastian dot forsman at gmail dot com
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pierre42d at 9online dot fr @ 2006-07-08 14:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pierre42d at 9online dot fr  2006-07-08 14:09 -------
I didn't disable fixincludes.
What is the minimum glibc version required ?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28298


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug other/28298] Problem compiling gcc 4.1.1
  2006-07-07  8:54 [Bug other/28298] New: Problem compiling gcc 4.1.1 pierre42d at 9online dot fr
                   ` (2 preceding siblings ...)
  2006-07-08 14:09 ` pierre42d at 9online dot fr
@ 2006-08-15 15:47 ` sebastian dot forsman at gmail dot com
  2006-08-15 17:09 ` sebastian dot forsman at gmail dot com
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: sebastian dot forsman at gmail dot com @ 2006-08-15 15:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from sebastian dot forsman at gmail dot com  2006-08-15 15:46 -------
I have exactly the same problem (and errors) on Debian 3.0 (kernel v2.4.28)
with gcc v2.95, make v3.79.1 and glibc v2.2.5. 

Used the following simple configure: './configure --enable-threads=posix
--enable-languages=c,c++,java'

...and then 'make'


-- 

sebastian dot forsman at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sebastian dot forsman at
                   |                            |gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28298


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug other/28298] Problem compiling gcc 4.1.1
  2006-07-07  8:54 [Bug other/28298] New: Problem compiling gcc 4.1.1 pierre42d at 9online dot fr
                   ` (3 preceding siblings ...)
  2006-08-15 15:47 ` sebastian dot forsman at gmail dot com
@ 2006-08-15 17:09 ` sebastian dot forsman at gmail dot com
  2006-11-14  6:08 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: sebastian dot forsman at gmail dot com @ 2006-08-15 17:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from sebastian dot forsman at gmail dot com  2006-08-15 17:09 -------
Ok "fixed" with:

<download and unpack sources>
mkdir mybuild
cd mybuild
../gcc-4.1.1/configure --enable-threads=posix --enable-languages=c,c++,java
make bootstrap
make install

Pierre you probably tried to configure/make directly from the source directory
as I did. Don't know about the gcc internals why this fails and too lazy to
crawl the docs but I guess there's a good reason ;)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28298


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug other/28298] Problem compiling gcc 4.1.1
  2006-07-07  8:54 [Bug other/28298] New: Problem compiling gcc 4.1.1 pierre42d at 9online dot fr
                   ` (4 preceding siblings ...)
  2006-08-15 17:09 ` sebastian dot forsman at gmail dot com
@ 2006-11-14  6:08 ` pinskia at gcc dot gnu dot org
  2007-04-09 22:32 ` pierre42d at 9online dot fr
  2007-04-09 23:02 ` pierre42d at 9online dot fr
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-11-14  6:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pinskia at gcc dot gnu dot org  2006-11-14 06:07 -------
building inside the src directory is not really supported.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28298


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug other/28298] Problem compiling gcc 4.1.1
  2006-07-07  8:54 [Bug other/28298] New: Problem compiling gcc 4.1.1 pierre42d at 9online dot fr
                   ` (5 preceding siblings ...)
  2006-11-14  6:08 ` pinskia at gcc dot gnu dot org
@ 2007-04-09 22:32 ` pierre42d at 9online dot fr
  2007-04-09 23:02 ` pierre42d at 9online dot fr
  7 siblings, 0 replies; 9+ messages in thread
From: pierre42d at 9online dot fr @ 2007-04-09 22:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pierre42d at 9online dot fr  2007-04-09 23:32 -------
Documentation says :

First, we highly recommend that GCC be built into a separate directory than the
sources which does not reside within the source tree. This is how we generally
build GCC; building where srcdir == objdir should still work, but doesn't get
extensive testing; building where objdir is a subdirectory of srcdir is
unsupported.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28298


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug other/28298] Problem compiling gcc 4.1.1
  2006-07-07  8:54 [Bug other/28298] New: Problem compiling gcc 4.1.1 pierre42d at 9online dot fr
                   ` (6 preceding siblings ...)
  2007-04-09 22:32 ` pierre42d at 9online dot fr
@ 2007-04-09 23:02 ` pierre42d at 9online dot fr
  7 siblings, 0 replies; 9+ messages in thread
From: pierre42d at 9online dot fr @ 2007-04-09 23:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from pierre42d at 9online dot fr  2007-04-10 00:02 -------
Same problem with gcc 4.1.2


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28298


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-04-09 23:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-07  8:54 [Bug other/28298] New: Problem compiling gcc 4.1.1 pierre42d at 9online dot fr
2006-07-07 11:40 ` [Bug other/28298] " rguenth at gcc dot gnu dot org
2006-07-07 16:37 ` pinskia at gcc dot gnu dot org
2006-07-08 14:09 ` pierre42d at 9online dot fr
2006-08-15 15:47 ` sebastian dot forsman at gmail dot com
2006-08-15 17:09 ` sebastian dot forsman at gmail dot com
2006-11-14  6:08 ` pinskia at gcc dot gnu dot org
2007-04-09 22:32 ` pierre42d at 9online dot fr
2007-04-09 23:02 ` pierre42d at 9online dot fr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).