Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jun 1999 16:53:24 +0900
From:      Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
To:        sprice@hiwaay.net
Cc:        freebsd-alpha@FreeBSD.ORG, obrien@FreeBSD.ORG
Subject:   Re: latest egcs-devel port compile for anyone?
Message-ID:  <14199.10740.176020.31261G@ett.sat.t.u-tokyo.ac.jp>
In-Reply-To: In your message of "Sun, 27 Jun 1999 13:51:34 -0500 (CDT)" <Pine.OSF.4.10.9906271348210.22752-100000@fly.HiWAAY.net>
References:  <14198.27351.32304.92066L@ett.sat.t.u-tokyo.ac.jp> <Pine.OSF.4.10.9906271348210.22752-100000@fly.HiWAAY.net>

next in thread | previous in thread | raw e-mail | index | archive | help
At Sun, 27 Jun 1999 13:51:34 -0500 (CDT),
Steve Price <sprice@hiwaay.net> wrote:
> 
> On Mon, 28 Jun 1999, Hidetoshi Shimokawa wrote:
> 
> # I think removing patch-am(a patch against t-freebsd) will build it.
> # (I have not checked yet.)
> 
> It appears to have helped.  It is not done building yet, but
> it has gone much further that it has before. :)
> 
> # __gnuc_va_list and _BSD_VA_LIST is a little different on alpha.
> 
> Yep.  I thought the following patch would have helped but it
> didn't.
> 
> --- gcc/ginclude/va-alpha.h.orig	Sun Jun 27 13:06:18 1999
> +++ gcc/ginclude/va-alpha.h	Sun Jun 27 13:06:50 1999
> @@ -19,6 +19,7 @@
>  typedef struct {
>    char *__base;			/* Pointer to first integer register. */
>    int __offset;			/* Byte offset of args so far. */
> +  int __pad;
>  } __gnuc_va_list;
>  #endif

Another workaround is removing patch-an and put the following patch,
then fixincl will replace _BSD_VA_LIST_ with __gnuc_va_list.

--- gcc/fixinc/inclhack.def.orig	Fri Jun 18 16:00:06 1999
+++ gcc/fixinc/inclhack.def	Mon Jun 28 15:31:45 1999
@@ -1367,7 +1367,7 @@
 
   sed -e 's@ va_list @ __gnuc_va_list @' \\
       -e 's@ va_list)@ __gnuc_va_list)@' \\
-      -e 's@ _BSD_VA_LIST_));@ __gnuc_va_list));@' \\
+      -e 's@ _BSD_VA_LIST_))@ __gnuc_va_list))@' \\
       -e 's@ _VA_LIST_));@ __gnuc_va_list));@' \\
       -e 's@ va_list@ __va_list__@' \\
       -e 's@\\*va_list@*__va_list__@' \\
--- gcc/fixinc/inclhack.sh.orig	Mon Jun 28 15:40:11 1999
+++ gcc/fixinc/inclhack.sh	Mon Jun 28 15:47:24 1999
@@ -1955,7 +1955,7 @@
 
   sed -e 's@ va_list @ __gnuc_va_list @' \
       -e 's@ va_list)@ __gnuc_va_list)@' \
-      -e 's@ _BSD_VA_LIST_));@ __gnuc_va_list));@' \
+      -e 's@ _BSD_VA_LIST_))@ __gnuc_va_list))@' \
       -e 's@ _VA_LIST_));@ __gnuc_va_list));@' \
       -e 's@ va_list@ __va_list__@' \
       -e 's@\*va_list@*__va_list__@' \
--- gcc/fixinc/fixincl.x.orig	Mon Jun 28 15:53:20 1999
+++ gcc/fixinc/fixincl.x	Mon Jun 28 15:59:00 1999
@@ -2324,7 +2324,7 @@
 \n\
   sed -e 's@ va_list @ __gnuc_va_list @' \\\n\
       -e 's@ va_list)@ __gnuc_va_list)@' \\\n\
-      -e 's@ _BSD_VA_LIST_));@ __gnuc_va_list));@' \\\n\
+      -e 's@ _BSD_VA_LIST_))@ __gnuc_va_list))@' \\\n\
       -e 's@ _VA_LIST_));@ __gnuc_va_list));@' \\\n\
       -e 's@ va_list@ __va_list__@' \\\n\
       -e 's@\\*va_list@*__va_list__@' \\\n\

-- 
/\ Hidetoshi Shimokawa
\/  simokawa@sat.t.u-tokyo.ac.jp
PGP public key: finger -l simokawa@sat.t.u-tokyo.ac.jp


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14199.10740.176020.31261G>