pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: NetBSD/amd64 and cvsup? Impossible?
On Fri, Feb 02, 2007 at 12:33:19AM +0100, Havard Eidnes wrote:
[..]
> Oh, it builds there? I guess it's time to investigate what they
> did to make it go. I remember trying earlier, but never got it
> past this point:
>
> NetBSDamd64 m3cgc1 gets an internal error while compiling
> TickPortable.m3, pointing to line 38, which involves
> conversion either to or from floating point.
>
> As part of my earlier attempts, I upgraded the gcc internal to
> ezm3 to 3.3.3, but that didn't fix it.
You are using gcc4?
If so try the attached patch and the new patch file (patch-ac).
Hmm, maybe I should reset the maintainer and just commit the update.
I didn't get an answer from motoyuki%bsdclub.org@localhost when I pinged him
about my 1.2 update in 2005.
Bernd
Index: Makefile
===================================================================
RCS file: /home/source/NetBSD-cvs/main/pkgsrc/lang/ezm3/Makefile,v
retrieving revision 1.15
diff -b -u -r1.15 Makefile
--- Makefile 20 Apr 2006 16:21:01 -0000 1.15
+++ Makefile 6 Jan 2007 18:23:30 -0000
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.15 2006/04/20 16:21:01 joerg Exp $
DISTNAME= ezm3-1.2
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= lang
MASTER_SITES= ftp://ftp.FreeBSD.org/pub/FreeBSD/development/CVSup/ezm3/
DISTFILES= ${DISTNAME}-src.tar.bz2 ${BOOTSTRAP}
Index: distinfo
===================================================================
RCS file: /home/source/NetBSD-cvs/main/pkgsrc/lang/ezm3/distinfo,v
retrieving revision 1.6
diff -b -u -r1.6 distinfo
--- distinfo 2 Jan 2006 23:19:41 -0000 1.6
+++ distinfo 6 Jan 2007 16:28:13 -0000
@@ -16,3 +16,4 @@
RMD160 (ezm3/ezm3-1.2-LINUXLIBC6-boot.tar.bz2) =
bc3f240dce4c49df40d351d52f4edaf6be858a9b
Size (ezm3/ezm3-1.2-LINUXLIBC6-boot.tar.bz2) = 1445569 bytes
SHA1 (patch-ab) = d7ca4b997caacdd9a6eb16d13530dc1e9343ea1a
+SHA1 (patch-ac) = 297efa1a8c8fdc33060734565ad19113903acd5d
$NetBSD$
Patch from http://mail-index.netbsd.org/tech-toolchain/2005/09/22/0004.html
--- language/modula3/m3compiler/m3cc/gcc/gcc/read-rtl.c.orig 2003-01-11
21:58:40.000000000 +0100
+++ language/modula3/m3compiler/m3cc/gcc/gcc/read-rtl.c 2007-01-06
17:08:03.000000000 +0100
@@ -657,9 +657,13 @@
obstack_init (&vector_stack);
while ((c = read_skip_spaces (infile)) && c != ']')
{
+ rtx tmp;
ungetc (c, infile);
list_counter++;
- obstack_ptr_grow (&vector_stack, (PTR) read_rtx (infile));
+
+ tmp = read_rtx (infile);
+ obstack_grow (&vector_stack, &tmp, sizeof(rtx));
+ /* obstack_ptr_grow (&vector_stack, (PTR) read_rtx (infile)); */
}
if (list_counter > 0)
{
Home |
Main Index |
Thread Index |
Old Index