GNU bug report logs - #10518
Failing compile of guile-2.0.3.157-1bd9a on Solaris 9 Sparc

Previous Next

Package: guile;

Reported by: Dagobert Michelsen <dam <at> opencsw.org>

Date: Sun, 15 Jan 2012 21:56:02 UTC

Severity: normal

Done: Andy Wingo <wingo <at> pobox.com>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 10518-done <at> debbugs.gnu.org (full text, mbox):

From: Andy Wingo <wingo <at> pobox.com>
To: Dagobert Michelsen <dam <at> opencsw.org>
Cc: 10518-done <at> debbugs.gnu.org
Subject: Re: bug#10518: Failing compile of guile-2.0.3.157-1bd9a on Solaris 9
	Sparc
Date: Fri, 03 Feb 2012 14:11:27 +0100
On Sun 15 Jan 2012 22:53, Dagobert Michelsen <dam <at> opencsw.org> writes:

> I am currently trying to compile the "call-for-testers" guile-2.0.3.157-1bd9a on
> Solaris 9 Sparc with Sun Studio 12 and get a compilation error:

Thanks for giving it a try!  It's a bit embarassing that this didn't
work, but I did track down the issue today.

Some parts of Guile want byte arrays aligned on 8-byte boundaries.  We
use __attribute__((aligned(8))) on GCC to do that.  Probably your
compiler has something similar; it would be great if you could
contribute a patch to libguile/__scm.h to define SCM_ALIGNED there.

We do have a fallback that involves mallocing a buffer, and copying the
unaligned buffer into the malloc'd buffer.  That code was not working in
a couple of cases.  I think I have fixed it; at least, I tried it out
locally, and it worked for me.

Thanks for the report,

Andy
-- 
http://wingolog.org/




This bug report was last modified 13 years and 105 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.