public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/20166] New: Bootstrap failure due to lack of fixinclude of pthread problem
@ 2005-02-23 18:36 rguenth at gcc dot gnu dot org
  2005-02-23 18:39 ` [Bug target/20166] " pinskia at gcc dot gnu dot org
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-02-23 18:36 UTC (permalink / raw)
  To: gcc-bugs

The fix to PR19333 uncovered a problem in the Debian (only?) shipped pthread.h
file which breaks bootstrapping on this platform:

./xgcc -B./ -B/home/rguenth/x86_64/gcc4.0-230205/x86_64-unknown-linux-gnu/bin/
-isystem /home/rguenth/x86_64/gcc4.0-230205/x86_64-unknown-linux-gnu/include
-isystem /home/rguenth/x86_64/gcc4.0-230205/x86_64-unknown-linux-gnu/sys-include
-L/tmp/gcc-obj/gcc/../ld -O2  -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/net/alwazn/home/rguenth/src/gcc/gcc4.0/gcc
-I/net/alwazn/home/rguenth/src/gcc/gcc4.0/gcc/.
-I/net/alwazn/home/rguenth/src/gcc/gcc4.0/gcc/../include
-I/net/alwazn/home/rguenth/src/gcc/gcc4.0/gcc/../libcpp/include 
-fvisibility=hidden -DHIDE_EXPORTS -fexceptions -c
/net/alwazn/home/rguenth/src/gcc/gcc4.0/gcc/unwind-dw2-fde-glibc.c -o
libgcc/./unwind-dw2-fde-glibc.o
In file included from /net/alwazn/home/rguenth/src/gcc/gcc4.0/gcc/gthr-posix.h:43,
                 from ./gthr-default.h:1,
                 from /net/alwazn/home/rguenth/src/gcc/gcc4.0/gcc/gthr.h:114,
                 from /net/alwazn/home/rguenth/src/gcc/gcc4.0/gcc/unwind-dw2.c:42:
/usr/include/pthread.h:655: error: array type has incomplete element type
In file included from /net/alwazn/home/rguenth/src/gcc/gcc4.0/gcc/gthr-posix.h:43,
                 from ./gthr-default.h:1,
                 from /net/alwazn/home/rguenth/src/gcc/gcc4.0/gcc/gthr.h:114,
                 from
/net/alwazn/home/rguenth/src/gcc/gcc4.0/gcc/unwind-dw2-fde-glibc.c:50:
/usr/include/pthread.h:655: error: array type has incomplete element type
make[3]: *** [libgcc/./unwind-dw2-fde-glibc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [libgcc/./unwind-dw2.o] Error 1

where the code in pthread.h:655 is really invalid:


/* Function used in the macros.  */
struct __jmp_buf_tag;
extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) __THROW;

because __jmp_buf_tag is incomplete (and is defined in setjmp.h).

-- 
           Summary: Bootstrap failure due to lack of fixinclude of pthread
                    problem
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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


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

end of thread, other threads:[~2005-03-21 16:49 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-23 18:36 [Bug bootstrap/20166] New: Bootstrap failure due to lack of fixinclude of pthread problem rguenth at gcc dot gnu dot org
2005-02-23 18:39 ` [Bug target/20166] " pinskia at gcc dot gnu dot org
2005-02-24 14:09 ` gschafer at zip dot com dot au
2005-02-24 14:12 ` gschafer at zip dot com dot au
2005-02-24 14:19 ` themis_hv at yahoo dot co dot uk
2005-02-24 14:21 ` themis_hv at yahoo dot co dot uk
2005-02-28 23:42 ` pinskia at gcc dot gnu dot org
2005-03-01 16:02 ` rguenth at gcc dot gnu dot org
2005-03-01 17:05 ` pinskia at gcc dot gnu dot org
2005-03-01 19:33 ` themis_hv at yahoo dot co dot uk
2005-03-11  3:29 ` mmitchel at gcc dot gnu dot org
2005-03-11 11:51 ` jakub at gcc dot gnu dot org
2005-03-15  8:16 ` rguenth at gcc dot gnu dot org
2005-03-20 17:39 ` pinskia at gcc dot gnu dot org
2005-03-21 16:19 ` cvs-commit at gcc dot gnu dot org
2005-03-21 16:47 ` cvs-commit at gcc dot gnu dot org
2005-03-21 16:49 ` rguenth at gcc dot gnu dot org

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).