public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/15082] New: Minor compilation problem on Solaris-2.8
@ 2004-04-22 23:22 duz at sol-3 dot de
  2004-04-23  6:28 ` [Bug target/15082] Minor compilation problem for cross to Solaris 8 ebotcazou at gcc dot gnu dot org
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: duz at sol-3 dot de @ 2004-04-22 23:22 UTC (permalink / raw)
  To: gcc-bugs

Actually, I'm building a cross compiler to target Solaris-2.8.
As this drags in the Solaris include files, I figure this error
might also happen when compiling on Solaris-2.8.

Anyway, the fix is simply to add line

    #include <limits.h> /* for PATH_MAX */

to

    gcc-3.4.0/gcc/config/sparc/gmon-sol2.c


/pub/unpacked/gcc-3.4.0/gcc/config/sparc/gmon-sol2.c:182: error: `PATH_MAX' unde
clared (first use in this function)

-- 
           Summary: Minor compilation problem on Solaris-2.8
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: duz at sol-3 dot de
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug target/15082] Minor compilation problem for cross to Solaris 8
  2004-04-22 23:22 [Bug c/15082] New: Minor compilation problem on Solaris-2.8 duz at sol-3 dot de
@ 2004-04-23  6:28 ` ebotcazou at gcc dot gnu dot org
  2004-04-28 22:31 ` ebotcazou at gcc dot gnu dot org
                   ` (14 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-04-23  6:28 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-04-23 05:31 -------
> Actually, I'm building a cross compiler to target Solaris-2.8.

You didn't provide enough information.  Please specify the host, the exact target,
the configure line, the 'make' command line and so on.  Also specify how much of
a cross-compilation environment is intalled on the host.

> As this drags in the Solaris include files, I figure this error
> might also happen when compiling on Solaris-2.8.

No, we wouldn't have shipped a compiler that doesn't build on Solaris 8.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |WAITING
          Component|c                           |target
 GCC target triplet|                            |*-*-solaris2.8
            Summary|Minor compilation problem on|Minor compilation problem
                   |Solaris-2.8                 |for cross to Solaris 8


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


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

* [Bug target/15082] Minor compilation problem for cross to Solaris 8
  2004-04-22 23:22 [Bug c/15082] New: Minor compilation problem on Solaris-2.8 duz at sol-3 dot de
  2004-04-23  6:28 ` [Bug target/15082] Minor compilation problem for cross to Solaris 8 ebotcazou at gcc dot gnu dot org
@ 2004-04-28 22:31 ` ebotcazou at gcc dot gnu dot org
  2004-05-04 15:38 ` pinskia at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-04-28 22:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-04-28 20:26 -------
Investigation at http://gcc.gnu.org/ml/gcc-patches/2004-04/msg01738.html .


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-04-28 20:26:18
               date|                            |


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


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

* [Bug target/15082] Minor compilation problem for cross to Solaris 8
  2004-04-22 23:22 [Bug c/15082] New: Minor compilation problem on Solaris-2.8 duz at sol-3 dot de
  2004-04-23  6:28 ` [Bug target/15082] Minor compilation problem for cross to Solaris 8 ebotcazou at gcc dot gnu dot org
  2004-04-28 22:31 ` ebotcazou at gcc dot gnu dot org
@ 2004-05-04 15:38 ` pinskia at gcc dot gnu dot org
  2004-06-03  8:01 ` [Bug target/15082] [3.4/3.5 regression] " ebotcazou at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-04 15:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-04 15:38 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-05/msg00173.html>, this looks like a 
regression also.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
   Target Milestone|---                         |3.4.1


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


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

* [Bug target/15082] [3.4/3.5 regression] Minor compilation problem for cross to Solaris 8
  2004-04-22 23:22 [Bug c/15082] New: Minor compilation problem on Solaris-2.8 duz at sol-3 dot de
                   ` (2 preceding siblings ...)
  2004-05-04 15:38 ` pinskia at gcc dot gnu dot org
@ 2004-06-03  8:01 ` ebotcazou at gcc dot gnu dot org
  2004-06-14 17:20 ` mmitchel at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-06-03  8:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-06-03 08:01 -------
Yes, it's a regression.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Minor compilation problem   |[3.4/3.5 regression] Minor
                   |for cross to Solaris 8      |compilation problem for
                   |                            |cross to Solaris 8


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


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

* [Bug target/15082] [3.4/3.5 regression] Minor compilation problem for cross to Solaris 8
  2004-04-22 23:22 [Bug c/15082] New: Minor compilation problem on Solaris-2.8 duz at sol-3 dot de
                   ` (3 preceding siblings ...)
  2004-06-03  8:01 ` [Bug target/15082] [3.4/3.5 regression] " ebotcazou at gcc dot gnu dot org
@ 2004-06-14 17:20 ` mmitchel at gcc dot gnu dot org
  2004-06-14 18:41 ` ebotcazou at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-06-14 17:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2004-06-14 17:20 -------
Eric, if this patch looks correct to you, would you please apply it?

-- 


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


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

* [Bug target/15082] [3.4/3.5 regression] Minor compilation problem for cross to Solaris 8
  2004-04-22 23:22 [Bug c/15082] New: Minor compilation problem on Solaris-2.8 duz at sol-3 dot de
                   ` (4 preceding siblings ...)
  2004-06-14 17:20 ` mmitchel at gcc dot gnu dot org
@ 2004-06-14 18:41 ` ebotcazou at gcc dot gnu dot org
  2004-06-14 18:44 ` ebotcazou at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-06-14 18:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-06-14 18:41 -------
> Eric, if this patch looks correct to you, would you please apply it?

Yes, it looks correct to me but I'm not familiar with the Makefile machinery. 
I'm going to ping Alexandre, who seems to be versed in the cross-compilation
business.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at codesourcery dot com


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


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

* [Bug target/15082] [3.4/3.5 regression] Minor compilation problem for cross to Solaris 8
  2004-04-22 23:22 [Bug c/15082] New: Minor compilation problem on Solaris-2.8 duz at sol-3 dot de
                   ` (5 preceding siblings ...)
  2004-06-14 18:41 ` ebotcazou at gcc dot gnu dot org
@ 2004-06-14 18:44 ` ebotcazou at gcc dot gnu dot org
  2004-06-21 14:15 ` ebotcazou at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-06-14 18:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-06-14 18:44 -------
Hi Alexandre,

Would you mind reviewing the patch linked to from comment #3 in the audit trail
of this PR?  You will also find a discussion linked to from comment #2.

Thanks in advance.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aoliva at redhat dot com


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


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

* [Bug target/15082] [3.4/3.5 regression] Minor compilation problem for cross to Solaris 8
  2004-04-22 23:22 [Bug c/15082] New: Minor compilation problem on Solaris-2.8 duz at sol-3 dot de
                   ` (6 preceding siblings ...)
  2004-06-14 18:44 ` ebotcazou at gcc dot gnu dot org
@ 2004-06-21 14:15 ` ebotcazou at gcc dot gnu dot org
  2004-06-21 14:26 ` mmitchel at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-06-21 14:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-06-21 14:15 -------
Alexandre explained why the patch is not correct and suggested a solution:
http://gcc.gnu.org/ml/gcc-patches/2004-06/msg01646.html

The workaround is probably to create the missing directory before building the
cross-compiler.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|patch                       |


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


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

* [Bug target/15082] [3.4/3.5 regression] Minor compilation problem for cross to Solaris 8
  2004-04-22 23:22 [Bug c/15082] New: Minor compilation problem on Solaris-2.8 duz at sol-3 dot de
                   ` (7 preceding siblings ...)
  2004-06-21 14:15 ` ebotcazou at gcc dot gnu dot org
@ 2004-06-21 14:26 ` mmitchel at gcc dot gnu dot org
  2004-07-10 20:11 ` [Bug other/15082] " ebotcazou at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-06-21 14:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2004-06-21 14:26 -------
Postponed until GCC 3.4.2.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4.1                       |3.4.2


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


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

* [Bug other/15082] [3.4/3.5 regression] Minor compilation problem for cross to Solaris 8
  2004-04-22 23:22 [Bug c/15082] New: Minor compilation problem on Solaris-2.8 duz at sol-3 dot de
                   ` (8 preceding siblings ...)
  2004-06-21 14:26 ` mmitchel at gcc dot gnu dot org
@ 2004-07-10 20:11 ` ebotcazou at gcc dot gnu dot org
  2004-08-29 18:59 ` mmitchel at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-07-10 20:11 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-07-10 20:11 -------
The problem lies in the Makefile machinery.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|target                      |other


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


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

* [Bug other/15082] [3.4/3.5 regression] Minor compilation problem for cross to Solaris 8
  2004-04-22 23:22 [Bug c/15082] New: Minor compilation problem on Solaris-2.8 duz at sol-3 dot de
                   ` (9 preceding siblings ...)
  2004-07-10 20:11 ` [Bug other/15082] " ebotcazou at gcc dot gnu dot org
@ 2004-08-29 18:59 ` mmitchel at gcc dot gnu dot org
  2004-11-01  0:47 ` [Bug other/15082] [3.4/4.0 " mmitchel at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-08-29 18:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2004-08-29 18:57 -------
Postponed until GCC 3.4.3.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4.2                       |3.4.3


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


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

* [Bug other/15082] [3.4/4.0 regression] Minor compilation problem for cross to Solaris 8
  2004-04-22 23:22 [Bug c/15082] New: Minor compilation problem on Solaris-2.8 duz at sol-3 dot de
                   ` (10 preceding siblings ...)
  2004-08-29 18:59 ` mmitchel at gcc dot gnu dot org
@ 2004-11-01  0:47 ` mmitchel at gcc dot gnu dot org
  2004-12-20  1:16 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-11-01  0:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2004-11-01 00:46 -------
Postponed until GCC 3.4.4.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4.3                       |3.4.4


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


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

* [Bug other/15082] [3.4/4.0 regression] Minor compilation problem for cross to Solaris 8
  2004-04-22 23:22 [Bug c/15082] New: Minor compilation problem on Solaris-2.8 duz at sol-3 dot de
                   ` (11 preceding siblings ...)
  2004-11-01  0:47 ` [Bug other/15082] [3.4/4.0 " mmitchel at gcc dot gnu dot org
@ 2004-12-20  1:16 ` pinskia at gcc dot gnu dot org
  2005-05-19 17:49 ` [Bug other/15082] [3.4/4.0/4.1 " mmitchel at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-20  1:16 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build
   Last reconfirmed|2004-04-28 20:26:18         |2004-12-20 01:16:52
               date|                            |


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


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

* [Bug other/15082] [3.4/4.0/4.1 regression] Minor compilation problem for cross to Solaris 8
  2004-04-22 23:22 [Bug c/15082] New: Minor compilation problem on Solaris-2.8 duz at sol-3 dot de
                   ` (12 preceding siblings ...)
  2004-12-20  1:16 ` pinskia at gcc dot gnu dot org
@ 2005-05-19 17:49 ` mmitchel at gcc dot gnu dot org
  2005-07-22 21:36 ` pinskia at gcc dot gnu dot org
  2005-09-27 16:24 ` mmitchel at gcc dot gnu dot org
  15 siblings, 0 replies; 17+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-05-19 17:49 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4.4                       |3.4.5


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


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

* [Bug other/15082] [3.4/4.0/4.1 regression] Minor compilation problem for cross to Solaris 8
  2004-04-22 23:22 [Bug c/15082] New: Minor compilation problem on Solaris-2.8 duz at sol-3 dot de
                   ` (13 preceding siblings ...)
  2005-05-19 17:49 ` [Bug other/15082] [3.4/4.0/4.1 " mmitchel at gcc dot gnu dot org
@ 2005-07-22 21:36 ` pinskia at gcc dot gnu dot org
  2005-09-27 16:24 ` mmitchel at gcc dot gnu dot org
  15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-22 21:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-22 21:13 -------
Moving to 4.0.2 pre Mark.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4.5                       |4.0.2


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


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

* [Bug other/15082] [3.4/4.0/4.1 regression] Minor compilation problem for cross to Solaris 8
  2004-04-22 23:22 [Bug c/15082] New: Minor compilation problem on Solaris-2.8 duz at sol-3 dot de
                   ` (14 preceding siblings ...)
  2005-07-22 21:36 ` pinskia at gcc dot gnu dot org
@ 2005-09-27 16:24 ` mmitchel at gcc dot gnu dot org
  15 siblings, 0 replies; 17+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-09-27 16:24 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.2                       |4.0.3


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


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

end of thread, other threads:[~2005-09-27 16:24 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-22 23:22 [Bug c/15082] New: Minor compilation problem on Solaris-2.8 duz at sol-3 dot de
2004-04-23  6:28 ` [Bug target/15082] Minor compilation problem for cross to Solaris 8 ebotcazou at gcc dot gnu dot org
2004-04-28 22:31 ` ebotcazou at gcc dot gnu dot org
2004-05-04 15:38 ` pinskia at gcc dot gnu dot org
2004-06-03  8:01 ` [Bug target/15082] [3.4/3.5 regression] " ebotcazou at gcc dot gnu dot org
2004-06-14 17:20 ` mmitchel at gcc dot gnu dot org
2004-06-14 18:41 ` ebotcazou at gcc dot gnu dot org
2004-06-14 18:44 ` ebotcazou at gcc dot gnu dot org
2004-06-21 14:15 ` ebotcazou at gcc dot gnu dot org
2004-06-21 14:26 ` mmitchel at gcc dot gnu dot org
2004-07-10 20:11 ` [Bug other/15082] " ebotcazou at gcc dot gnu dot org
2004-08-29 18:59 ` mmitchel at gcc dot gnu dot org
2004-11-01  0:47 ` [Bug other/15082] [3.4/4.0 " mmitchel at gcc dot gnu dot org
2004-12-20  1:16 ` pinskia at gcc dot gnu dot org
2005-05-19 17:49 ` [Bug other/15082] [3.4/4.0/4.1 " mmitchel at gcc dot gnu dot org
2005-07-22 21:36 ` pinskia at gcc dot gnu dot org
2005-09-27 16:24 ` mmitchel 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).