public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/26189]  New: Bug in vendor /usr/include/net/if.h needs fixincluding
@ 2006-02-09  8:34 cadetg at googlemail dot com
  2006-02-09  9:59 ` [Bug c/26189] Bug in vendor /usr/include/net/if.h needs fixincluding on HPUX cadetg at googlemail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: cadetg at googlemail dot com @ 2006-02-09  8:34 UTC (permalink / raw)
  To: gcc-bugs

include usr/include/net/if.h

oracle@rx2620:~/Files/Test$ gcc -v test.c -o test
/usr/local/bin/gcc -v test.c -o test
Using built-in specs.
Target: ia64-hp-hpux11.23
Configured with: /tmp/gcc-4.0.2.tar.gz/gcc-4.0.2/configure
--host=ia64-hp-hpux11.23 --target=ia64-hp-hpux11.23 --build=ia64-hp-hpux11.23
--prefix=/opt/hp-gcc-4.0.2 --enable-languages=c,c++ --with-gnu-as
--without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-threads=posix
Thread model: posix
gcc version 4.0.2
 /opt/hp-gcc-4.0.2/libexec/gcc/ia64-hp-hpux11.23/4.0.2/cc1 -quiet -v test.c
-quiet -dumpbase test.c -auxbase test -version -o /var/tmp//cc6mhLQ3.s
ignoring nonexistent directory
"/opt/hp-gcc-4.0.2/lib/gcc/ia64-hp-hpux11.23/4.0.2/../../../../ia64-hp-hpux11.23/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /opt/hp-gcc-4.0.2/include
 /opt/hp-gcc-4.0.2/lib/gcc/ia64-hp-hpux11.23/4.0.2/include
 /usr/include
End of search list.
GNU C version 4.0.2 (ia64-hp-hpux11.23)
        compiled by GNU C version 4.0.2.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
In file included from /usr/include/sys/mp.h:52,
                 from /usr/include/sys/malloc.h:59,
                 from /usr/include/net/netmp.h:51,
                 from /usr/include/net/if.h:59,
                 from test.c:3:
/usr/include/machine/sys/getppdp.h:65: error: array type has incomplete element
type

getppdp.h:65: --> extern union mpinfou spu_info[];
As far as I know, this is not allowed anymore in gcc4...


-- 
           Summary: Bug in vendor /usr/include/net/if.h needs fixincluding
           Product: gcc
           Version: 4.0.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: cadetg at googlemail dot com
 GCC build triplet: ia64-hp-hpux11.23
  GCC host triplet: ia64-hp-hpux11.23
GCC target triplet: ia64-hp-hpux11.23


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


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

* [Bug c/26189] Bug in vendor /usr/include/net/if.h needs fixincluding on HPUX
  2006-02-09  8:34 [Bug c/26189] New: Bug in vendor /usr/include/net/if.h needs fixincluding cadetg at googlemail dot com
@ 2006-02-09  9:59 ` cadetg at googlemail dot com
  2006-02-16 20:40 ` [Bug target/26189] " sje at cup dot hp dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: cadetg at googlemail dot com @ 2006-02-09  9:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from cadetg at googlemail dot com  2006-02-09 09:59 -------
if I change the system lib getppdp.h from extern union mpinfou spu_info[]; to
extern union mpinfou spu_info; it works. But I don't know if it is really a
good idea to change the system lib...


-- 

cadetg at googlemail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Bug in vendor               |Bug in vendor
                   |/usr/include/net/if.h needs |/usr/include/net/if.h needs
                   |fixincluding                |fixincluding on HPUX


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


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

* [Bug target/26189] Bug in vendor /usr/include/net/if.h needs fixincluding on HPUX
  2006-02-09  8:34 [Bug c/26189] New: Bug in vendor /usr/include/net/if.h needs fixincluding cadetg at googlemail dot com
  2006-02-09  9:59 ` [Bug c/26189] Bug in vendor /usr/include/net/if.h needs fixincluding on HPUX cadetg at googlemail dot com
@ 2006-02-16 20:40 ` sje at cup dot hp dot com
  2006-02-18 15:58 ` sje at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: sje at cup dot hp dot com @ 2006-02-16 20:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from sje at cup dot hp dot com  2006-02-16 20:40 -------
This header worked with GCC 3.* but 4.0 is pickier about having an array of an
unknown type.  I will submit a fixincludes patch to fix the header.


-- 

sje at cup dot hp dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sje at cup dot hp dot com
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-02-16 20:40:28
               date|                            |


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


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

* [Bug target/26189] Bug in vendor /usr/include/net/if.h needs fixincluding on HPUX
  2006-02-09  8:34 [Bug c/26189] New: Bug in vendor /usr/include/net/if.h needs fixincluding cadetg at googlemail dot com
  2006-02-09  9:59 ` [Bug c/26189] Bug in vendor /usr/include/net/if.h needs fixincluding on HPUX cadetg at googlemail dot com
  2006-02-16 20:40 ` [Bug target/26189] " sje at cup dot hp dot com
@ 2006-02-18 15:58 ` sje at gcc dot gnu dot org
  2006-02-18 16:00 ` sje at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: sje at gcc dot gnu dot org @ 2006-02-18 15:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from sje at gcc dot gnu dot org  2006-02-18 15:58 -------
Subject: Bug 26189

Author: sje
Date: Sat Feb 18 15:58:06 2006
New Revision: 111237

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111237
Log:
        PR target/26189
        * inclhack.def (hpux_spu_info): New.
        * fixincl.x: Regenerate

Modified:
    trunk/fixincludes/ChangeLog
    trunk/fixincludes/fixincl.x
    trunk/fixincludes/inclhack.def


-- 


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


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

* [Bug target/26189] Bug in vendor /usr/include/net/if.h needs fixincluding on HPUX
  2006-02-09  8:34 [Bug c/26189] New: Bug in vendor /usr/include/net/if.h needs fixincluding cadetg at googlemail dot com
                   ` (2 preceding siblings ...)
  2006-02-18 15:58 ` sje at gcc dot gnu dot org
@ 2006-02-18 16:00 ` sje at gcc dot gnu dot org
  2006-03-16 22:02 ` sje at gcc dot gnu dot org
  2006-03-16 22:03 ` sje at cup dot hp dot com
  5 siblings, 0 replies; 7+ messages in thread
From: sje at gcc dot gnu dot org @ 2006-02-18 16:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from sje at gcc dot gnu dot org  2006-02-18 16:00 -------
Subject: Bug 26189

Author: sje
Date: Sat Feb 18 15:59:57 2006
New Revision: 111238

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111238
Log:
        PR target/26189
        * inclhack.def (hpux_spu_info): New.
        * fixincl.x: Regenerate

Modified:
    branches/gcc-4_1-branch/fixincludes/ChangeLog
    branches/gcc-4_1-branch/fixincludes/fixincl.x
    branches/gcc-4_1-branch/fixincludes/inclhack.def


-- 


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


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

* [Bug target/26189] Bug in vendor /usr/include/net/if.h needs fixincluding on HPUX
  2006-02-09  8:34 [Bug c/26189] New: Bug in vendor /usr/include/net/if.h needs fixincluding cadetg at googlemail dot com
                   ` (3 preceding siblings ...)
  2006-02-18 16:00 ` sje at gcc dot gnu dot org
@ 2006-03-16 22:02 ` sje at gcc dot gnu dot org
  2006-03-16 22:03 ` sje at cup dot hp dot com
  5 siblings, 0 replies; 7+ messages in thread
From: sje at gcc dot gnu dot org @ 2006-03-16 22:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from sje at gcc dot gnu dot org  2006-03-16 22:02 -------
Subject: Bug 26189

Author: sje
Date: Thu Mar 16 22:02:43 2006
New Revision: 112154

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112154
Log:
        PR target/26189
        Backport from mainline.
        * inclhack.def (hpux_spu_info): New.
        * fixincl.x: Regenerate

Modified:
    branches/gcc-4_0-branch/fixincludes/ChangeLog
    branches/gcc-4_0-branch/fixincludes/fixincl.x
    branches/gcc-4_0-branch/fixincludes/inclhack.def


-- 


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


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

* [Bug target/26189] Bug in vendor /usr/include/net/if.h needs fixincluding on HPUX
  2006-02-09  8:34 [Bug c/26189] New: Bug in vendor /usr/include/net/if.h needs fixincluding cadetg at googlemail dot com
                   ` (4 preceding siblings ...)
  2006-03-16 22:02 ` sje at gcc dot gnu dot org
@ 2006-03-16 22:03 ` sje at cup dot hp dot com
  5 siblings, 0 replies; 7+ messages in thread
From: sje at cup dot hp dot com @ 2006-03-16 22:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from sje at cup dot hp dot com  2006-03-16 22:03 -------
Fixed on 4.0 line for 4.0.4, 4.1 line for 4.1.1 and on ToT for 4.2.


-- 

sje at cup dot hp dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.4


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


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

end of thread, other threads:[~2006-03-16 22:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-09  8:34 [Bug c/26189] New: Bug in vendor /usr/include/net/if.h needs fixincluding cadetg at googlemail dot com
2006-02-09  9:59 ` [Bug c/26189] Bug in vendor /usr/include/net/if.h needs fixincluding on HPUX cadetg at googlemail dot com
2006-02-16 20:40 ` [Bug target/26189] " sje at cup dot hp dot com
2006-02-18 15:58 ` sje at gcc dot gnu dot org
2006-02-18 16:00 ` sje at gcc dot gnu dot org
2006-03-16 22:02 ` sje at gcc dot gnu dot org
2006-03-16 22:03 ` sje at cup dot hp dot com

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