Your message dated Sun, 27 Mar 2005 19:02:28 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#300515: fixed in zinc-compiler 1.0.2-2
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 20 Mar 2005 09:36:54 +0000
>From [EMAIL PROTECTED] Sun Mar 20 01:36:54 2005
Return-path: <[EMAIL PROTECTED]>
Received: from c223012.adsl.hansenet.de (localhost.localdomain) [213.39.223.12]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DCwrd-0008L0-00; Sun, 20 Mar 2005 01:36:53 -0800
Received: from aj by localhost.localdomain with local (Exim 4.44)
id 1DCwrb-0003EZ-OA; Sun, 20 Mar 2005 10:36:51 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: zinc-compiler: FTBFS (amd64/gcc-4.0): invalid lvalue in assignment
Message-Id: <[EMAIL PROTECTED]>
Date: Sun, 20 Mar 2005 10:36:51 +0100
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Package: zinc-compiler
Severity: normal
Tags: patch
When building 'zinc-compiler' on amd64 with gcc-4.0,
I get the following error:
gc_2space.nw:280: warning: cast to pointer from integer of different size
gc_2space.nw:280: error: invalid lvalue in assignment
gc_2space.nw:280: warning: cast from pointer to integer of different size
gc_2space.nw:280: error: invalid lvalue in assignment
gc_2space.nw:301: warning: cast from pointer to integer of different size
gc_2space.nw:306: warning: cast to pointer from integer of different size
gc_2space.nw:306: warning: cast from pointer to integer of different size
gc_2space.nw:316: warning: cast to pointer from integer of different size
gc_2space.nw:316: warning: cast from pointer to integer of different size
gc_2space.nw:330: warning: cast to pointer from integer of different size
gc_2space.nw:330: warning: cast from pointer to integer of different size
gc_2space.nw:363: warning: cast to pointer from integer of different size
gc_2space.nw:349: warning: cast to pointer from integer of different size
make[3]: *** [libcurry_rts_a-gc_2space.o] Error 1
make[3]: Leaving directory `/zinc-compiler-1.0.2/runtime'
With the attached patch 'zinc-compiler' can be compiled
on amd64 using gcc-4.0.
Regards
Andreas Jochens
diff -urN ../tmp-orig/zinc-compiler-1.0.2/runtime/gc_2space.c
./runtime/gc_2space.c
--- ../tmp-orig/zinc-compiler-1.0.2/runtime/gc_2space.c 2004-12-06
19:28:57.000000000 +0100
+++ ./runtime/gc_2space.c 2005-03-20 08:47:40.000000000 +0100
@@ -133,7 +133,7 @@
while ( --scan >= (Node **)(cp + 1) )
GC_copy(*scan);
- GC_copy((Node *)cp->btRq);
+ Node *n = (Node *)cp->btRq; GC_copy(n); cp->btRq = n;
next_cp = cp->btBp;
cp->btBp = prev_cp;
@@ -149,18 +149,20 @@
for ( scan_trail = trail_base; scan_trail != tp; scan_trail++ )
{
- GC_copy((Node *)scan_trail->addr);
- GC_copy((Node *)scan_trail->val);
+ Node *n;
+ n = (Node *)scan_trail->addr; GC_copy(n); scan_trail->addr =n;
+ n = (Node *)scan_trail->val; GC_copy(n); scan_trail->val =n;
}
}
-#line 279 "gc_2space.nw"
-GC_copy((Node *)rq);
-GC_copy((Node *)ss);
+#line 280 "gc_2space.nw"
+Node *n;
+n = (Node *)rq; GC_copy(n); rq = n;
+n = (Node *)ss; GC_copy(n); ss = n;
#line 145 "gc_2space.nw"
-#line 288 "gc_2space.nw"
+#line 290 "gc_2space.nw"
for ( scan = (Node **)to_space; scan != copy; scan += len )
{
boolean is_vect;
@@ -213,7 +215,7 @@
#line 146 "gc_2space.nw"
-#line 361 "gc_2space.nw"
+#line 363 "gc_2space.nw"
for ( dict = names_dict; dict != (struct dict_node *)0; dict = dict->next )
if ( is_forwarded(dict->node) )
dict->node = get_forward(dict->node);
@@ -222,7 +224,7 @@
#line 147 "gc_2space.nw"
-#line 347 "gc_2space.nw"
+#line 349 "gc_2space.nw"
for ( i = j = 0; i < n_finals; i++ )
if ( is_forwarded(finals[i]) )
finals[j++] = get_forward(finals[i]);
@@ -256,7 +258,7 @@
stats_end_gc(hp - heap_base);
}
-#line 382 "gc_2space.nw"
+#line 384 "gc_2space.nw"
void
release_mem()
{
diff -urN ../tmp-orig/zinc-compiler-1.0.2/runtime/gc_2space.nw
./runtime/gc_2space.nw
--- ../tmp-orig/zinc-compiler-1.0.2/runtime/gc_2space.nw 2003-12-01
20:55:10.000000000 +0100
+++ ./runtime/gc_2space.nw 2005-03-20 08:47:39.000000000 +0100
@@ -247,7 +247,7 @@
while ( --scan >= (Node **)(cp + 1) )
GC_copy(*scan);
- GC_copy((Node *)cp->btRq);
+ Node *n = (Node *)cp->btRq; GC_copy(n); cp->btRq = n;
next_cp = cp->btBp;
cp->btBp = prev_cp;
@@ -267,8 +267,9 @@
for ( scan_trail = trail_base; scan_trail != tp; scan_trail++ )
{
- GC_copy((Node *)scan_trail->addr);
- GC_copy((Node *)scan_trail->val);
+ Node *n;
+ n = (Node *)scan_trail->addr; GC_copy(n); scan_trail->addr =n;
+ n = (Node *)scan_trail->val; GC_copy(n); scan_trail->val =n;
}
}
@@ -276,8 +277,9 @@
Finally, the current search space and ready queue are also roots.
<<Copy all roots into to-space>>=
-GC_copy((Node *)rq);
-GC_copy((Node *)ss);
+Node *n;
+n = (Node *)rq; GC_copy(n); rq = n;
+n = (Node *)ss; GC_copy(n); ss = n;
@
After all roots have been processed, the nodes in to-space now form a
diff -urN ../tmp-orig/zinc-compiler-1.0.2/runtime/spaces.c ./runtime/spaces.c
--- ../tmp-orig/zinc-compiler-1.0.2/runtime/spaces.c 2004-12-06
19:28:57.000000000 +0100
+++ ./runtime/spaces.c 2005-03-20 10:22:33.717167502 +0100
@@ -396,7 +396,7 @@
copy = copy_node(graph, space);
/* copy all children */
- for ( scan = (Node *)hp; scan < (Node *)alloc; (Node **)scan += sz )
+ for ( scan = (Node *)hp; scan < (Node *)alloc; scan = (Node **)scan + sz )
{
unsigned int i, n;
ThreadQueue tq;
diff -urN ../tmp-orig/zinc-compiler-1.0.2/runtime/spaces.nw ./runtime/spaces.nw
--- ../tmp-orig/zinc-compiler-1.0.2/runtime/spaces.nw 2003-12-01
20:55:26.000000000 +0100
+++ ./runtime/spaces.nw 2005-03-20 10:22:32.657374296 +0100
@@ -603,7 +603,7 @@
copy = copy_node(graph, space);
/* copy all children */
- for ( scan = (Node *)hp; scan < (Node *)alloc; (Node **)scan += sz )
+ for ( scan = (Node *)hp; scan < (Node *)alloc; scan = (Node **)scan + sz )
{
unsigned int i, n;
ThreadQueue tq;
diff -urN ../tmp-orig/zinc-compiler-1.0.2/runtime/threads.c ./runtime/threads.c
--- ../tmp-orig/zinc-compiler-1.0.2/runtime/threads.c 2004-12-06
19:28:57.000000000 +0100
+++ ./runtime/threads.c 2005-03-20 10:22:07.060369125 +0100
@@ -176,7 +176,7 @@
#define thd1 (ThreadQueue)LOCAL_ROOT[1]
ASSERT(is_boxed(var) && is_variable_node(var));
- thd1 = interrupt_thread(l, Yield);
+ LOCAL_ROOT[1] = interrupt_thread(l, Yield);
CHECK_HEAP(2*thread_surrogate_size);
SAVE(var, v.wq);
diff -urN ../tmp-orig/zinc-compiler-1.0.2/runtime/threads.nw
./runtime/threads.nw
--- ../tmp-orig/zinc-compiler-1.0.2/runtime/threads.nw 2003-12-01
20:55:31.000000000 +0100
+++ ./runtime/threads.nw 2005-03-20 10:22:06.008574372 +0100
@@ -366,7 +366,7 @@
#define thd1 (ThreadQueue)LOCAL_ROOT[1]
ASSERT(is_boxed(var) && is_variable_node(var));
- thd1 = interrupt_thread(l, Yield);
+ LOCAL_ROOT[1] = interrupt_thread(l, Yield);
CHECK_HEAP(2*thread_surrogate_size);
SAVE(var, v.wq);
---------------------------------------
Received: (at 300515-close) by bugs.debian.org; 28 Mar 2005 00:11:28 +0000
>From [EMAIL PROTECTED] Sun Mar 27 16:11:28 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DFhqq-0003jE-00; Sun, 27 Mar 2005 16:11:28 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1DFhi8-0007Vc-00; Sun, 27 Mar 2005 19:02:28 -0500
From: Nacho Barrientos Arias <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#300515: fixed in zinc-compiler 1.0.2-2
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sun, 27 Mar 2005 19:02:28 -0500
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Source: zinc-compiler
Source-Version: 1.0.2-2
We believe that the bug you reported is fixed in the latest version of
zinc-compiler, which is due to be installed in the Debian FTP archive:
zinc-compiler_1.0.2-2.diff.gz
to pool/main/z/zinc-compiler/zinc-compiler_1.0.2-2.diff.gz
zinc-compiler_1.0.2-2.dsc
to pool/main/z/zinc-compiler/zinc-compiler_1.0.2-2.dsc
zinc-compiler_1.0.2-2_i386.deb
to pool/main/z/zinc-compiler/zinc-compiler_1.0.2-2_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Nacho Barrientos Arias <[EMAIL PROTECTED]> (supplier of updated zinc-compiler
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sat, 26 Mar 2005 16:21:30 +0100
Source: zinc-compiler
Binary: zinc-compiler
Architecture: source i386
Version: 1.0.2-2
Distribution: unstable
Urgency: low
Maintainer: Nacho Barrientos Arias <[EMAIL PROTECTED]>
Changed-By: Nacho Barrientos Arias <[EMAIL PROTECTED]>
Description:
zinc-compiler - Compiler of Zinc, a functional logic programming language
Closes: 300515
Changes:
zinc-compiler (1.0.2-2) unstable; urgency=low
.
* Fixed gcc-4.0 and amd64 compilation problem (closes: Bug#300515).
Files:
9a3377f709bf5d42c58d9201558c8538 660 devel optional zinc-compiler_1.0.2-2.dsc
ad5eec306bb5b68bf0b2964b9b99072e 10755 devel optional
zinc-compiler_1.0.2-2.diff.gz
4738651a3930bf929d2383e61d885b3d 1645798 devel optional
zinc-compiler_1.0.2-2_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFCR0ZxHkQIZYcutOURAgq+AJ9tOJrpVGQmQ6hxvXK97cLhKhJq2wCgjqt6
4iCFX4xZMvx0qGphn2I8zzs=
=8rHb
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]