* guile 1.8.3 fails to build on sparc
@ 2007-11-27 16:35 Kamaraju S Kusumanchi
2007-12-01 17:20 ` Kamaraju S Kusumanchi
2008-01-29 22:48 ` Neil Jerram
0 siblings, 2 replies; 11+ messages in thread
From: Kamaraju S Kusumanchi @ 2007-11-27 16:35 UTC (permalink / raw)
To: guile-devel
I don't have access to sparc machine to probe into this problem. Can someone
look at
http://buildd.debian.org/fetch.cgi?pkg=guile-1.8;ver=1.8.3%2B1-1;arch=sparc;stamp=1195798674
and see why guile-1.8-libs fails to build on a sparc machine?
thanks
raju
--
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: guile 1.8.3 fails to build on sparc
2007-11-27 16:35 guile 1.8.3 fails to build on sparc Kamaraju S Kusumanchi
@ 2007-12-01 17:20 ` Kamaraju S Kusumanchi
2008-01-29 22:52 ` Neil Jerram
2008-01-29 22:48 ` Neil Jerram
1 sibling, 1 reply; 11+ messages in thread
From: Kamaraju S Kusumanchi @ 2007-12-01 17:20 UTC (permalink / raw)
To: guile-devel
Kamaraju S Kusumanchi wrote:
> I don't have access to sparc machine to probe into this problem. Can
> someone look at
>
http://buildd.debian.org/fetch.cgi?pkg=guile-1.8;ver=1.8.3%2B1-1;arch=sparc;stamp=1195798674
> and see why guile-1.8-libs fails to build on a sparc machine?
>
> thanks
> raju
Another build failure of guile-1.8.3 on alpha
http://buildd.debian.org/fetch.cgi?pkg=guile-1.8;ver=1.8.3%2B1-1;arch=alpha;stamp=1196201747
thanks
raju
--
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: guile 1.8.3 fails to build on sparc
2007-11-27 16:35 guile 1.8.3 fails to build on sparc Kamaraju S Kusumanchi
2007-12-01 17:20 ` Kamaraju S Kusumanchi
@ 2008-01-29 22:48 ` Neil Jerram
2008-01-31 21:17 ` Greg Troxel
` (2 more replies)
1 sibling, 3 replies; 11+ messages in thread
From: Neil Jerram @ 2008-01-29 22:48 UTC (permalink / raw)
To: Kamaraju S Kusumanchi; +Cc: guile-devel
Kamaraju S Kusumanchi <kamaraju@bluebottle.com> writes:
> I don't have access to sparc machine to probe into this problem. Can someone
> look at
> http://buildd.debian.org/fetch.cgi?pkg=guile-1.8;ver=1.8.3%2B1-1;arch=sparc;stamp=1195798674
> and see why guile-1.8-libs fails to build on a sparc machine?
Sorry this response is so delayed. Seems to be a GC issue:
FAIL: gc.test: gc: Unused modules are removed
I'll take a look.
Neil
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: guile 1.8.3 fails to build on sparc
2008-01-29 22:48 ` Neil Jerram
@ 2008-01-31 21:17 ` Greg Troxel
2008-02-01 9:42 ` Ludovic Courtès
2008-02-07 21:53 ` Ludovic Courtès
2 siblings, 0 replies; 11+ messages in thread
From: Greg Troxel @ 2008-01-31 21:17 UTC (permalink / raw)
To: Neil Jerram; +Cc: Kamaraju S Kusumanchi, guile-devel
In case this helps:
I did a build of guile 1.8.3 from pkgsrc on NetBSD/sparc64. It built
and the resulting guile worked. I ran 'gmake check' and it seemed to run fine.
Totals for this test run:
passes: 11862
failures: 0
unexpected passes: 0
expected failures: 25
unresolved test cases: 12
untested test cases: 0
unsupported test cases: 11
errors: 0
PASS: check-guile
==================
All 1 tests passed
==================
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: guile 1.8.3 fails to build on sparc
2008-01-29 22:48 ` Neil Jerram
2008-01-31 21:17 ` Greg Troxel
@ 2008-02-01 9:42 ` Ludovic Courtès
2008-02-07 21:53 ` Ludovic Courtès
2 siblings, 0 replies; 11+ messages in thread
From: Ludovic Courtès @ 2008-02-01 9:42 UTC (permalink / raw)
To: guile-devel
Hi,
Neil Jerram <neil@ossau.uklinux.net> writes:
> Kamaraju S Kusumanchi <kamaraju@bluebottle.com> writes:
>
>> I don't have access to sparc machine to probe into this problem. Can someone
>> look at
>> http://buildd.debian.org/fetch.cgi?pkg=guile-1.8;ver=1.8.3%2B1-1;arch=sparc;stamp=1195798674
>> and see why guile-1.8-libs fails to build on a sparc machine?
>
> Sorry this response is so delayed. Seems to be a GC issue:
>
> FAIL: gc.test: gc: Unused modules are removed
>
> I'll take a look.
FWIW, I have a sparc64 box and I noticed the problem long ago but was
essentially too lazy to fix it (I seem to recall that I blamed the test
case back then ;-)).
I'm pretty sure it's a boring problem, like a dangling reference to a
module kept on the stack. I'll try to look into it.
Thanks,
Ludovic.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: guile 1.8.3 fails to build on sparc
2008-01-29 22:48 ` Neil Jerram
2008-01-31 21:17 ` Greg Troxel
2008-02-01 9:42 ` Ludovic Courtès
@ 2008-02-07 21:53 ` Ludovic Courtès
2008-02-07 22:01 ` Ludovic Courtès
2 siblings, 1 reply; 11+ messages in thread
From: Ludovic Courtès @ 2008-02-07 21:53 UTC (permalink / raw)
To: guile-devel; +Cc: rlb
Hi,
Neil Jerram <neil@ossau.uklinux.net> writes:
> Kamaraju S Kusumanchi <kamaraju@bluebottle.com> writes:
>
>> I don't have access to sparc machine to probe into this problem. Can someone
>> look at
>> http://buildd.debian.org/fetch.cgi?pkg=guile-1.8;ver=1.8.3%2B1-1;arch=sparc;stamp=1195798674
>> and see why guile-1.8-libs fails to build on a sparc machine?
>
> Sorry this response is so delayed. Seems to be a GC issue:
>
> FAIL: gc.test: gc: Unused modules are removed
This indeed looks like a reference to a single module is kept somewhere,
e.g., in an area of the stack that was not overwritten by subsequent
calls, leading to the wrong object count.
Adding a function call right before the first `(gc)' sometimes fixes the
problem, sometimes not. The attached snippet reliably fixes the problem
on my GNU/Linux sparc64 box, though.
Rob: Would it be possible for you to try out this patch on one of the
Debian SPARC machines?
Thanks in advance,
Ludovic.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: guile 1.8.3 fails to build on sparc
2008-02-07 21:53 ` Ludovic Courtès
@ 2008-02-07 22:01 ` Ludovic Courtès
2012-01-21 19:25 ` Rob Browning
0 siblings, 1 reply; 11+ messages in thread
From: Ludovic Courtès @ 2008-02-07 22:01 UTC (permalink / raw)
To: guile-devel
[-- Attachment #1: Type: text/plain, Size: 179 bytes --]
Hi,
ludo@gnu.org (Ludovic Courtès) writes:
> Rob: Would it be possible for you to try out this patch on one of the
> Debian SPARC machines?
And here's the patch. ;-)
Ludo'.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: ,,gc.diff --]
[-- Type: text/x-patch, Size: 722 bytes --]
Index: test-suite/tests/gc.test
===================================================================
RCS file: /cvsroot/guile/guile/guile-core/test-suite/tests/gc.test,v
retrieving revision 1.8
diff -u -r1.8 gc.test
--- test-suite/tests/gc.test 16 Apr 2006 23:27:14 -0000 1.8
+++ test-suite/tests/gc.test 7 Feb 2008 21:42:47 -0000
@@ -65,6 +65,10 @@
"eval-closure" (gc-live-object-stats)))))
(for-each (lambda (x) (make-module)) (iota 1000))
+ (let cleanup ((i 10))
+ (and (> i 0)
+ (begin (cleanup (1- i)) i)))
+
(gc)
(gc) ;; twice: have to kill the weak vectors.
(= last-count (cdr (assoc "eval-closure" (gc-live-object-stats)))))
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2012-01-27 21:47 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-27 16:35 guile 1.8.3 fails to build on sparc Kamaraju S Kusumanchi
2007-12-01 17:20 ` Kamaraju S Kusumanchi
2008-01-29 22:52 ` Neil Jerram
2008-02-02 5:33 ` Kamaraju S Kusumanchi
2008-01-29 22:48 ` Neil Jerram
2008-01-31 21:17 ` Greg Troxel
2008-02-01 9:42 ` Ludovic Courtès
2008-02-07 21:53 ` Ludovic Courtès
2008-02-07 22:01 ` Ludovic Courtès
2012-01-21 19:25 ` Rob Browning
2012-01-27 21:47 ` Ludovic Courtès
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).