public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/11515] New: mingw32 fails to build gnatlib due to missing sys/wait.h
@ 2003-07-14  0:44 dhazeghi at yahoo dot com
  2003-07-14  0:49 ` [Bug bootstrap/11515] " pinskia at physics dot uc dot edu
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-07-14  0:44 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: mingw32 fails to build gnatlib due to missing sys/wait.h
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dhazeghi at yahoo dot com
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: i?86-*-mingw32

Building a cross-compiler to i386-pc-mingw32 fails when build gnatlib:

make -C gcc gnatlib_and_tools
...
make[2]: Entering directory `/home/dara/branch/objdir/gcc/ada/rts'
../../xgcc -B../../ -c -DCROSS_COMPILE -DIN_GCC   `echo -g -O2  -fexceptions 
-DIN_RTS |sed -e 's/-pedantic//g' -e 's/-Wtraditional//g'`       
-DCYGWIN_CROSS_DIR=\"/usr/local/i386-pc-mingw32//i386-pc-mingw32\" -I. -I.. -I..
/.. -I/home/dara/branch/gcc/gcc/ada -I/home/dara/branch/gcc/gcc/ada/.. 
-I/home/dara/branch/gcc/gcc/ada/../config -I/home/dara/branch/gcc/gcc/ada/../..
/include -I./../.. adaint.c
adaint.c:68:22: sys/wait.h: No such file or directory

This is true: mingw32 has no sys/wait.h. But configure should either work around 
this, or not allow gnatlib to be built on mingw32.


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

* [Bug bootstrap/11515] mingw32 fails to build gnatlib due to missing sys/wait.h
  2003-07-14  0:44 [Bug bootstrap/11515] New: mingw32 fails to build gnatlib due to missing sys/wait.h dhazeghi at yahoo dot com
@ 2003-07-14  0:49 ` pinskia at physics dot uc dot edu
  2003-07-14  1:56 ` dhazeghi at yahoo dot com
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-14  0:49 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-07-14 00:49:53
               date|                            |


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-14 00:49 -------
The problem is that adaint.c does not have a check to see if sys/wait.h exists.  I am going to 
confirm this based on Dara saying mingw32 does not have sys/wait.h and by looking into the 
adaint.c and seeing that it is including sys/wait.h if IN_RTS is not defined which is true on 
mingw32.


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

* [Bug bootstrap/11515] mingw32 fails to build gnatlib due to missing sys/wait.h
  2003-07-14  0:44 [Bug bootstrap/11515] New: mingw32 fails to build gnatlib due to missing sys/wait.h dhazeghi at yahoo dot com
  2003-07-14  0:49 ` [Bug bootstrap/11515] " pinskia at physics dot uc dot edu
@ 2003-07-14  1:56 ` dhazeghi at yahoo dot com
  2003-07-14  1:59 ` pinskia at physics dot uc dot edu
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-07-14  1:56 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From dhazeghi at yahoo dot com  2003-07-14 01:56 -------
Thanks for confirming this Andrew. Testing shows this problem also occurs with 
current mainline (20030711).


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

* [Bug bootstrap/11515] mingw32 fails to build gnatlib due to missing sys/wait.h
  2003-07-14  0:44 [Bug bootstrap/11515] New: mingw32 fails to build gnatlib due to missing sys/wait.h dhazeghi at yahoo dot com
  2003-07-14  0:49 ` [Bug bootstrap/11515] " pinskia at physics dot uc dot edu
  2003-07-14  1:56 ` dhazeghi at yahoo dot com
@ 2003-07-14  1:59 ` pinskia at physics dot uc dot edu
  2003-07-14  3:34 ` dannysmith at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-14  1:59 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-14 01:59 -------
I had meant to say that I was look into the mainline sources for adaint.c.  I would say Ada does not 
get any testing on that many targets.  I think the Ada library needs a rewrite and moved out of the 
ada subdirectory inside gcc.


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

* [Bug bootstrap/11515] mingw32 fails to build gnatlib due to missing sys/wait.h
  2003-07-14  0:44 [Bug bootstrap/11515] New: mingw32 fails to build gnatlib due to missing sys/wait.h dhazeghi at yahoo dot com
                   ` (2 preceding siblings ...)
  2003-07-14  1:59 ` pinskia at physics dot uc dot edu
@ 2003-07-14  3:34 ` dannysmith at gcc dot gnu dot org
  2003-07-14  3:42 ` dhazeghi at yahoo dot com
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: dannysmith at gcc dot gnu dot org @ 2003-07-14  3:34 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From dannysmith at gcc dot gnu dot org  2003-07-14 03:34 -------
See:
http://gcc.gnu.org/ml/gcc-patches/2003-05/msg00978.html
for a patchset against 3_3 to get mingw32 to build Ada.
Should I submit updated patch?

Danny


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

* [Bug bootstrap/11515] mingw32 fails to build gnatlib due to missing sys/wait.h
  2003-07-14  0:44 [Bug bootstrap/11515] New: mingw32 fails to build gnatlib due to missing sys/wait.h dhazeghi at yahoo dot com
                   ` (3 preceding siblings ...)
  2003-07-14  3:34 ` dannysmith at gcc dot gnu dot org
@ 2003-07-14  3:42 ` dhazeghi at yahoo dot com
  2003-07-14  4:26 ` neroden at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-07-14  3:42 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From dhazeghi at yahoo dot com  2003-07-14 03:42 -------
Oh, cool. Looks like I should've done my reasarch. If you could, please do 
resend the patches to the list with a reminder. I don't understand why nobody 
reviewed them the first time around.


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

* [Bug bootstrap/11515] mingw32 fails to build gnatlib due to missing sys/wait.h
  2003-07-14  0:44 [Bug bootstrap/11515] New: mingw32 fails to build gnatlib due to missing sys/wait.h dhazeghi at yahoo dot com
                   ` (4 preceding siblings ...)
  2003-07-14  3:42 ` dhazeghi at yahoo dot com
@ 2003-07-14  4:26 ` neroden at gcc dot gnu dot org
  2003-07-14  4:37 ` dannysmith at clear dot net dot nz
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: neroden at gcc dot gnu dot org @ 2003-07-14  4:26 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


neroden at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dannysmith at gcc dot gnu
                   |                            |dot org


------- Additional Comments From neroden at gcc dot gnu dot org  2003-07-14 04:26 -------
>See:
>http://gcc.gnu.org/ml/gcc-patches/2003-05/msg00978.html
>for a patchset against 3_3 to get mingw32 to build Ada.
>Should I submit updated patch?

A patchset againsst 3.3 is not that useful at this point, we need one against mainline.
Danny, could you possibly update it?


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

* [Bug bootstrap/11515] mingw32 fails to build gnatlib due to missing sys/wait.h
  2003-07-14  0:44 [Bug bootstrap/11515] New: mingw32 fails to build gnatlib due to missing sys/wait.h dhazeghi at yahoo dot com
                   ` (5 preceding siblings ...)
  2003-07-14  4:26 ` neroden at gcc dot gnu dot org
@ 2003-07-14  4:37 ` dannysmith at clear dot net dot nz
  2003-08-23  0:18 ` dhazeghi at yahoo dot com
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: dannysmith at clear dot net dot nz @ 2003-07-14  4:37 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From dannysmith at clear dot net dot nz  2003-07-14 04:37 -------
Subject: Re:  mingw32 fails to build gnatlib due to
 missing sys/wait.h


----- Original Message -----
From: "neroden at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: <dannysmith@gcc.gnu.org>
Sent: Monday, 14 July 2003 05:26
Subject: [Bug bootstrap/11515] mingw32 fails to build gnatlib due to
missing sys/wait.h


> PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT*
gcc-bugs@gcc.gnu.org.
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11515
>
>
> neroden at gcc dot gnu dot org changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------
------
>                  CC|                            |dannysmith at gcc dot
gnu
>                    |                            |dot org
>
>
> ------- Additional Comments From neroden at gcc dot gnu dot org
2003-07-14 04:26 -------
> >See:
> >http://gcc.gnu.org/ml/gcc-patches/2003-05/msg00978.html
> >for a patchset against 3_3 to get mingw32 to build Ada.
> >Should I submit updated patch?
>
> A patchset againsst 3.3 is not that useful at this point, we need one
against mainline.
> Danny, could you possibly update it?
>
As soon as I get back to bootstrap-land.
Danny.
>
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug, or are watching someone who is.


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

* [Bug bootstrap/11515] mingw32 fails to build gnatlib due to missing sys/wait.h
  2003-07-14  0:44 [Bug bootstrap/11515] New: mingw32 fails to build gnatlib due to missing sys/wait.h dhazeghi at yahoo dot com
                   ` (6 preceding siblings ...)
  2003-07-14  4:37 ` dannysmith at clear dot net dot nz
@ 2003-08-23  0:18 ` dhazeghi at yahoo dot com
  2003-10-30  7:04 ` [Bug ada/11515] " pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-08-23  0:18 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


dhazeghi at yahoo dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4                         |---


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

* [Bug ada/11515] mingw32 fails to build gnatlib due to missing sys/wait.h
  2003-07-14  0:44 [Bug bootstrap/11515] New: mingw32 fails to build gnatlib due to missing sys/wait.h dhazeghi at yahoo dot com
                   ` (7 preceding siblings ...)
  2003-08-23  0:18 ` dhazeghi at yahoo dot com
@ 2003-10-30  7:04 ` pinskia at gcc dot gnu dot org
  2003-10-30  8:37 ` dannysmith at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-30  7:04 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|bootstrap                   |ada


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-30 07:04 -------
Dara and Danny,
I remember some Ada related mingw32 patches going in recently, do either of you know if this is 
fixed?


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

* [Bug ada/11515] mingw32 fails to build gnatlib due to missing sys/wait.h
  2003-07-14  0:44 [Bug bootstrap/11515] New: mingw32 fails to build gnatlib due to missing sys/wait.h dhazeghi at yahoo dot com
                   ` (8 preceding siblings ...)
  2003-10-30  7:04 ` [Bug ada/11515] " pinskia at gcc dot gnu dot org
@ 2003-10-30  8:37 ` dannysmith at gcc dot gnu dot org
  2003-10-30  8:37 ` [Bug ada/11515] [3.3 only] " pinskia at gcc dot gnu dot org
  2003-10-30  9:23 ` charlet at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: dannysmith at gcc dot gnu dot org @ 2003-10-30  8:37 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


dannysmith at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |charlet at gcc dot gnu dot
                   |                            |org


------- Additional Comments From dannysmith at gcc dot gnu dot org  2003-10-30 08:34 -------
This was fixed in the latest "big merge"
http://gcc.gnu.org/ml/gcc-cvs/2003-10/msg00838.html

and by subsequent addition of "mingw32.h" to ada directory
http://gcc.gnu.org/ml/gcc-cvs/2003-10/msg00881.html

Thanks Arnaud.

I believe the problem still exists in 3.3 branch.  Are there plans to
backport the recent changes to 3.3 branch?

Danny


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

* [Bug ada/11515] [3.3 only] mingw32 fails to build gnatlib due to missing sys/wait.h
  2003-07-14  0:44 [Bug bootstrap/11515] New: mingw32 fails to build gnatlib due to missing sys/wait.h dhazeghi at yahoo dot com
                   ` (9 preceding siblings ...)
  2003-10-30  8:37 ` dannysmith at gcc dot gnu dot org
@ 2003-10-30  8:37 ` pinskia at gcc dot gnu dot org
  2003-10-30  9:23 ` charlet at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-30  8:37 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|mingw32 fails to build      |[3.3 only] mingw32 fails to
                   |gnatlib due to missing      |build gnatlib due to missing
                   |sys/wait.h                  |sys/wait.h
   Target Milestone|---                         |3.4


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

* [Bug ada/11515] [3.3 only] mingw32 fails to build gnatlib due to missing sys/wait.h
  2003-07-14  0:44 [Bug bootstrap/11515] New: mingw32 fails to build gnatlib due to missing sys/wait.h dhazeghi at yahoo dot com
                   ` (10 preceding siblings ...)
  2003-10-30  8:37 ` [Bug ada/11515] [3.3 only] " pinskia at gcc dot gnu dot org
@ 2003-10-30  9:23 ` charlet at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: charlet at gcc dot gnu dot org @ 2003-10-30  9:23 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


charlet at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


------- Additional Comments From charlet at gcc dot gnu dot org  2003-10-30 09:03 -------
No plans for 3.3, the back-end interface has changed too much between 3.3 and
3.4, so there are no recent sources compatible with 3.3

Arno


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

end of thread, other threads:[~2003-10-30  9:03 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-14  0:44 [Bug bootstrap/11515] New: mingw32 fails to build gnatlib due to missing sys/wait.h dhazeghi at yahoo dot com
2003-07-14  0:49 ` [Bug bootstrap/11515] " pinskia at physics dot uc dot edu
2003-07-14  1:56 ` dhazeghi at yahoo dot com
2003-07-14  1:59 ` pinskia at physics dot uc dot edu
2003-07-14  3:34 ` dannysmith at gcc dot gnu dot org
2003-07-14  3:42 ` dhazeghi at yahoo dot com
2003-07-14  4:26 ` neroden at gcc dot gnu dot org
2003-07-14  4:37 ` dannysmith at clear dot net dot nz
2003-08-23  0:18 ` dhazeghi at yahoo dot com
2003-10-30  7:04 ` [Bug ada/11515] " pinskia at gcc dot gnu dot org
2003-10-30  8:37 ` dannysmith at gcc dot gnu dot org
2003-10-30  8:37 ` [Bug ada/11515] [3.3 only] " pinskia at gcc dot gnu dot org
2003-10-30  9:23 ` charlet 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).