unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* 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
  2007-12-01 17:20 ` Kamaraju S Kusumanchi
@ 2008-01-29 22:52   ` Neil Jerram
  2008-02-02  5:33     ` Kamaraju S Kusumanchi
  0 siblings, 1 reply; 11+ messages in thread
From: Neil Jerram @ 2008-01-29 22:52 UTC (permalink / raw)
  To: Kamaraju S Kusumanchi; +Cc: guile-devel

Kamaraju S Kusumanchi <kamaraju@bluebottle.com> writes:

> 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

And this one is strange:

Running r4rs.test
ERROR: Wrong type to apply: (#0# . #0#)
FAIL: check-guile

No idea right now, but will investigate...  Is it possible to use
buildd for exploratory tests - I'm guessing not.  Does someone have an
alpha box, and if so can you reproduce this problem with Guile 1.8.3?

    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:52   ` Neil Jerram
@ 2008-02-02  5:33     ` Kamaraju S Kusumanchi
  0 siblings, 0 replies; 11+ messages in thread
From: Kamaraju S Kusumanchi @ 2008-02-02  5:33 UTC (permalink / raw)
  To: guile-devel

<posted & mailed>

Neil Jerram wrote:

> Is it possible to use
> buildd for exploratory tests - I'm guessing not.  Does someone have an
> alpha box, and if so can you reproduce this problem with Guile 1.8.3?
> 

AFAIK, only debian developers get access to the buildd machines. If you know
of any debian developer then you can ask them for an account.

raju
-- 
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/





^ 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

* Re: guile 1.8.3 fails to build on sparc
  2008-02-07 22:01     ` Ludovic Courtès
@ 2012-01-21 19:25       ` Rob Browning
  2012-01-27 21:47         ` Ludovic Courtès
  0 siblings, 1 reply; 11+ messages in thread
From: Rob Browning @ 2012-01-21 19:25 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guile-devel

ludo@gnu.org (Ludovic Courtès) writes:

> 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.  ;-)

It looks like that doesn't fix the problem -- it failed on ia64 this
time:

  https://buildd.debian.org/status/fetch.php?pkg=guile-1.8&arch=ia64&ver=1.8.8%2B1-7&stamp=1323288478

The bug also appears to affect Guile 2.0 on kfreebsd-i386, s390, and
perhaps others (some archs won't build 2.0 at all yet) see the "last
log" links here:

  https://buildd.debian.org/status/package.php?p=guile-2.0&suite=sid

i.e., for the gc.test problem on kfreebsd-i386 and s390:

  https://buildd.debian.org/status/fetch.php?pkg=guile-2.0&arch=kfreebsd-i386&ver=2.0.3%2B1-2&stamp=1322025585
  https://buildd.debian.org/status/fetch.php?pkg=guile-2.0&arch=s390&ver=2.0.3%2B1-2&stamp=1322025002

Anything else I might try?

Thanks
-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: guile 1.8.3 fails to build on sparc
  2012-01-21 19:25       ` Rob Browning
@ 2012-01-27 21:47         ` Ludovic Courtès
  0 siblings, 0 replies; 11+ messages in thread
From: Ludovic Courtès @ 2012-01-27 21:47 UTC (permalink / raw)
  To: Rob Browning; +Cc: guile-devel

Hi Rob,

“Unused modules are removed” and similar tests seem to depend on the
direction of the wind, unfortunately.  So for now you can safely ignore
them, by adding (throw 'unresolved), or commenting them out.

I’m afraid we cannot do much better on our side.  :-/

Thanks,
Ludo’.



^ 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).