unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Andy Wingo <wingo@pobox.com>
To: Dagobert Michelsen <dam@opencsw.org>
Cc: 10518-done@debbugs.gnu.org
Subject: bug#10518: Failing compile of guile-2.0.3.157-1bd9a on Solaris 9 Sparc
Date: Fri, 03 Feb 2012 14:11:27 +0100	[thread overview]
Message-ID: <87y5skjc3k.fsf@pobox.com> (raw)
In-Reply-To: <7CDBF280-606E-4CEC-8CC6-C6E6CE3F97D1@opencsw.org> (Dagobert Michelsen's message of "Sun, 15 Jan 2012 22:53:53 +0100")

On Sun 15 Jan 2012 22:53, Dagobert Michelsen <dam@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/





      reply	other threads:[~2012-02-03 13:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-15 21:53 bug#10518: Failing compile of guile-2.0.3.157-1bd9a on Solaris 9 Sparc Dagobert Michelsen
2012-02-03 13:11 ` Andy Wingo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y5skjc3k.fsf@pobox.com \
    --to=wingo@pobox.com \
    --cc=10518-done@debbugs.gnu.org \
    --cc=dam@opencsw.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).