[Bug target/20166] Bootstrap failure due to lack of fixinclude of pthread problem

2005-03-21 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-03-21 
16:18 ---
Subject: Bug 20166

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]   2005-03-21 16:17:55

Modified files:
fixincludes: ChangeLog inclhack.def fixincl.x 
fixincludes/tests/base: pthread.h 

Log message:
2005-03-21  Richard Guenther  [EMAIL PROTECTED]

PR target/20166
* inclhack.def: Add fix for array of incomplete structures
in function prototype in pthread.h.
* fixincl.x: Regenerate.
* tests/base/pthread.h: Adjust.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/fixincludes/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.32.2.1r2=1.32.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/fixincludes/inclhack.def.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.16.14.1r2=1.16.14.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/fixincludes/fixincl.x.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.16.14.1r2=1.16.14.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/fixincludes/tests/base/pthread.h.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.3r2=1.3.16.1



-- 


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


[Bug target/20166] Bootstrap failure due to lack of fixinclude of pthread problem

2005-03-21 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-03-21 
16:46 ---
Subject: Bug 20166

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-03-21 16:46:09

Modified files:
fixincludes: ChangeLog inclhack.def fixincl.x 
fixincludes/tests/base: pthread.h 

Log message:
2005-03-21  Richard Guenther  [EMAIL PROTECTED]

PR target/20166
* inclhack.def: Add fix for array of incomplete structures
in function prototype in pthread.h.
* fixincl.x: Regenerate.
* tests/base/pthread.h: Adjust.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/fixincludes/ChangeLog.diff?cvsroot=gccr1=1.33r2=1.34
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/fixincludes/inclhack.def.diff?cvsroot=gccr1=1.17r2=1.18
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/fixincludes/fixincl.x.diff?cvsroot=gccr1=1.17r2=1.18
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/fixincludes/tests/base/pthread.h.diff?cvsroot=gccr1=1.3r2=1.4



-- 


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


[Bug target/20166] Bootstrap failure due to lack of fixinclude of pthread problem

2005-03-21 Thread rguenth at gcc dot gnu dot org

--- Additional Comments From rguenth at gcc dot gnu dot org  2005-03-21 
16:48 ---
Fixed.

-- 
   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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


[Bug target/20166] Bootstrap failure due to lack of fixinclude of pthread problem

2005-03-20 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-20 
17:39 ---
(In reply to comment #12)
 Patch here:
 http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01377.html
Note for fixinclude patches, Bruce Korb likes to be CCed on them.


-- 


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


[Bug target/20166] Bootstrap failure due to lack of fixinclude of pthread problem

2005-03-15 Thread rguenth at gcc dot gnu dot org

--- Additional Comments From rguenth at gcc dot gnu dot org  2005-03-15 
08:15 ---
Patch here:
http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01377.html

-- 
   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |rguenth at gcc dot gnu dot
   |dot org |org
 Status|NEW |ASSIGNED
   Keywords||patch
   Last reconfirmed|2005-02-28 18:28:48 |2005-03-15 08:15:47
   date||


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


[Bug target/20166] Bootstrap failure due to lack of fixinclude of pthread problem

2005-03-11 Thread jakub at gcc dot gnu dot org

--- Additional Comments From jakub at gcc dot gnu dot org  2005-03-11 11:51 
---
Just FYI, most distributions ship LinuxThreads headers by default and you
need to specifically ask for NPTL headers ATM.  Linking happens against
LinuxThreads libraries as well by default, though NPTL is the default threading
library at runtime.  This is the setup e.g. Fedora Core, RHEL, SUSE, Mandrake,
Conectiva use.  So the problem is not that wide-spread.

-- 


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


[Bug target/20166] Bootstrap failure due to lack of fixinclude of pthread problem

2005-03-10 Thread mmitchel at gcc dot gnu dot org

--- Additional Comments From mmitchel at gcc dot gnu dot org  2005-03-11 
03:29 ---
I've restored the target milestone for this bug, but made the priority P3.  I
think that it would be good to fix this bug, since these GLIBCs are out there in
the wild.  The right fix is indded to add that to fixincludes.

Richard, Greg, would one of you like to give that a try?

-- 
   What|Removed |Added

   Priority|P2  |P3
   Target Milestone|--- |4.0.0


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


[Bug target/20166] Bootstrap failure due to lack of fixinclude of pthread problem

2005-03-01 Thread rguenth at gcc dot gnu dot org

--- Additional Comments From rguenth at gcc dot gnu dot org  2005-03-01 
16:01 ---
We really need to fix this for 4.0.0

-- 
   What|Removed |Added

   Severity|normal  |critical
   Priority|P2  |P1
   Target Milestone|--- |4.0.0


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


[Bug target/20166] Bootstrap failure due to lack of fixinclude of pthread problem

2005-03-01 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-01 
17:05 ---
Well considering this is glibc bug, yes this needs to be fixed but really glibc 
should have this code in 
the first place as it would break with -pedantic and they were using an 
undocumented extension.

-- 
   What|Removed |Added

   Severity|critical|normal
   Priority|P1  |P2
   Target Milestone|4.0.0   |---


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


[Bug target/20166] Bootstrap failure due to lack of fixinclude of pthread problem

2005-03-01 Thread themis_hv at yahoo dot co dot uk

--- Additional Comments From themis_hv at yahoo dot co dot uk  2005-03-01 
19:33 ---
Yes, glibc should have this code in the first place but we can not turn the
clock back/time travel.

Futhermore, I can reproduce it on i686-pc-linux-gnu with NPTL-enabled
glibc-2.3.3 system using official tarball with no patches.

IMHO, it's quite important for folks using NPTL-enabled systems to bootstrap GCC
4.0.

-- 


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


[Bug target/20166] Bootstrap failure due to lack of fixinclude of pthread problem

2005-02-28 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-28 
18:28 ---
(In reply to comment #4)
 (In reply to comment #1)
  It is not just debian but anyone who used a bad glibc in the first place.  I
 have no idea when this was 
  introduced at all.
 It was introduced by fix for GCC Bug ID 19333

I mean in glibc, as I have much older glibc and it works still.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2005-02-28 18:28:48
   date||


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


[Bug target/20166] Bootstrap failure due to lack of fixinclude of pthread problem

2005-02-28 Thread themis_hv at yahoo dot co dot uk

--- Additional Comments From themis_hv at yahoo dot co dot uk  2005-02-28 
20:47 ---
For NPTL addon for glibc, it's been their since 12 April 2003, see
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nptl/sysdeps/pthread/pthread.h?cvsroot=glibc

-- 


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


[Bug target/20166] Bootstrap failure due to lack of fixinclude of pthread problem

2005-02-24 Thread themis_hv at yahoo dot co dot uk

--- Additional Comments From themis_hv at yahoo dot co dot uk  2005-02-24 
08:18 ---
(In reply to comment #1)
 It is not just debian but anyone who used a bad glibc in the first place.  I
have no idea when this was 
 introduced at all.
It was introduced by fix for GCC Bug ID 19333




-- 


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


[Bug target/20166] Bootstrap failure due to lack of fixinclude of pthread problem

2005-02-24 Thread themis_hv at yahoo dot co dot uk


-- 
   What|Removed |Added

 CC||themis_hv at yahoo dot co
   ||dot uk


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


[Bug target/20166] Bootstrap failure due to lack of fixinclude of pthread problem

2005-02-23 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-23 
15:01 ---
It is not just debian but anyone who used a bad glibc in the first place.  I 
have no idea when this was 
introduced at all.

-- 
   What|Removed |Added

  Component|bootstrap   |target
   Keywords||build


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


[Bug target/20166] Bootstrap failure due to lack of fixinclude of pthread problem

2005-02-23 Thread gschafer at zip dot com dot au

--- Additional Comments From gschafer at zip dot com dot au  2005-02-24 
04:39 ---
This also happens for me on i686-pc-linux-gnu. It's a bog-standard unpatched
NPTL-enabled glibc-2.3.4 system. I don't think it classifies as a bad glibc. I
concur that some fixincludes magic may be required here.

This is a showstopper.

-- 
   What|Removed |Added

 CC||gschafer at zip dot com dot
   ||au


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


[Bug target/20166] Bootstrap failure due to lack of fixinclude of pthread problem

2005-02-23 Thread gschafer at zip dot com dot au

--- Additional Comments From gschafer at zip dot com dot au  2005-02-24 
06:43 ---
Here's the fix to pthread.h from Glibc cvs. I suppose the fixinclude fix would
need to replicate this:

http://sources.redhat.com/ml/glibc-cvs/2005-q1/msg00303.html

-- 


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