public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: bootstrap/7184: GCC 3.0.x and 3.1 failed to compile on HP-UX 11.11
@ 2002-07-09 17:46 Josh Martin
0 siblings, 0 replies; 3+ messages in thread
From: Josh Martin @ 2002-07-09 17:46 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR bootstrap/7184; it has been noted by GNATS.
From: Josh Martin <Josh.Martin@abq.sc.philips.com>
To: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, tim@kaspersky.com,
gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org
Cc:
Subject: Re: bootstrap/7184: GCC 3.0.x and 3.1 failed to compile on HP-UX 11.11
Date: Tue, 09 Jul 2002 18:42:34 -0600
Please verify that during the Fix Includes phase of bootstrapping that
the "hpux11_size_t" patch is being applied, as this patch should fix
this problem on all HPUX 11.x machines.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7184
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: bootstrap/7184: GCC 3.0.x and 3.1 failed to compile on HP-UX 11.11
@ 2002-08-13 4:08 neil
0 siblings, 0 replies; 3+ messages in thread
From: neil @ 2002-08-13 4:08 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, tim
Synopsis: GCC 3.0.x and 3.1 failed to compile on HP-UX 11.11
State-Changed-From-To: open->closed
State-Changed-By: neil
State-Changed-When: Tue Aug 13 04:08:24 2002
State-Changed-Why:
On request.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7184
^ permalink raw reply [flat|nested] 3+ messages in thread
* bootstrap/7184: GCC 3.0.x and 3.1 failed to compile on HP-UX 11.11
@ 2002-07-02 5:56 tim
0 siblings, 0 replies; 3+ messages in thread
From: tim @ 2002-07-02 5:56 UTC (permalink / raw)
To: gcc-gnats
>Number: 7184
>Category: bootstrap
>Synopsis: GCC 3.0.x and 3.1 failed to compile on HP-UX 11.11
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 02 05:56:03 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Tim Yunaev
>Release: GCC 3.0.x GCC 3.1
>Organization:
>Environment:
bash-2.05# uname -a
HP-UX hpuxdev B.11.11 U 9000/785 2005081778 unlimited-user license
>Description:
If you download a precompiled GCC 3.1 and try to recompile any of GCC 3.x compilers, it will fail with an error complaining about an unknown type "size_t" in file libiberty/floatformat.c
This error is caused by a system header stddef.h, which doesn't contain typedef related to size_t.
>How-To-Repeat:
Download the precompiled GCC 3.1 package for HPUX from HP or from http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-3.1/
unpack it, type "configure" and "gmake"
>Fix:
I replaced two lines with size_t:
extern void *memcpy (void *s1, const void *s2, size_t n);
extern void *memset (void *s, int c, size_t n);
to
extern void *memcpy (void *s1, const void *s2, unsigned int n);
extern void *memcpy (void *s1, const void *s2, unsigned int n);
(you must not just define the size_t type, because during the next pass it will use its own stddef.h, which contains a size_t declaration, and you'll get a type redifinition.
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-08-13 11:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-09 17:46 bootstrap/7184: GCC 3.0.x and 3.1 failed to compile on HP-UX 11.11 Josh Martin
-- strict thread matches above, loose matches on Subject: below --
2002-08-13 4:08 neil
2002-07-02 5:56 tim
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).